Repository navigation
fix(artifacts): report macOS package bundle release versions - #14860
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. |
[Medium impact] The PR appears safe to merge. SummaryAdds declared macOS bundle release versions to package inventory without replacing build versions.
No actionable issues were found. Tests were inspected but not run. Checking whether another PR supersedes this one was blocked by unavailable GitHub authentication. Reviews (2) · Last reviewed commit: "chore: merge main for package version va..." · Reviewed by Greptile |
* commit '4ccc685dd5ed028bc625fdd8760539ce5a492d8d': (228 commits) test(asar): verify cleanup on the original file handle (morluto#15155) fix(ubi): bound smaller-grid probe memoization (morluto#15168) fix(artifacts): distinguish content from containment changes (morluto#15165) fix(bflt): retain complete text when data is truncated (morluto#15160) refactor(domain): reuse graph projection and validation helpers (morluto#15173) fix(iso9660): read a directory record's data length from its little-endian half (morluto#14801) test(ghidra): wait for each fixture spawn before expiring startup (morluto#15172) test(beam): reuse the CLI Evidence reader (morluto#15171) test(oci): share descriptor budget refusal assertions (morluto#15159) refactor(audit): share byte framing for offline audit logs (morluto#15162) refactor(evidence): reuse observed file reports for binary metadata (morluto#15161) fix(doctor): omit package-runner cache shims from installations (morluto#15059) refactor(packages): share package inspection budget contracts (morluto#15158) refactor(desktop): share completed command answer recovery (morluto#15156) refactor(views): share page byte reservations (morluto#15152) refactor(artifacts): share GPU and media asset layout rules (morluto#15150) fix(setup): name the detected host when Hopper setup does not apply (morluto#14449) fix(iso9660): read a directory record whose identifier padding byte is not zero (morluto#15020) fix(windows): report the ACE count a private DACL check observed (morluto#14450) fix(artifacts): read Ogg Opus channel mapping tables (morluto#14975) ...
|
Thanks! I merged the pinned main revision so this includes the recent package-reader fixes. The five-file change passed P2 review and formatting; CI is now validating the combined head. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Thanks! Squash-merged in e18ed55. The combined head passed P2 review and required CI: 405 tests passed, one skipped. Release and build versions are preserved separately. |
* commit 'e18ed55bac14191010efe91ba61489cab1d2ba55': (137 commits) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155) fix(ubi): bound smaller-grid probe memoization (morluto#15168) fix(artifacts): distinguish content from containment changes (morluto#15165) fix(bflt): retain complete text when data is truncated (morluto#15160) refactor(domain): reuse graph projection and validation helpers (morluto#15173) fix(iso9660): read a directory record's data length from its little-endian half (morluto#14801) test(ghidra): wait for each fixture spawn before expiring startup (morluto#15172) test(beam): reuse the CLI Evidence reader (morluto#15171) test(oci): share descriptor budget refusal assertions (morluto#15159) refactor(audit): share byte framing for offline audit logs (morluto#15162) refactor(evidence): reuse observed file reports for binary metadata (morluto#15161) fix(doctor): omit package-runner cache shims from installations (morluto#15059) refactor(packages): share package inspection budget contracts (morluto#15158) refactor(desktop): share completed command answer recovery (morluto#15156) refactor(views): share page byte reservations (morluto#15152) refactor(artifacts): share GPU and media asset layout rules (morluto#15150) fix(setup): name the detected host when Hopper setup does not apply (morluto#14449) fix(iso9660): read a directory record whose identifier padding byte is not zero (morluto#15020) fix(windows): report the ACE count a private DACL check observed (morluto#14450) ...
* commit '76cb6645be39cf3844f7a8bb4568b02d8a713595': (95 commits) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155) fix(ubi): bound smaller-grid probe memoization (morluto#15168) fix(artifacts): distinguish content from containment changes (morluto#15165) fix(bflt): retain complete text when data is truncated (morluto#15160) refactor(domain): reuse graph projection and validation helpers (morluto#15173) fix(iso9660): read a directory record's data length from its little-endian half (morluto#14801) test(ghidra): wait for each fixture spawn before expiring startup (morluto#15172) test(beam): reuse the CLI Evidence reader (morluto#15171) test(oci): share descriptor budget refusal assertions (morluto#15159) refactor(audit): share byte framing for offline audit logs (morluto#15162) refactor(evidence): reuse observed file reports for binary metadata (morluto#15161) fix(doctor): omit package-runner cache shims from installations (morluto#15059) refactor(packages): share package inspection budget contracts (morluto#15158) refactor(desktop): share completed command answer recovery (morluto#15156) refactor(views): share page byte reservations (morluto#15152) refactor(artifacts): share GPU and media asset layout rules (morluto#15150) fix(setup): name the detected host when Hopper setup does not apply (morluto#14449) fix(iso9660): read a directory record whose identifier padding byte is not zero (morluto#15020) ...
* commit '6c7dffc59b970fcfae023af3171d92ee0ac50f94': (137 commits) fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155) fix(ubi): bound smaller-grid probe memoization (morluto#15168) fix(artifacts): distinguish content from containment changes (morluto#15165) fix(bflt): retain complete text when data is truncated (morluto#15160) refactor(domain): reuse graph projection and validation helpers (morluto#15173) fix(iso9660): read a directory record's data length from its little-endian half (morluto#14801) test(ghidra): wait for each fixture spawn before expiring startup (morluto#15172) test(beam): reuse the CLI Evidence reader (morluto#15171) test(oci): share descriptor budget refusal assertions (morluto#15159) refactor(audit): share byte framing for offline audit logs (morluto#15162) refactor(evidence): reuse observed file reports for binary metadata (morluto#15161) fix(doctor): omit package-runner cache shims from installations (morluto#15059) refactor(packages): share package inspection budget contracts (morluto#15158) refactor(desktop): share completed command answer recovery (morluto#15156) refactor(views): share page byte reservations (morluto#15152) refactor(artifacts): share GPU and media asset layout rules (morluto#15150) fix(setup): name the detected host when Hopper setup does not apply (morluto#14449) ...
* commit '6c7dffc59b970fcfae023af3171d92ee0ac50f94': fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155) fix(ubi): bound smaller-grid probe memoization (morluto#15168)
* commit 'eb5cd34258f35b7f12602c9fc95c4c9509c7be10': fix(devicetree): read later FDT versions backwards compatible with v17 (morluto#14136) fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860)
* commit '91380cff6a6ce8b82b042ceb4e5013f3cc87a9d0': fix(ci): run npm lifecycle hooks in selected host lanes (morluto#15169) fix(artifacts): retain stored files in Godot PCK patches (morluto#15180) fix(setup): do not persist versioned launcher paths (morluto#15123) fix(devicetree): read later FDT versions backwards compatible with v17 (morluto#14136) fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155) fix(ubi): bound smaller-grid probe memoization (morluto#15168) fix(artifacts): distinguish content from containment changes (morluto#15165) fix(bflt): retain complete text when data is truncated (morluto#15160) refactor(domain): reuse graph projection and validation helpers (morluto#15173) fix(iso9660): read a directory record's data length from its little-endian half (morluto#14801) test(ghidra): wait for each fixture spawn before expiring startup (morluto#15172)
* commit '91380cff6a6ce8b82b042ceb4e5013f3cc87a9d0': fix(ci): run npm lifecycle hooks in selected host lanes (morluto#15169) fix(artifacts): retain stored files in Godot PCK patches (morluto#15180) fix(setup): do not persist versioned launcher paths (morluto#15123) fix(devicetree): read later FDT versions backwards compatible with v17 (morluto#14136) fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155)
* commit '6053481d47c518af7de8e6a88a3579f1f95e7851': fix(nds): bind file names to disjoint FNT subtables (morluto#15178) fix(glb): preserve JSON chunk read failures (morluto#15181) fix(ci): run npm lifecycle hooks in selected host lanes (morluto#15169) fix(artifacts): retain stored files in Godot PCK patches (morluto#15180) fix(setup): do not persist versioned launcher paths (morluto#15123) fix(devicetree): read later FDT versions backwards compatible with v17 (morluto#14136) fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860)
* commit '5c3c1edd72453746266691deca2c7355a8df9b0d': (623 commits) fix(dtbo): keep coverage unknown beyond the declared image (morluto#15182) perf(n64): stream ROM byte-order normalization (morluto#15179) fix(oci)!: keep unobserved directory identity unknown (morluto#15164) fix(nds): bind file names to disjoint FNT subtables (morluto#15178) fix(glb): preserve JSON chunk read failures (morluto#15181) fix(ci): run npm lifecycle hooks in selected host lanes (morluto#15169) fix(artifacts): retain stored files in Godot PCK patches (morluto#15180) fix(setup): do not persist versioned launcher paths (morluto#15123) fix(devicetree): read later FDT versions backwards compatible with v17 (morluto#14136) fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155) fix(ubi): bound smaller-grid probe memoization (morluto#15168) fix(artifacts): distinguish content from containment changes (morluto#15165) fix(bflt): retain complete text when data is truncated (morluto#15160) refactor(domain): reuse graph projection and validation helpers (morluto#15173) fix(iso9660): read a directory record's data length from its little-endian half (morluto#14801) test(ghidra): wait for each fixture spawn before expiring startup (morluto#15172) test(beam): reuse the CLI Evidence reader (morluto#15171) ... # Conflicts: # src/cli/cliCommandRegistrations.ts
* commit '31cec30f51fb59b28a1849a67d09ab79b1c40094': (803 commits) 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) fix(bflt): reject relocation tables overlapping image segments (morluto#15188) docs(artifacts): document Kubernetes audit log inventory (morluto#15187) fix(dtbo): keep coverage unknown beyond the declared image (morluto#15182) perf(n64): stream ROM byte-order normalization (morluto#15179) fix(oci)!: keep unobserved directory identity unknown (morluto#15164) fix(nds): bind file names to disjoint FNT subtables (morluto#15178) fix(glb): preserve JSON chunk read failures (morluto#15181) fix(ci): run npm lifecycle hooks in selected host lanes (morluto#15169) fix(artifacts): retain stored files in Godot PCK patches (morluto#15180) fix(setup): do not persist versioned launcher paths (morluto#15123) fix(devicetree): read later FDT versions backwards compatible with v17 (morluto#14136) fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155) ...
* commit '31cec30f51fb59b28a1849a67d09ab79b1c40094': (803 commits) 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) fix(bflt): reject relocation tables overlapping image segments (morluto#15188) docs(artifacts): document Kubernetes audit log inventory (morluto#15187) fix(dtbo): keep coverage unknown beyond the declared image (morluto#15182) perf(n64): stream ROM byte-order normalization (morluto#15179) fix(oci)!: keep unobserved directory identity unknown (morluto#15164) fix(nds): bind file names to disjoint FNT subtables (morluto#15178) fix(glb): preserve JSON chunk read failures (morluto#15181) fix(ci): run npm lifecycle hooks in selected host lanes (morluto#15169) fix(artifacts): retain stored files in Godot PCK patches (morluto#15180) fix(setup): do not persist versioned launcher paths (morluto#15123) fix(devicetree): read later FDT versions backwards compatible with v17 (morluto#14136) fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155) ...
Summary
Expose the declared application release version in macOS flat package bundle metadata. This follows the offline PackageInfo inventory added in #11377. This is a focused correction to that inventory and uses the original PR as context.
Problem and expected behavior
Apple pkgbuild can record both CFBundleVersion and CFBundleShortVersionString on the same bundle. An installer with build 7 and release 1.2.3 previously reported the build and omitted the release, leaving a reader unable to recover the app's release version from REA's inventory.
Change and scope
Read the short version once in the existing PackageInfo parser and include it alongside the build version in the inventory. The new cf_bundle_short_version field is optional. Existing Evidence and bundles without a short-version declaration retain their previous shape.
Contract and boundary impact
The existing inspect-artifact CLI and inspect_artifact MCP tool expose the same additional observation. Local installer files are read without running installer code or changing the selected input.
Evidence and regression coverage
A package produced by Apple pkgbuild contained CFBundleShortVersionString 1.2.3 and CFBundleVersion 7, confirmed by pkgutil. The old compiled CLI omitted the release version. The new CLI and MCP report the same bundle with cf_bundle_short_version 1.2.3 and cf_bundle_version 7. The input SHA-256 remains identical. The regression also covers a bundle with no short version.
Validation performed
PeOverlayRangeexport, also present on its unmodified base. Current main removes that export in fix(ci): remove unused exports flagged by deep checks #14852. A merge preflight on current main was clean. Combined verification is pending in CI.Compatibility, safety, and release
The optional field preserves archived records that lack it. No installer was run. Signature verification and broader installer formats are outside this verification. The package inventory was not rerun on Linux or Windows.
Author readiness
Human owner: @xu91102
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.