Skip to content

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

Closed
brianjfox wants to merge 1 commit into
mainfrom
feat/first-build-progress
Closed

brianjfox wants to merge 1 commit into
mainfrom
feat/first-build-progress

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 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Triage requests changes:

  • CI green: required checks are failing
    • format:check

@brianjfox

Copy link
Copy Markdown
Contributor Author

Opened against the old branch by mistake; replaced by a pull request from branch feat/first-build-progress-main.

@brianjfox brianjfox closed this Nov 2, 2026
@brianjfox
brianjfox deleted the feat/first-build-progress branch November 4, 2026 10:16
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