Repository navigation
fix(artifacts): report S-record data after the final count - #14260
Conversation
[Low impact] The PR appears safe to merge; no actionable issues were found. SummaryThe decoder now reports data records after the last
Reviews (1) · Last reviewed commit: "Merge upstream main into S-record count ..." · Reviewed by Greptile |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
…-20261124 * origin/main: (3854 commits) fix(ci): retry recorded crash dependency acquisition without stale index cache (#14076) chore(deps): bump rcssmin from 1.2.2 to 1.3.0 in /website (#14229) chore(deps): bump markdownify from 1.2.3 to 1.2.4 in /website (#14227) ci: compare frozen selections with observed test failures (#14301) ci: record affected-test predictions above the live cutoff (#14300) ci: wait for static checks before broad PR test shards (#14299) ci: validate workflow anchors with actionlint 1.7.12 (#14298) ci: measure portable runner time for recorded selection predictions (#14304) test(pe): distinguish unsupported DOS input from truncated input (#14302) test(go): check build information in a one-directory PE32 fixture (#14303) fix(tests): damage Deno PE resource framing the loader-equivalent reader reads test(go): expect loader-equivalent PE header facts in the MZ diagnostics (#14293) perf(resources): refuse non-ASAR Pickle prefixes without building errors perf(artifacts): reuse the streamed XML plist verdict when classifying perf(artifacts): decide the FAT header once per classified stream test: run repeated CLI formatting capacity pairings in process (#14279) fix(limits)!: make the IL2CPP pointer index adjustable and require owned refusal limits (#14243) fix(artifacts): report S-record data after the final count (#14260) feat(artifacts): report declared DDS, GLB, KTX and KTX2 headers and regions (#14248) fix(pe)!: share one loader-equivalent PE header owner across static readers (#14253) ...
Summary
Keep decoded S-record regions when data follows the last S5 or S6 count, and report that the last count covers only the preceding records.
Problem and change
REA already rejects counts that disagree with the number of preceding S1, S2 or S3 records. A final count can agree with that prefix while leaving trailing data uncounted. The first version of this PR rejected that input. The updated decoder preserves the regions and the declared count, then reports a limitation with the count line and the observed total. A subsequent valid count that covers all data clears the limitation. Termination still determines region coverage, and the output schema is unchanged.
Evidence and validation
objcopy -I srec -O binaryproduced all 33 bytes,00through1ffollowed by2a. The extraction assertions check those bytes.Conflict resolution
Merged current
mainand retained the S5/S6 extraction regressions alongside the upstream physical-run and lifecycle tests. All 65 focused tests passed.Supersedes #12750.
Resubmission of #14059.
Author readiness
Human owner: @ShuaixinHuang