Repository navigation
chore(cli): carry a pull record's bundle-only fields on its bundle kind - #2651
Merged
Merged
Conversation
PullKind is a kind-tagged enum flattened into PullRecord; files_started, files_landed and the end-of-run counts live on its Bundle variant, so a blob or entry record carries no bundle fields. The dashboard's PullFields is a discriminated union on kind, and its contract test pins each arm's keys. Status fixtures regenerated. An old-shape record on disk still reads: its flat file counts feed the bundle variant, counts read as none, and leftover keys are ignored. Closes #2642 Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Code coverage overviewLanguages: Rust, Solidity Rust / code-coverage/cargo-llvm-cov
View coverage of the 3 most impacted files.
Solidity / code-coverage/forge
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
An entry written to a file runs the bundle path, which reports file progress and counts; its record keeps the bytes and none of the rest. The recorder's docs say so, and a test pins it. The flat-field record test reads in present tense and writes a blob record as 0, 0, null. Comment fixes: counts are set only when a run ended with a summary, the files column is null for a blob or entry run, and PullKind follows PullTarget in api.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Gas snapshotNo gas changes vs base. |
Pre-mainnet, no reader of the flat record shape needs to survive, so the test that pinned old records parsing goes. The recorder docs name the entry run instead of "a non-bundle run", and the bundle round-trip test also pins `counts` serializing as null before the run has them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
thiras
approved these changes
Oct 28, 2026
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.
PullRecordcarriedfiles_started,files_landedandbundleon every run, with blob and entry runs writing0, 0, null, while the page already gates them onkind === "bundle". MakesPullKinda tagged enum flattened into the record, with the bundle fields on itsBundlevariant only; the dashboard'sPullFieldsbecomes a discriminated union onkindand its contract test pins it. Fixtures regenerated. Pre-mainnet record-shape change; no reader of the old shape is kept or tested.Observed old-record behavior (not pinned; nothing depends on it before mainnet): a record with flat bundle fields parses. A bundle record's flat
files_started/files_landedfeed theBundlevariant, and thebundlekey and a blob record's flat fields are ignored as unknown keys;read_recordscounts none of them as unreadable. Because the counts key is nowcounts, a finished bundle record in the flat shape reads withcounts: None— accepted pre-mainnet, and the page does not render counts.An entry written to a file runs the bundle path, which reports file progress and counts. Per the issue ("a blob or entry record carries no bundle fields"), its record keeps the bytes and drops the rest; the recorder's docs say so and
an_entry_run_records_no_bundle_fieldspins it.Closes #2642
🤖 Generated with Claude Code