Repository navigation
test: contract versions, read-only Codex child and remote thread list after #2378 and #2379 - #2394
Merged
Merged
Conversation
… a bot's remote thread list stubs the computer's status
…vers off, and run read-only on another computer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The nightly's full test suite fails on three tests that two recent merges changed behavior under without updating:
tests/contractVersions.test.tslists the run database at 32. feat(agents): the other computer decides what agents may do there, read-only subagents run on another computer, Full control skips folder rules #2379 added migration 33,remote_subagents.read_only, and called the bump out in its description.tests/run/codexAdapter.test.ts, "runs a read-only child read-only…". Since feat(agents): the other computer decides what agents may do there, read-only subagents run on another computer, Full control skips folder rules #2379, a read-only Codex child first reads the user's Codex setup withconfig/readto switch their MCP servers off. The test's replay had noconfig/read, so the turn was refused.tests/run/botThreadParity.test.ts, "reaches a computer that lets agents work there…". feat(net): the service's parts read each computer's one status #2378 replaced the computer reach'sonline: booleanwithstatus. The test's stub, behind a cast, still saidonline: true, sothread_listtreated the computer as offline.docs/run-engine/SPEC.mdalso still said a read-only subagent runs only on this computer, and that any enabled user MCP server blocks a read-only Codex subagent.Change
config/readwith no MCP servers; the later request ids move by one.status: 'online'. The test now also checks that the listed text contains the remote thread, not only the framing header.threads.createversion 7 refuses it withupdate_needed.Verification
tests/contractVersions.test.ts,tests/run/codexAdapter.test.tsandtests/run/botThreadParity.test.tspass on macOS; all three failed on master.