Skip to content

Wait for team saves and typing stream cleanup in browser fixtures - #116

Merged
chrisbbreuer merged 2 commits into
mainfrom
codex/team-browser-readiness
Nov 29, 2026
Merged

chrisbbreuer merged 2 commits into
mainfrom
codex/team-browser-readiness

Conversation

@chrisbbreuer

@chrisbbreuer chrisbbreuer commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Two separate checks overlapped with asynchronous completion in hosted CI.

  • The team-settings browser fixture waited for the inbox database write, then could try to disable the team while the save response still held its controls disabled. It now waits for the visible saved state and uses the native Stacks browser click helper. The stored-state assertions remain in place.
  • The typing-stream fixture made a replacement request immediately after cancelling four client streams. If the server was still receiving disconnects, the new request returned 429. The fixture now allows a bounded cleanup interval, retries only the typing capacity response, and requires that all four slots can be reused.

A delayed response reproduced the team failure locally and the updated fixture reached both affected database assertions. The hosted team journey passed on the first fix. The updated SQLite typing fixture, app typecheck, and scoped lint passed locally. The complete suite is running for this revision.

Exact main team failure · Hosted typing failure after the team fix

@chrisbbreuer chrisbbreuer changed the title Wait for team settings to finish saving in the browser fixture Wait for team saves and typing stream cleanup in browser fixtures Nov 29, 2026
@chrisbbreuer

Copy link
Copy Markdown
Member Author

A controlled 250 ms delay in releasing native stream capacity reproduced the earlier 429 !== 200 in the original SQLite fixture. With the same delay, the updated fixture reopened all four streams and passed the rest of the typing, authorization, and reply-collision checks. The workspace was restored after the probe. Hosted verification is running for a8851a8.

Hosted application run

@chrisbbreuer
chrisbbreuer merged commit a8851a8 into main Nov 29, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
preview — a8851a8a Deployed Nov 29, 2026 by chrisbbreuer via preview #172
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant