This repository was archived by the owner on Apr 4, 2023. It is now read-only.
fix: edit command when entrypoint is tweaked#1343
Open
dkwon17 wants to merge 2 commits intoeclipse-che:mainfrom
Open
fix: edit command when entrypoint is tweaked#1343dkwon17 wants to merge 2 commits intoeclipse-che:mainfrom
dkwon17 wants to merge 2 commits intoeclipse-che:mainfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1343 +/- ##
==========================================
+ Coverage 32.78% 36.75% +3.96%
==========================================
Files 290 330 +40
Lines 9885 11334 +1449
Branches 1457 1568 +111
==========================================
+ Hits 3241 4166 +925
- Misses 6641 7163 +522
- Partials 3 5 +2
Continue to review full report at Codecov.
|
Signed-off-by: David Kwon <dakwon@redhat.com>
benoitf
approved these changes
May 3, 2022
Signed-off-by: David Kwon <dakwon@redhat.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Signed-off-by: David Kwon dakwon@redhat.com
What does this PR do?
When starting a workspace with devfilev2 with che-theia, the entrypoint (the
argsattribute) of the dev container component is modified if vscode extensions are present. If the dev container has acommandattribute, the container may fail to run, and the workspace Pod would terminate with a CrashLoopBackOff error.To reproduce the error, go to
CHEHOST#https://github.com/eclipse-che/che-theia. The v1->v2 conversion library successfully converts the devfilev1 to devfilev2, but since we have acommanddefined in the dev container:che-theia/devfile.yaml
Lines 7 to 10 in 39511b7
Screenshot/screencast of this PR
What issues does this PR fix or reference?
Explained in
What does this PR do?How to test this PR?
Sorry, I'm having some trouble with creating the dashboard image. I will add it here if I can get it working.
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or referenceandHow to test this PRcompletedReviewers
Reviewers, please comment how you tested the PR when approving it.
Happy Path Channel
HAPPY_PATH_CHANNEL=stable