Repository navigation
perf(apple): build only the requested asset catalog page - #14032
Merged
vincentkoc merged 1 commit intoNov 30, 2026
Merged
Conversation
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. |
Contributor
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryThe PR builds only the requested asset catalog page and stores rendition matches only for requested resource keys.
Reviews (1) · Last reviewed commit: "perf(apple): build only the requested as..." · Reviewed by Greptile |
vincentkoc
added a commit
to WoWHellgarve-HolyDeeW/rea
that referenced
this pull request
Nov 30, 2026
* commit '7f7d34ad7c30a5fe015b642118dd40e8e9ac093d': (167 commits) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) fix(nds): report unreachable file name directories (morluto#15192) refactor(firmware): share admitted-file decoder buffering (morluto#15198) fix(binary): carry the runtime refusal's repair instruction in remediation (morluto#14123) fix(agentenv): reject COM0 and LPT0 bundle names (morluto#14971) test(environment): share the loopback capture fixture (morluto#15196) perf(png): reconstruct scanlines with one filter dispatch (morluto#11818) feat(iso9660): stream files across separated extents (morluto#15190) perf(apple): build only the requested asset catalog page (morluto#14032) perf(artifacts): isolate offline session composition from deep providers (morluto#15194) perf(evidence): bound investigation closure worklist by depth (morluto#15193) perf(audit): avoid copying complete log lines (morluto#15184) test(mcp): share server result readers (morluto#15174) fix(android): declare Android mapping and JNI fixed allowances (morluto#15183) fix(artifacts): retain deep comparison source chains (morluto#15191) perf(evidence): bound link inspection frontier by records (morluto#15189) perf(evidence): retain snapshots across duplicate imports (morluto#15186) fix(nro): exclude ASET header bytes from asset ranges (morluto#15185) ...
vincentkoc
added a commit
to XiaoBinGan/rea
that referenced
this pull request
Nov 30, 2026
* commit '4ca43e2cb20f0edd86cdbf315a9c99c7b9b87468': (173 commits) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) fix(nds): report unreachable file name directories (morluto#15192) refactor(firmware): share admitted-file decoder buffering (morluto#15198) fix(binary): carry the runtime refusal's repair instruction in remediation (morluto#14123) fix(agentenv): reject COM0 and LPT0 bundle names (morluto#14971) test(environment): share the loopback capture fixture (morluto#15196) perf(png): reconstruct scanlines with one filter dispatch (morluto#11818) feat(iso9660): stream files across separated extents (morluto#15190) perf(apple): build only the requested asset catalog page (morluto#14032) perf(artifacts): isolate offline session composition from deep providers (morluto#15194) perf(evidence): bound investigation closure worklist by depth (morluto#15193) perf(audit): avoid copying complete log lines (morluto#15184) test(mcp): share server result readers (morluto#15174) fix(android): declare Android mapping and JNI fixed allowances (morluto#15183) fix(artifacts): retain deep comparison source chains (morluto#15191) perf(evidence): bound link inspection frontier by records (morluto#15189) perf(evidence): retain snapshots across duplicate imports (morluto#15186) ...
vincentkoc
added a commit
to ShuaixinHuang/rea
that referenced
this pull request
Nov 30, 2026
* commit '4ca43e2cb20f0edd86cdbf315a9c99c7b9b87468': (34 commits) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) fix(nds): report unreachable file name directories (morluto#15192) refactor(firmware): share admitted-file decoder buffering (morluto#15198) fix(binary): carry the runtime refusal's repair instruction in remediation (morluto#14123) fix(agentenv): reject COM0 and LPT0 bundle names (morluto#14971) test(environment): share the loopback capture fixture (morluto#15196) perf(png): reconstruct scanlines with one filter dispatch (morluto#11818) feat(iso9660): stream files across separated extents (morluto#15190) perf(apple): build only the requested asset catalog page (morluto#14032) perf(artifacts): isolate offline session composition from deep providers (morluto#15194) perf(evidence): bound investigation closure worklist by depth (morluto#15193) perf(audit): avoid copying complete log lines (morluto#15184) test(mcp): share server result readers (morluto#15174) fix(android): declare Android mapping and JNI fixed allowances (morluto#15183) fix(artifacts): retain deep comparison source chains (morluto#15191) perf(evidence): bound link inspection frontier by records (morluto#15189) perf(evidence): retain snapshots across duplicate imports (morluto#15186) ...
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
Build only the requested Apple asset catalog page and the rendition matches that Interface Builder references. This reduces avoidable page projection work within the asset-catalog direction of #13300.
Problem and expected behavior
Each seven-record page previously constructed a full record object for every catalog record and indexed every asset name. When the bundle has no resource keys, the page still paid that cost. Resource keys can refer to renditions outside the returned page, so those joins must still use the full inventory.
Change and scope
The asset catalog projector counts each catalog and constructs the requested window in catalog and record order. It scans rendition names when references exist and retains matches for the exact names requested. Empty catalogs, offsets beyond the last row, case-sensitive matching, ambiguity, and source indices keep their established behavior. This targets the projector. The existing offline bundle walk and assetutil invocation still own acquisition and verification. The related design issue is linked above.
Evidence and regression coverage
assetutilmetadata from the 248-record Audio MIDI Setup catalog was used in six alternating before/after pairs. For 1,800 seven-record projections with no resource keys, median wall time was 68.4 → 47.9 ms, CPU was 93.0 → 68.5 ms, and peak RSS of the isolated process was 128.1 → 109.0 MiB.Validation performed
npm run build:cached,npm run check:ci:fast,npm run check:fast, andnpm run metadata:check— passed.npm run docs:check— passed, including eight README checks.npm run verify:test-discovery,npm run verify:package, and package dry run — passed. The package verifier finished its owned cleanup.Compatibility, safety, and release
The same CLI/MCP contract reports catalog digests, page metadata and off-page joins. Inspection uses the existing read-only system assetutil workflow. Package selection and generated metadata were validated.
Author readiness
Human owner: @xu91102
Before merge
type(scope): outcome.