Skip to content

rpc: add deterministic question lifecycle traces - #659

Merged
lthibault merged 1 commit into
mainfrom
codex/rpc-question-lifecycle-traces
Jul 27, 2026
Merged

lthibault merged 1 commit into
mainfrom
codex/rpc-question-lifecycle-traces

Conversation

@lthibault

Copy link
Copy Markdown
Collaborator

Summary

  • add deterministic testing/synctest coverage for Return/Finish question-ID retirement and reuse
  • cover cancellation followed by Finish(releaseResultCaps=true) and a late capability-bearing Return
  • cover capability-free noFinishNeeded Return retirement without a Finish

Each trace feeds its observed wire facts into the executable lifecycle oracle introduced by the base PR.

Validation

  • focused lifecycle traces ×100
  • go test ./rpc -count=1
  • go test -race ./rpc -count=1
  • git diff --check codex/rpc-lifecycle-oracle-v2...HEAD

Stack

@lthibault
lthibault force-pushed the codex/rpc-question-lifecycle-traces branch from eb119e0 to 43d0f29 Compare July 26, 2026 14:23
@lthibault
lthibault force-pushed the codex/rpc-lifecycle-oracle-v2 branch from 71bfb24 to 96e2329 Compare July 26, 2026 14:25
@lthibault
lthibault force-pushed the codex/rpc-question-lifecycle-traces branch from 43d0f29 to 9bcd8f8 Compare July 26, 2026 14:26
@lthibault
lthibault changed the base branch from codex/rpc-lifecycle-oracle-v2 to main July 27, 2026 07:24
@lthibault lthibault closed this Jul 27, 2026
@lthibault lthibault reopened this Jul 27, 2026
@lthibault
lthibault merged commit 768ab9b into main Jul 27, 2026
4 checks passed
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