Two additions: - agent_test.go's "context cancellation triggers graceful suspend" now also asserts the input messages land in the suspension checkpoint — verifies the embedded-Checkpoint path that fires when no Checkpointer is configured. - cancel_test.go gets a third subtest that parks the LLM provider inside ChatCompletion via a release channel, cancels ctx while the call is in flight, then confirms the LLM call still saw a non-cancelled ctx and the just-completed turn lands in the persisted checkpoint. Proves the framework's WithoutCancel shielding works end-to-end at the unit level. Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
7.0 KiB
7.0 KiB