Skip to content

fix: surface docker compose up failures in devtui#1042

Merged
Soner (shyim) merged 1 commit into
nextfrom
fix/devtui-docker-start-error-visible
May 21, 2026
Merged

fix: surface docker compose up failures in devtui#1042
Soner (shyim) merged 1 commit into
nextfrom
fix/devtui-docker-start-error-visible

Conversation

@shyim
Copy link
Copy Markdown
Member

Summary

  • When docker compose up -d failed in devtui, the user was stuck on the spinning "Starting Docker containers..." screen with no error info. The captured stderr and Failed: … line were appended to overlayLines but only rendered when dockerShowLogs was true, which required pressing l.
  • Force dockerShowLogs = true on the error path in updateLifecycle so the docker output and error message are visible immediately.

Test plan

  • go test ./internal/devtui/
  • Added assertion in TestUpdateLifecycle_DockerStarted_ErrorStaysAndRendersError that dockerShowLogs is true after an error

When `docker compose up -d` fails, the captured stderr and "Failed:"
message were appended to overlay lines but the view kept rendering the
spinning "Starting Docker containers..." card, leaving the user stuck
without any error information until they pressed `l`. Force the logs
view on when the start command errors so the output is visible
immediately.
@shyim Soner (shyim) merged commit 6e3b2a6 into next May 21, 2026
2 checks passed
@shyim Soner (shyim) deleted the fix/devtui-docker-start-error-visible branch May 21, 2026 06:48
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