Fix checkpoint execution and preserve history selection - #1132
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
blove
marked this pull request as draft
September 23, 2026 00:17
Contributor
blove
marked this pull request as ready for review
September 23, 2026 00:21
Contributor
Contributor
* fix(cockpit): retain selected checkpoint across history refreshes * chore: refresh checkpoint guide inventory facts
Contributor
Contributor
Contributor
blove
enabled auto-merge (squash)
September 23, 2026 05:09
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.
Streaming with the documented
checkpointIdoption silently ran at the thread tip because the locked LangGraph SDK serializes onlycheckpointon that endpoint. Normalize the alias once in the existing pure payload builder for streamed and queued runs. An explicit checkpoint object or null wins, caller options remain unchanged, and the synthesized root checkpoint uses an empty map accepted by the example's local API.The time-travel example now keeps its selected checkpoint ID when new history entries prepend. Rows are keyed by checkpoint identity, preserving the selected row and keyboard focus. Select remains a branch pointer; Fork explicitly starts a run. This includes the selection correction reviewed and merged green in #1134.
Validation:
This fixes the existing public Angular transport/example. It does not expose checkpoint execution through the private neutral session; replay, tool identity and continuation ownership still need a separate design. No argument validation or new state store is introduced.
Review provenance: parent source/type/SDK/lifecycle audits completed. Independent local review was unavailable after thread capacity exhaustion. Recent hosted Claude jobs returned internal errors despite green job badges and supplied no substantive code review.
Integration: #1131 is merged green on main. Merging that commit changed no files: the resulting tree was identical to the prepared combined tree. A later main update changed only two website instrumentation files; its seven focused tests pass, and checkpoint/runtime files are unchanged. Current head is
6fa81f0cbd331a2aedabfcd0c2ae932f881e71a2; inventory remains valid. Required CI is evaluated on this exact head before main delivery.