Repository navigation
feat(web): show the first build's progress while the app pane waits - #103
Merged
Merged
Conversation
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".
|
Triage: Pass No changes needed from you. A maintainer will review this pull request. Triage will approve, request review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:setupProgressLineturns a run'sRunProgressinto one line, "12 files written · last: routines · 20 s ago", or "No files written yet · last activity 45 s ago" before the first write.agoreads 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:fileLabelis 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.tscovers the line and the time wording.Replaces #69, which was closed before it linked its issue.