Commit Graph

1 Commits (51330af07270c69a54c073c50b3645510c14dda4)

Author SHA1 Message Date
Gud Boi bcb58f2af5 Test `ContextStatus` ownership and cancel reasons
Add twenty cases around real ctx state, channels and Trio scopes,
with inert actor resources.

Cover independent status initialization and diagnostics, falsey
results, repeated waits and transport-vs-self-cancel detection.
Check first-fault delivery and shallow-frozen identity metadata.
Exercise self-cancel ack policy, existing and ancestor reasons,
and local validation provenance at the message-raising boundary.

Use `.wait_for_result()` so these tests also cover the subsequent
deprecated-wrapper removal. Test provenance is already recorded
with the preceding status implementation.

Prompt-IO: ai/prompt-io/opencode/20260919_context_fault_status.md

(this patch was generated in some part by `opencode`
using `gpt-6-astra` (`openai`))
2026-10-30 13:13:37 -04:00