Skip to content

fix(chat): fail turn when final persistence fails#42

Merged
drewstone merged 1 commit into
mainfrom
fix/chat-final-persist-fails-turn
May 23, 2026
Merged

fix(chat): fail turn when final persistence fails#42
drewstone merged 1 commit into
mainfrom
fix/chat-final-persist-fails-turn

Conversation

@drewstone
Copy link
Copy Markdown
Contributor

Summary

  • propagate final assistant persistence failures through the chat engine
  • emit error and session.run.failed instead of session.run.completed when the final persist hook throws
  • update durable chat-engine tests for the fail-closed behavior

Verification

  • pnpm typecheck
  • pnpm test
  • pnpm lint

@drewstone drewstone merged commit 0d7d80e into main May 23, 2026
1 check passed
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