Skip to content

Prevent launch picker flash during agent startup - #867

Merged
mariusvniekerk merged 5 commits into
mainfrom
t3code/fix-workspace-modal-flash
Aug 10, 2026
Merged

Prevent launch picker flash during agent startup#867
mariusvniekerk merged 5 commits into
mainfrom
t3code/fix-workspace-modal-flash

Conversation

@mariusvniekerk

@mariusvniekerk mariusvniekerk commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Carry the selected agent target from item-scoped create admission through atomic workspace-ID promotion.
  • Keep the automatic “Launch a session” picker out of the DOM for the entire create-and-launch sequence.
  • Preserve plain-create auto-open and manually used launcher retry behavior across PR, issue, and Kata workspaces.

generated by a clanker

@roborev-ci

roborev-ci Bot commented Aug 9, 2026

Copy link
Copy Markdown

roborev: Combined Review (2e8ce7a)

No issues found.


Reviewers: 2 done | Synthesis: codex | Total: 1m45s

@roborev-ci

roborev-ci Bot commented Aug 9, 2026

Copy link
Copy Markdown

roborev: Combined Review (88e5898)

No issues found.


Reviewers: 2 done | Synthesis: codex | Total: 2m59s

@roborev-ci

roborev-ci Bot commented Aug 10, 2026

Copy link
Copy Markdown

roborev: Combined Review (0f1555e)

No issues found.


Reviewers: 2 done | Synthesis: codex | Total: 5m39s

mariusvniekerk and others added 5 commits August 9, 2026 22:48
A PR create-and-launch can expose an empty ready runtime before the selected agent intent reaches the embedded workspace view. If the fallback launcher has already mounted, leaving it open until the session appears shows a redundant choice after the user already chose an agent.\n\nRetract only an automatically opened fallback when a queued explicit launch becomes pending. Manual launchers remain open across failures so their retry behavior is unchanged.\n\nValidation: WorkspaceTerminalView unit suite (122 tests), isolated create-and-launch Playwright flow in Chromium and Firefox, frontend type checks, Effect diagnostics, lint, formatting, and context-sync.

Generated with Codex (gpt-5.6-sol)
Co-authored-by: Codex <noreply@openai.com>
The UTC maintainer flow treated an optimistic button swap as proof that the provider state mutation had settled. Under CI load, its direct API read could overtake the POST and observe the previous state, alternating between close and reopen failures across retries.

Wait for the exact successful state response before checking persisted PR or issue data, while retaining the UI assertions for presentation behavior.

Validation: focused Chromium issue flow passed 10 consecutive runs; full UTC Playwright spec passed 6/6 across Chromium and Firefox; full frontend unit suite passed 3,887 tests with 2 expected skips.

Generated with Codex (gpt-5.6-sol)
Co-authored-by: Codex <noreply@openai.com>
Selecting an agent during workspace creation must be one uninterrupted intent: the automatic launcher cannot become visible between workspace publication and agent startup. Capturing the approved design before implementation makes the never-mounted contract, failure recovery, and verification boundary explicit.

This design is transient and will be removed after its durable contracts are implemented and captured in the existing context documentation.

Generated with Codex (gpt-5.6-sol)
Co-authored-by: Codex <noreply@openai.com>
kenn-forge context validation deliberately forbids retaining implementation design specs under docs/superpowers. Remove the transient design from the tracked tree so internal planning cannot enter documentation staging; the approved contract remains in the local ignored task workspace until implementation promotes only durable invariants.

Generated with Codex (gpt-5.6-sol)
Co-authored-by: Codex <noreply@openai.com>
Selecting an agent while creating a workspace is one accepted command, but the earlier fallback could still mount before the workspace-scoped launch queue became authoritative. That made a redundant picker observable even though the user had already chosen an agent.

Carry the target from item-scoped admission through workspace-ID promotion and gate only automatic launcher rendering. Plain creation still gets its empty-workspace picker, while manually used launchers keep their retry behavior.

Validation: full frontend unit suite (3,889 passed, 2 skipped); full create-and-launch Playwright spec (8 passed across Chromium and Firefox); frontend checks; repository lint; context-sync.

Generated with Codex (gpt-5.6-sol)
Co-authored-by: Codex <noreply@openai.com>
@mariusvniekerk
mariusvniekerk force-pushed the t3code/fix-workspace-modal-flash branch from 0f1555e to ee97df7 Compare August 10, 2026 02:52
@mariusvniekerk
mariusvniekerk merged commit 1e5b31e into main Aug 10, 2026
3 checks passed
@mariusvniekerk
mariusvniekerk deleted the t3code/fix-workspace-modal-flash branch August 10, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant