mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(agent/agentcontainer): allow lifecycle script error on devcontainer up (#21020)
When devcontainer up fails due to a lifecycle script error like postCreateCommand, the CLI still returns a container ID. Previously this was discarded and the devcontainer marked as failed. Now we continue with agent injection if a container ID is available, allowing users to debug the issue in the running container. Fixes coder/internal#1137
This commit is contained in:
Generated
Vendored
+147
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user