Fix TUI structured spawn attachment race #187

Closed
opened 2026-09-05 07:53:27 +01:00 by naps62-yolo · 0 comments
Collaborator

Blocks #143. submit_spawn discards the returned session view and attach re-reads the asynchronously updated catalog. Before SessionAdded arrives, the missing entry defaults to Terminal and opens a blank PTY connection that is never corrected. Pass the returned SessionView into attachment or reconcile the connection type when the catalog resolves. Add an end-to-end create-to-first-render regression test.

Blocks #143. `submit_spawn` discards the returned session view and attach re-reads the asynchronously updated catalog. Before SessionAdded arrives, the missing entry defaults to Terminal and opens a blank PTY connection that is never corrected. Pass the returned SessionView into attachment or reconcile the connection type when the catalog resolves. Add an end-to-end create-to-first-render regression test.
naps62-yolo added this to the Structured view milestone 2026-09-05 07:53:27 +01:00
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: naps62/maestro#187