Skip to content

Synchronize realtime notification test requests#28946

Merged
rka-oai merged 1 commit into
mainfrom
codex/synchronize-realtime-notification-test
Jun 18, 2026
Merged

Synchronize realtime notification test requests#28946
rka-oai merged 1 commit into
mainfrom
codex/synchronize-realtime-notification-test

Conversation

@rka-oai

@rka-oai rka-oai commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Deliver the scripted realtime notification batch after the assistant text append request instead of after the preceding developer text append request.

Why

The batch ends with an upstream error that closes the realtime conversation. When it is emitted after the developer append, it races the subsequent assistant append: the app-server RPC can acknowledge the append before its downstream WebSocket send completes, and the test intermittently observes three requests instead of four.

Making the fake server wait for the assistant append before emitting the terminal batch establishes the ordering the test asserts without sleeps or production-code changes.

Validation

  • git diff --check
  • CI (the failure is timing-dependent and most reproducible in the Windows Bazel shard)

@anp-oai anp-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems innocuous as long as CI is happy

@rka-oai rka-oai enabled auto-merge (squash) June 18, 2026 18:03
@rka-oai rka-oai merged commit 636a259 into main Jun 18, 2026
32 of 33 checks passed
@rka-oai rka-oai deleted the codex/synchronize-realtime-notification-test branch June 18, 2026 18:05
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants