Skip to content

test(golden): add subagent and v2 replay transcript goldens - #222

Merged
PsiACE merged 1 commit into
mainfrom
test/port-ts-rust-golden-tests
Nov 30, 2026
Merged

PsiACE merged 1 commit into
mainfrom
test/port-ts-rust-golden-tests

Conversation

@PsiACE

@PsiACE PsiACE commented Nov 30, 2026

Copy link
Copy Markdown
Member

Adds wire golden fixtures and end-to-end transcript checks for subagent updates and ACP v2 session replay.

Summary

  • Add tests/golden/session_update_subagent_update.json and v1/v2 SessionNotification / UpdateSessionNotification round-trip assertions in tests/test_golden.py, verifying that parent and child sessionId fields remain distinct on the wire and after decoding.
  • Add tests/golden/v2/resume_replay_transcript.json and test_v2_resume_replay_transcript_golden in tests/test_v2_runtime.py, verifying parent/child history ordering, per-session replay_complete markers, empty-history replay, plain resume without replay_from, and -32602 rejection for unsupported custom cursors.

Verification

  • make gen-check
  • make check
  • make test (625 passed, 1 skipped, 0 warnings)

@PsiACE
PsiACE merged commit 1f7f18f into main Nov 30, 2026
9 checks passed
@PsiACE
PsiACE deleted the test/port-ts-rust-golden-tests branch November 30, 2026 09:54
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