Repository navigation
refactor(manifest): share ordered sibling group traversal - #14571
Conversation
This refactor appears safe to merge.
SummaryExtracts
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Single-segment rule] -->|Width 1 and rule callbacks| C[Shared position scan]
B[Adjacent-pair rule] -->|Width 2 and rule callbacks| C
C --> D{Candidate has a key?}
D -->|No| E[Keep original group]
D -->|Yes| F[Bucket in encounter order]
F --> G[Run rule-owned merge]
E --> H[Next position]
G --> H
Reviews (1) · Last reviewed commit: "refactor(manifest): share ordered siblin..." · 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. |
…-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)
* 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
Summary
Share the position scan and ordered bucket traversal between the single-segment and adjacent-pair rules. Each rule still owns candidate eligibility, its grouping key, and the merge operation.
Verification
Compared
applyTemplateRulesbefore and after across all 32 rule subsets and 62 inputs. All 1,984 results matched, including group order, metadata, object sharing and the segment cutoff. Both merge orders with the pending RPC grouping change produced identical file contents and preserved its three RPC keys. The changed file passes the pinned formatter andgit diff --check.