Skip to content

fix: prevent checkpoint corruption and replay errors - #17

Merged
OgeonX-Ai merged 1 commit into
mainfrom
fix/checkpoint-corruption
Jul 8, 2026
Merged

OgeonX-Ai merged 1 commit into
mainfrom
fix/checkpoint-corruption

Conversation

@OgeonX-Ai

Copy link
Copy Markdown
Contributor

Summary

  • Adds JsonStringEnumConverter to checkpoint JSON serialization options
  • Flushes the temp file to disk before the atomic rename in FileCheckpointStore, preventing partial/corrupt checkpoints and replay errors on crash/power-loss

This commit was stranded on a parallel session's local main (not pushed, branch push-protected). Rehomed onto its own branch per current CI-supply-chain-hardening guidance: no direct pushes to main, every change goes through a PR.

Test plan

  • dotnet build succeeds
  • Full existing test suite (231 tests) passes unchanged

…me to prevent checkpoint corruption and replay errors
@OgeonX-Ai
OgeonX-Ai enabled auto-merge (squash) July 8, 2026 17:02
@OgeonX-Ai
OgeonX-Ai merged commit 335e4d3 into main Jul 8, 2026
5 checks passed
@OgeonX-Ai
OgeonX-Ai deleted the fix/checkpoint-corruption branch July 8, 2026 17:51
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