Repository navigation
refactor(views): share bounded parent and report limitations - #14902
Merged
Merged
Conversation
Contributor
[Medium impact] The refactor appears safe to merge; no actionable issues were found. SummaryAdds
Reviews (2) · Last reviewed commit: "refactor(views): share bounded parent an..." · Reviewed by Greptile |
morluto
marked this pull request as ready for review
November 27, 2026 15:55
Codex Review Summary: ✅ CompletedThis 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. |
vincentkoc
added a commit
that referenced
this pull request
Nov 27, 2026
…pgp-633-20261127 * commit '3097263763611eb0c32c502d5a222060cf02f468': fix(cli): describe universal Mach-O slice selection without a single-dash flag (#14912) fix(iso9660): read Joliet trees whose .. records name their own directory (#14817) feat(gpu)!: add per-call object, work, report, metadata, structure, and parser budgets to inspect_gpu_code_objects (#14882) fix(macho)!: select arm64e.x1 slices of universal Mach-O files by exact subtype (#14881) refactor(views): share bounded parent and report limitations (#14902) refactor(desktop): share XML parent pointers in task drafts (#14905) feat(ghidra): define function-pointer members and typedefs (#14889) refactor(setup): share publication destination checks (#14904) perf(ci): skip unused test runtime uploads (#14903) fix(nuget): preserve explicitly spaced publisher metadata (#14906) fix(artifacts): keep uImage coverage unknown when bytes follow the declared payload (#14896) fix(artifacts): report incomplete Android sparse coverage (#14883) fix(tar): require both end-of-archive blocks for complete coverage (#14884) refactor(views): centralize indexed row paging (#14878) refactor(views): reuse optional filters in report projections (#14877)
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.
Summary
Forty-one report views now use one helper to include limitations from their parent Evidence. The change removes 132 production lines net. It follows the view refactors in #14877 and #14878.
Problem and expected behavior
Each caller supplied the same message field and parent Evidence ID. Fourteen callers use only parent limitations, twenty-five also include report limitations, and two give selected warnings priority. Omission notices must identify the same parent and count the same omitted messages.
Change and scope
Add
boundedViewLimitationsbeside the existing message-budget implementation. The helper accepts optional report limitations and priority messages. Each view continues to choose its own sources and warnings. The existing implementation owns sorting, deduplication, and byte accounting.Contract and verification
Compared the syntax trees of all 41 callers and checked their exact message arrays against the previous implementations. All 6,642 differential cases matched, including 3,624 omission notices. The cases cover empty lists, duplicate and Unicode messages, messages near and above the byte limit, and required warnings. Scoped formatting and
git diff --checkpassed. Hosted CI passed one3ccf2c4f. All 262 selected tests passed across 19 files.Author readiness
Human owner: @vincentkoc
Author checklist (completed by the PR author before requesting review)
type(scope): outcome.REA_runtime setting with a default, floor, and maximum, unless a fixed ceiling has a stated reason. See Adding a runtime setting.