-
Notifications
You must be signed in to change notification settings - Fork 887
feat(agent): send devcontainer CLI logs during recreate #17845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
We need a way to surface what's happening to the user, since autostart logs here, it's natural we do so during re-create as well. Updates #16424
e8e84e7
to
f144a03
Compare
…tart script This fixes startup issues when the user shell is set to Fish. Refs: #17845
for _, script := range scripts { | ||
// The devcontainer scripts match the devcontainer ID for | ||
// identification. | ||
if script.ID == devcontainer.ID { | ||
api.devcontainerLogSourceIDs[devcontainer.WorkspaceFolder] = script.LogSourceID | ||
break |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we warn if there are scripts that do not match up with any devcontainer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose it would be an error rather than warn, this is an expectation coming from the provisioner currently.
Added.
08509b4
to
d9cd988
Compare
We need a way to surface what's happening to the user, since autostart
logs here, it's natural we do so during re-create as well.
Updates #16424