Skip to content

fix(startup): quiet noisy Coder workspace startup logs - #192

Merged
rfay merged 1 commit into
mainfrom
20260730_rfay_less_noise
Jul 30, 2026
Merged

fix(startup): quiet noisy Coder workspace startup logs#192
rfay merged 1 commit into
mainfrom
20260730_rfay_less_noise

Conversation

@rfay

@rfay rfay commented Jul 30, 2026

Copy link
Copy Markdown
Member

Summary

  • ddev utility download-images ran 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.log with a one-line success/timing summary (or a log tail on failure).
  • Added NODE_NO_WARNINGS=1 to each coder_agent env block to silence Node's per-extension deprecation warnings during VS Code Web's extension install step.
  • Verified against a real ff2 workspace's build log — confirmed deployed and working.

Test plan

  • terraform fmt -recursive
  • make validate
  • make test-templates (35 passed, 0 failed)
  • Verified reduced noise on a live workspace (ff2, staging-coder.ddev.com)

🤖 Generated with Claude Code

`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>
@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-30 21:22 UTC

@rfay
rfay merged commit ef5564a into main Jul 30, 2026
16 checks passed
@rfay
rfay deleted the 20260730_rfay_less_noise branch July 30, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant