Skip to content

Wait for the final current-agents diagnostic in the pagination test - #17

Closed
friel-openai wants to merge 1 commit into
mainfrom
frodex/fix-current-agents-diagnostic-race
Closed

friel-openai wants to merge 1 commit into
mainfrom
frodex/fix-current-agents-diagnostic-race

Conversation

@friel-openai

Copy link
Copy Markdown
Owner

The pagination test can receive the final stdout response before its stderr reader has recorded the last diagnostic. On post-merge main CI, all four pages returned successfully, but the test saw only three diagnostic records. The same test passed on the identical PR #16 tree. PR #16 did not change the test or its diagnostic producer.

thread_list_relation_paginates_app_members_and_matches_list_agents now waits for the same root thread’s five-member final-page diagnostic before counting stderr records. It still requires exactly four diagnostics and all existing fields, and verifies the ordered page counts 7, 7, 7, 5. No production behavior changes.

Validation: retained hosted failure; the exact corrected test passed once in a loopback-only sandbox with unchanged app-server and exec-server binaries. Native public-source replay reproduced the tested tree and preserved the 977-case selector.

Codex Task: codex://threads/01a029f4-9863-7523-be3e-864bebe4187a
-frielbot

The fourth thread/list response can reach the test before its stderr diagnostic. Wait for that diagnostic before asserting the complete sequence.
@friel-openai friel-openai added codex-app-server App server request handling and thread history flake Intermittent test failure fix-it-friel Flake or unrelated CI fix owned by friel labels Nov 9, 2026
@friel-openai

Copy link
Copy Markdown
Owner Author

Superseded by Frodex integration commit 9606c67511610cb51b570cf240ddc639b38af5a9, which preserves both original commits. The original branch and CI records are retained.

Codex Task: codex://threads/01a029f4-9863-7523-be3e-864bebe4187a

-frielbot

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

Labels

codex-app-server App server request handling and thread history fix-it-friel Flake or unrelated CI fix owned by friel flake Intermittent test failure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant