You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Terminal run code-server --install-extension non.existing-extension && echo "Exit code: " "$?"
Wait for the command to finish and check the output.
Expected
At the end of the output it should read:
Exit code: 1
Or any other non 0 appropriate exit code.
Actual
At the end of the output it reads:
Exit code: 1
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
I cannot reproduce this in VS Code.
I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
I am using HTTPS.
Notes
As part of a pipeline, I have a script that install some extensions using code-server --install-extension, whenever one of the installed extensions fails I expect the whole script to fail, cascading to the pipeline fail so I can take action.
Instead, as it is returning 0 even when the task is failing, the build finishes with a false success.