Skip to content

Fix stale WATCH_LINE, NativePiUnavailable, and ItemStream.receive test usages - #5300

Merged
trissim merged 1 commit into
mainfrom
fix/stale-codex-and-transcript-test-imports
Nov 28, 2026
Merged

trissim merged 1 commit into
mainfrom
fix/stale-codex-and-transcript-test-imports

Conversation

@trissim

@trissim trissim commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Fixes 4 pre-existing origin/main test failures surfaced during Wave 5 verification:

  • tests/test_codex_earlier_pages.py:9 & tests/test_native_unknown_recovery.py:17: replace removed WATCH_LINE import from cli_protocol with WireModel.adapter(WatchLine.declared_union()) (matching tests/test_cli_error_family.py:24).
  • tests/test_outbound_transcript_source.py:20: import NativePiUnavailable from its actual owner agent_comms.execution.native_failures instead of transcript_sources.
  • tests/test_codex_items.py:103,161,241: consume the single RuntimeUpdate | None returned by ItemStream.receive (codex_protocol.py:993) instead of iterating/unpacking it as a tuple.

Verification

  • test_codex_items.py, test_codex_earlier_pages.py, test_outbound_transcript_source.py, test_native_unknown_recovery.py: 45 passed in 70.48s, REL_IMPORTS=0.

@trissim
trissim merged commit 704c111 into main Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant