Repository navigation
perf(tar): update global PAX map in place after budget accounting - #14580
Merged
Merged
Conversation
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
[Medium impact] The PR appears safe to merge. SummaryThis PR removes repeated copies of the global PAX map.
Reviews (2) · Last reviewed commit: "perf(tar): update global PAX map in plac..." · Reviewed by Greptile |
vincentkoc
added a commit
that referenced
this pull request
Nov 25, 2026
…-artifact-cancellation-projection * commit '3d4633176f15f3bd8072751af788bf31c7f2e0d8': refactor(views): reuse JSON record and request-line projections (#14582) test(cutter): share loopback listener and descriptor fixtures (#14578) ci(apple): give the macOS lane room for the discovered macOS-gated tests test(native): accept plutil nesting diagnostics on stdout fix(native): admit the missing-UUID dyld_info refusal when it exits 0 refactor(ghidra): share the executable file probe (#14573) refactor(artifacts): reuse carrier ranges and Mach-O field decoding (#14574) perf(tar): update global PAX map in place after budget accounting (#14580) refactor(manifest): share ordered sibling group traversal (#14571) test(browser): reuse page and Evidence inspection fixtures (#14581) ci(apple): run the macOS lane when a pull request changes a macOS-gated test test(cli): use the registered argument schemas directly (#14586) test(bun): share the file-handle read observer (#14577) test(mcp): share the successful tool assertion (#14576) test(uefi): reuse the driver file across firmware fixtures (#14570) feat(delivery)!: bound default results by an agent result budget (#14252)
vincentkoc
added a commit
that referenced
this pull request
Nov 25, 2026
* commit '3d4633176f15f3bd8072751af788bf31c7f2e0d8': refactor(views): reuse JSON record and request-line projections (#14582) test(cutter): share loopback listener and descriptor fixtures (#14578) ci(apple): give the macOS lane room for the discovered macOS-gated tests test(native): accept plutil nesting diagnostics on stdout fix(native): admit the missing-UUID dyld_info refusal when it exits 0 refactor(ghidra): share the executable file probe (#14573) refactor(artifacts): reuse carrier ranges and Mach-O field decoding (#14574) perf(tar): update global PAX map in place after budget accounting (#14580) refactor(manifest): share ordered sibling group traversal (#14571) test(browser): reuse page and Evidence inspection fixtures (#14581) ci(apple): run the macOS lane when a pull request changes a macOS-gated test test(cli): use the registered argument schemas directly (#14586) test(bun): share the file-handle read observer (#14577) test(mcp): share the successful tool assertion (#14576) test(uefi): reuse the driver file across firmware fixtures (#14570) feat(delivery)!: bound default results by an agent result budget (#14252) ci(apple): discover and run every macOS-gated test on macOS test(apple): expect path-selected inspect_artifact in resource-only sessions fix(errors)!: keep only changed reader integrity checks retryable
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.
Fixes #14418.
Root Cause
walkTarcalledglobal = withPax(global, pax.records)on every global PAX extended header (g), cloning all prior global PAX entries into a newMapon each update (Structural Fix
applyPaxInPlace(target, records)(shared bywithPax) and mutated the walk-localglobalmap in place strictly afterretained.charge/retained.refundaccounting.globalacross header iterations.Validation
npm run test:local -- src/artifacts/tar/TarArtifactReader.test.ts(36/36 passed)npm run check:fast(0 errors)