Skip to content

fix(coding-agent): prove delayed print continuation - #17

Merged
rikonor merged 1 commit into
junior/print-mode-extension-continuationfrom
brownie/fix-print-race-proof
Jul 18, 2026
Merged

fix(coding-agent): prove delayed print continuation#17
rikonor merged 1 commit into
junior/print-mode-extension-continuationfrom
brownie/fix-print-race-proof

Conversation

@brownie-ricon

Copy link
Copy Markdown

Finding

The delayed faux-provider test reaches the race window on the base commit, but its first failing assertion is ctx.isIdle() === false. Vitest therefore never reaches the assertions that the extension user turn and second assistant response survived print/JSON disposal.

Fix

Assert the completed continuation before the supporting idle-state assertion. Against exact base f6b7dad2bc787bc8e885128986b4c18b8e8da154, both cases then fail first with only the initial user turn present. At PR head, both pass.

Validation

  • Exact-base test with this assertion order: 2/2 failed at the missing continuation user turn
  • PR-head test: 2/2 passed
  • npm run check: passed

Targets #15 branch at 4675817ff4c5f4376a20c67668cd75d778111e26.

This PR was created by an AI coding agent.

@rikonor
rikonor merged commit dba1ed1 into junior/print-mode-extension-continuation Jul 18, 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.

2 participants