Skip to content

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

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

First of two changes toward showing what is happening at least every 10 seconds during long steps, above all the initial build of an app. This one is web-only and uses data the hub already sends.

What changed

  • apps/web/src/pages/workspace/setup-progress.ts: setupProgressLine turns a run's RunProgress (files written, the last file, when it last did anything) 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, with the quiet time ticking 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.

Why

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. Nothing on the page said so.

How it was verified

  • tsc --noEmit -p apps/web passes.
  • bun --conditions=intx-src test apps/web/src/pages/workspace passes (23 tests, 3 new).
  • oxlint --deny-warnings and Prettier pass on the changed files.

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: Fail

@brianjfox, please address the following:

  • required checks are failing: format:check
  • pull request does not reference an issue

Triage will comment, close.

@corbits-triage

corbits-triage Bot commented Nov 2, 2026

Copy link
Copy Markdown

Open an issue for this change first, then a pull request that links it.

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