Repository navigation
test: bind extraction close fixtures to their ZIP digest - #7335
Plastic-time wants to merge 1 commit into
Conversation
[Low impact] The change appears safe to merge. SummaryRepairs both extraction close-failure cases by hashing the generated ZIP bytes instead of supplying an all-zero digest.
Reviews (1) · Last reviewed commit: "test: bind extraction close fixtures to ..." · 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
The two
safeOutputTreeCloseFailuresextraction cases pass an all-zero target digest for a real ZIP. Admitted-source validation rejects the fixture before either injected commit-close failure is reached.Hash the same ZIP bytes written to disk when constructing the test client. Preserve the assertions for:
Scope
One test file changes. The fixture owns the correction; production digest validation, extraction, cleanup ownership, evidence, CLI/MCP contracts, and package metadata are unchanged. Tests use a generated ZIP and temporary output. This is an ordinary test repair within existing scope; a separate maintainer scope decision is not applicable.
Validation
Same-runner Linux baseline, independent fixes, and combined verification: Ubuntu 24.04, Node 24.22.1, unchanged baseline
046c4ce3, this candidate626d0250.npm run test:focused -- tests/composition/analysis-sessions/providerBinding.test.ts src/artifacts/apple/AppleAssetCatalogAnalysis.test.ts tests/boundary/filesystem/safeOutputTreeCloseFailures.test.ts: baseline 48 passed / 3 failed; this fix alone 50 passed / 1 failed. All 6 close-failure tests pass.npm run check:fast, repositoryoxfmt --check, andgit diff --check: passed.Windows/macOS and real external providers were not run. Full upstream CI is separate from this focused comparison.
Author readiness
Human owner: @Plastic-time