Skip to content

fix(runtime): surface interrupted driver runs - #78

Merged
Yevanchen merged 1 commit into
mainfrom
fix/runtime-interruption-replay
Jun 22, 2026
Merged

fix(runtime): surface interrupted driver runs#78
Yevanchen merged 1 commit into
mainfrom
fix/runtime-interruption-replay

Conversation

@Yevanchen

Copy link
Copy Markdown
Collaborator

Summary

  • surface finalized driver interruptions as replayable retryable run.failed events
  • preserve retryable run errors in session-run projections
  • keep only an internal debug resume snapshot with sandboxId, lastEventSeq, and recoveryMode
  • increase provider readiness probe timeout from 2.5s to 10s after live OpenAI e2e proved the shorter timeout false-failed publish
  • update the driver submodule to fix(runtime): retry driver event batches mosoo-agent-driver#18 for accepted event receipts, pending batch retry, and deterministic source ids

Verification

  • bash ./init.sh development
  • just check
  • bun test apps/api/tests/driver-finalization-repair.test.ts apps/driver/tests/driver-event-publisher.test.ts apps/driver/tests/driver-runtime-boundary.test.ts
  • just tc-package @mosoo/api
  • just tc-package agent-driver
  • just e2e deterministic session-log
  • just e2e public-api runtime
  • just commit-check

Generated files / codegen / DB

  • GraphQL codegen source was not changed; just check ran the codegen consistency check.
  • DB schema and migrations were not changed; no db regen or migration was needed.
  • No generated files are included.

Related

@Yevanchen
Yevanchen merged commit 021aeb2 into main Jun 22, 2026
9 checks passed
@Yevanchen
Yevanchen deleted the fix/runtime-interruption-replay branch June 22, 2026 04:24
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