fix(startup): quiet noisy Coder workspace startup logs - #192
Merged
Conversation
`ddev utility download-images` was run unredirected in all three templates. Since it's not a TTY, Docker's pull progress prints a new line per layer per tick instead of updating in place -- this alone accounted for 95% of a real workspace's startup log (4219 of 4426 lines), much of it landing at [error] level since Docker writes progress to stderr. Redirect it to a log file and print a one-line summary (or the log tail on failure) instead. Also silence Node's per-extension deprecation warnings during VS Code Web's extension install step via NODE_NO_WARNINGS=1 in each coder_agent env block. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.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 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.
Summary
ddev utility download-imagesran unredirected in all three templates; since it's not a TTY, Docker's pull progress prints a new line per layer per tick instead of updating in place. In a real workspace this accounted for 4219 of 4426 startup log lines (95%), much of it at[error]level since Docker writes progress to stderr. Now redirected to/tmp/ddev-download-images.logwith a one-line success/timing summary (or a log tail on failure).NODE_NO_WARNINGS=1to eachcoder_agentenv block to silence Node's per-extension deprecation warnings during VS Code Web's extension install step.ff2workspace's build log — confirmed deployed and working.Test plan
terraform fmt -recursivemake validatemake test-templates(35 passed, 0 failed)🤖 Generated with Claude Code