Skip to content

feat(web): show the first build's progress while the app pane waits - #103

Merged
brianjfox merged 1 commit into
mainfrom
feat/first-build-progress-main
Nov 2, 2026
Merged

brianjfox merged 1 commit into
mainfrom
feat/first-build-progress-main

Conversation

@brianjfox

Copy link
Copy Markdown
Contributor

What

Shows the first build's progress in the app pane while it waits: how many files the coder has written, the last of them, and how long since anything happened.

Why

Part of #68: the first of two changes toward showing what is happening at least every 10 seconds during long steps. During the first build the app pane said only "The app builder is setting up your app…" with an elapsed clock, for over 40 minutes on 2026-11-02, while the coder was writing a file every 20 to 30 seconds. The hub already sends the run's progress; the page did not show it.

Changes

  • apps/web/src/pages/workspace/setup-progress.ts: setupProgressLine turns a run's RunProgress into one line, "12 files written · last: routines · 20 s ago", or "No files written yet · last activity 45 s ago" before the first write. ago reads in seconds under two minutes, then minutes.
  • apps/web/src/pages/workspace/live-app.tsx: the setup pane shows that line under the activity phrase. The quiet time ticks every second on the existing elapsed-time hook, so the pane changes every second even while one long step says nothing.
  • apps/web/src/pages/workspace/agent-activity.tsx: fileLabel is exported so the last file reads in the same plain words the activity strip uses.
  • apps/web/src/config.ts: the wording.
  • setup-progress.test.ts covers the line and the time wording.

Replaces #69, which was closed before it linked its issue.

During the first build the app pane said only "setting up your app" with
an elapsed clock, for as long as it took the app to start serving, while
the coder wrote a file every half minute. The hub already reports each
run's progress: files written, the last of them, and when it last did
anything.

Show that under the activity line as "12 files written · last: routines
· 20 s ago", with the quiet time ticking every second, so the pane moves
even while one long step says nothing. Before the first write it reads
"No files written yet · last activity 45 s ago".
@corbits-triage

corbits-triage Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

Triage will approve, request review.

@brianjfox
brianjfox added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 7b8f744 Nov 2, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant