Repository navigation
test(native): bind lipo refusal fixture to a real source - #7977
Conversation
[Low impact] The reviewed changes appear safe to merge. SummaryStrengthens the filesystem-backed tests for unreadable
The previous and current commits have different merge bases with the target commit, so the full PR diff was reviewed as new changes. No previous review threads were supplied. Reviews (2) · Last reviewed commit: "Merge upstream main into native lipo fix..." · Reviewed by Greptile |
Codex Review SummaryThis 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. |
Summary
Strengthen coverage of unreadable lipo output and source admission. The former fixture failed at source admission rather than reaching the intended lipo refusal; upstream independently repaired that fixture in 429355c. This branch retains the upstream
inspectionImage()Mach-O fixture and adds distinct assertions.Change and scope
inspect_machoandlist_architectures, assert lipo is called exactly once with the selected path, and the captured-output error identifies the operation.inspect_machorefuses before running lipo. Close clients infinally; the existing temporary-directory fixture owns cleanup.This is a test-only change within existing boundaries. No production behavior, schema, package, generated metadata, or authority changes.
Evidence and validation
7ca216a2663376243702d117ce23059680f8ba1f, the namedinspect_machotest failed withProviderAdapterErrorbefore reaching lipo. Upstream subsequently fixed the fixture.54f5cf7e14e347d20828b07a991b644eafd080c9, the three related source test files passed: 57 tests on main, 58 on the resolved candidate. Changed-file oxlint and oxfmt checks andgit diff --checkpassed.Author readiness
Human owner: @WenyuChiou
This existing declaration is retained; later pushes do not invalidate it under the contribution guidance.