Repository navigation
fix(checkpoints): publish durable refs and preserve captured state - #588
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Sep 17, 2026
Contributor
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
… (#10944) (cherry picked from commit 8130a9f13a1ef506f4393423ded21d71f3c9b5e4)
…(#8432) Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com> (cherry picked from commit d42a3bd2ae3e698141b26f6426aa28d8886e1754)
rynfar
force-pushed
the
upstream/2026-09-17-checkpoint-durability
branch
from
September 17, 2026 06:13
2087600 to
4415aa2
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checkpoint publication can leave incomplete Git objects/refs after an unclean restart, and a late missing placeholder can overwrite a ready checkpoint in SQL. Flush each capture's object/ref writes before publishing, and preserve ready/error projection state against a later missing placeholder.
Adopts upstream
8130a9f13a1ef506f4393423ded21d71f3c9b5e4(#10944) andd42a3bd2ae3e698141b26f6426aa28d8886e1754(#8432), with source attribution preserved. Adapted the fsync arguments to Pylon's current temporary-index capture path; no unrelated sparse-index optimization imported. Pylon identity, running/interrupted turn handling, exact rollback and workspace leases remain intact. This prevents future damage; it does not repair existing corrupt refs. Older Git versions may ignore unsupported fsync settings.Validation: 57 focused tests across GitVcsDriver, real CheckpointStore captures/restores, and ProjectionPipeline pass. Scoped server typecheck and lint pass. No wire migration or UI change; all providers and clients using the shared checkpoint path benefit.
Part of #585. Frozen upstream head
6d1d549441be84f19696ab59ed7e2fbf305280d4; review cursor unchanged. No release or installation.Implemented with GPT-6 in Codex.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.