Skip to content

fix(workspace): show Docker build progress without default timeouts - #1175

Open
crispinhu27 wants to merge 1 commit into
mainfrom
feature/docker-build-progress
Open

crispinhu27 wants to merge 1 commit into
mainfrom
feature/docker-build-progress

Conversation

@crispinhu27

Copy link
Copy Markdown
Collaborator

What changed

  • Show the active Dockerfile step and final build status in the conversation. Progress flows from connected runners and through platform handovers.
  • Let quiet Docker builds continue by default. Operators can configure stall and total limits with the existing Docker build settings.
  • Tie Runner conversation workspace preparation to the conversation request. Stopping the turn or losing the Runner connection cancels preparation.

Scope

  • Platform core / API / runner
  • Shared behavior contract

Compatibility

Ship the platform and connected Runner together so workspace preparation can receive cancellation. Existing explicit Docker build limits still apply.

Validation

  • bash scripts/build-chatbot.sh built the frontend and passed 464 tests.
  • go test -p=2 ./internal/httpapi ./internal/runner ./internal/runtime ./internal/engine -run 'Test(RunnerWorkspace|RunnerConversationWorkspace|ConversationWorkspace|DockerBuild)' -count=1 -timeout=120s and go test ./internal/procwatch -count=1 -timeout=120s passed in local Docker.
  • python3 scripts/check-public.py and git diff --check passed.
  • Before syncing with current main, a cold workspace image built through a local connected Runner with a cached Node base image and a deterministic test CLI. One Dockerfile step downloaded a 61.5 MiB Go SDK at about 64 KiB/s for 16m 20s. The conversation still showed that step at 10m 10s and 15m 10s. BuildKit exported the image after 16m 35s. The resulting workspace ran go version and executed the compiled test program.

Safety

  • Reviewed the public diff for credentials, internal endpoints, production data, and organization-specific infrastructure.
  • Scoped the commit to workspace build progress and cancellation.

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