Skip to content

fix(ui): show cloud session startup progress in chat - #130669

Merged
steipete merged 1 commit into
mainfrom
codex/cloud-session-transcript-progress
Aug 27, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/cloud-session-transcript-progress

Conversation

@steipete

@steipete steipete commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where users starting a cloud session saw a separate startup card and a red “Starting…” composer warning during normal provisioning, instead of the transcript progress used for GitHub checkout.

Why This Change Was Made

Remote placement now feeds the existing transcript working indicator and elapsed timer. Startup labels are resolved at the chat boundary, so the renderer works for both placement and admitted-run startup without knowing their lifecycle types. The separate pending card and misleading warning are removed; actual placement failures retain their error and Retry action.

The existing create → dispatch → send ordering, recovery owner, idempotency keys, and model-run cancellation boundary are unchanged. A history-loading failure stays visible without replacing active startup progress. Production LOC: +88/-101 (net -13); tests/support: +106/-74 (net +32); docs: +2.

User Impact

Chat opens as soon as the remote session exists and shows provisioning, workspace preparation, startup, and first-message delivery in the same place and design as GitHub workspace preparation. The composer remains disabled until the initial send is accepted. Normal startup no longer looks like an error, and failures remain actionable.

Evidence

  • Added browser regression failed on the original code because the transcript working indicator was absent; it passes with this change.
  • 27 browser tests passed across cloud dispatch, startup failure/retry, initial history failure, route/reconnect/reload recovery, paired-device dispatch, GitHub project checkout, and history issuance.
  • 697 unit tests passed across chat message rendering, chat view/thread, and placement lifecycle.
  • node scripts/check-changed.mjs passed, including UI type checks, lint, formatting, styles, i18n, and repository guards. git diff --check passed.
  • Exercised the built UI through the normal New Session → Cloud → Start flow in Chrome against a local mock Gateway; transcript progress and composer gating matched the automated proof. This is UI behavior proof, not a live cloud infrastructure provisioning test. No deployment or cloud configuration change is included.
  • Fresh isolated Codex autoreview completed with no actionable findings. Before/after screenshots show the actual built UI in Chrome with sanitized mock session data.

The duplicate composer warning is traceable to #124473 (authored and merged by @steipete, August 16, 2026); this change replaces its visible-startup explanation with the canonical transcript progress.

@steipete steipete self-assigned this Aug 27, 2026
@clawsweeper

clawsweeper Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: M maintainer Maintainer-authored PR labels Aug 27, 2026
@steipete

steipete commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Before/after UI proof using local mock session data (no team-server data or credentials). Both screenshots exercise New Session → Cloud → Start in Chrome against built UI code. The baseline bundle loads the original production modules from b581ff0be723; the after screenshot uses this PR's changes.

Before: custom startup card, empty transcript welcome screen, and red “Starting…” warning during normal provisioning.

Before: duplicate cloud startup surfaces

After: the existing transcript working indicator and elapsed timer; no false composer warning. Genuine startup failure and Retry remain covered by the browser tests.

After: shared transcript startup progress

@steipete
steipete merged commit 8f237b6 into main Aug 27, 2026
124 checks passed
@steipete
steipete deleted the codex/cloud-session-transcript-progress branch August 27, 2026 04:13
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation maintainer Maintainer-authored PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant