Repository navigation
Conversation
This was referenced Nov 24, 2026
manuzhang
marked this pull request as ready for review
November 24, 2026 10:43
dino-saurabh
approved these changes
Nov 26, 2026
wgtmac
reviewed
Nov 27, 2026
dino-saurabh
approved these changes
Nov 27, 2026
xndai
reviewed
Nov 28, 2026
zhjwpku
approved these changes
Nov 29, 2026
wgtmac
reviewed
Nov 29, 2026
timothyw553
reviewed
Nov 30, 2026
timothyw553
left a comment
Contributor
There was a problem hiding this comment.
thanks for the PR, overall the validation changes look good. i left two comments: one on stale parentless snapshots failing instead of retrying, and one on test coverage.
This was referenced Dec 1, 2026
manuzhang
requested review from
dino-saurabh,
timothyw553,
wgtmac,
xndai and
zhjwpku
December 1, 2026 04:25
xndai
reviewed
Dec 1, 2026
wgtmac
reviewed
Dec 2, 2026
Parse snapshot integer fields and table sequence and row ID bounds exactly. Check the bounds against retained snapshots on read, write, and build, including V3 snapshots with conservative added-rows bounds. Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
manuzhang
force-pushed
the
fix/json-snapshot-sequence-and-row-id
branch
from
December 3, 2026 02:21
082f9d0 to
fb5b891
Compare
wgtmac
approved these changes
Dec 4, 2026
This branch has not been 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.
Why
Generic JSON number conversion can truncate or wrap integer-valued snapshot and table metadata fields. A stricter decoder can also reject a REST commit response after the server has already accepted the update.
What
current-snapshot-idstill represents a table without a current snapshot.CommitStateUnknown, avoiding a replay or staged-file cleanup.Validation
Pre-commit and
git diff --checkpassed. Added coverage for non-integers, overflow, valid signed values, and two unreadable HTTP 200 commit responses. Runtime checks pending.