Skip to content

fix(core): preserve queue after provider failure#33460

Open
kitlangton wants to merge 1 commit into
devfrom
fix/v2-queue-after-terminal-failure
Open

fix(core): preserve queue after provider failure#33460
kitlangton wants to merge 1 commit into
devfrom
fix/v2-queue-after-terminal-failure

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Summary

  • distinguish continued, completed, and durably failed provider-turn outcomes
  • stop the current Session drain after a projected terminal provider failure instead of promoting pending input
  • preserve queued work for a later explicit resume and document the behavior

Testing

  • bun run test test/session-runner.test.ts in packages/core (81 passed)
  • bun run typecheck in packages/core
  • pre-push workspace typecheck (23 passed)
  • git diff --check

Review note

The parallel simplify reviewers could not start because their local session database is missing the replacement_seq column.

@kitlangton kitlangton enabled auto-merge (squash) June 22, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant