Fix Flyin Plugin VSCode download bug#1991
Merged
pingsutw merged 17 commits intoJan 13, 2024
Merged
Conversation
Signed-off-by: Future Outlier <eric901201@gmai.com>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1991 +/- ##
==========================================
+ Coverage 85.73% 85.74% +0.01%
==========================================
Files 313 313
Lines 23455 23492 +37
Branches 3516 3516
==========================================
+ Hits 20109 20144 +35
- Misses 2737 2738 +1
- Partials 609 610 +1 ☔ View full report in Codecov by Sentry. |
eapolinario
reviewed
Nov 27, 2023
| description="This package holds the flyin plugins for flytekit", | ||
| namespace_packages=["flytekitplugins"], | ||
| packages=[f"flytekitplugins.{PLUGIN_NAME}"], | ||
| packages=[f"flytekitplugins.{PLUGIN_NAME}", f"flytekitplugins.{PLUGIN_NAME}.vscode_lib"], |
Collaborator
There was a problem hiding this comment.
now that we have more than one package in this plugin, can we use setuptools find_packages instead of listing them exhaustively here?
Member
Author
There was a problem hiding this comment.
Yes, I can try it!
Member
Author
There was a problem hiding this comment.
update: I will do this in a new PR.
added 2 commits
November 30, 2023 21:16
…nto flyin-code-server-extension_paths-bug-fix Signed-off-by: Future Outlier <eric901201@gmai.com>
added 13 commits
December 20, 2023 22:13
…nto flyin-code-server-extension_paths-bug-fix Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
…yin-code-server-extension_paths-bug-fix
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
pingsutw
approved these changes
Jan 13, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tracking issue
Fixes flyteorg/flyte#4284
Why are the changes needed?
We don't support cases when using default flyin image and we want to install additional extensions.
https://github.com/flyteorg/flytekit/blob/master/plugins/flytekit-flyin/Dockerfile
For example, you use
COPILOT_CONFIG, which include python, jupyter and copilot extensions in the list.The old code will not install the copilot extensions for 2 reasons:
decorator.py, which will skip downloading additional extensions ifcode-serveris executable in the beginningHow was this patch tested?
unit test and in single binary mode.
Setup process
docker buildx build --platform=linux/amd64 -t localhost:30000/flyin-0112:1536 -f DockerfileFlyin_v2 . docker push localhost:30000/flyin-0112:1536 pyflyte run --remote --image localhost:30000/flyin-0112:1536 vscode_task.py wfScreenshots
code-server --list-extensions
Test Screenshot
Check all the applicable boxes
Related PRs
Docs link