Repository navigation
[3692 by Claude Opus 5.5] Vendored picomatch version suffix and a /tmp-dependent test - #3723
Conversation
… the `-extglobguard.2` suffix, and the signed-RPM diagnostics test now passes when the checkout is under `/tmp`. 1. New picomatch suffix - Both builds were renamed in their `package.json`: `4.0.8-extglobguard.2` and `4.0.8-v2.3.2-extglobguard.2`. I repacked both tarballs and removed the `.1` ones. - The new names are in the root `package.json` (the direct dependency and the three overrides for `anymatch`, `micromatch` and `readdirp`), `THIRD_PARTY_LICENSES.md`, `test/vendoredPicomatch.test.mjs` and `docs/dependency-audit-exceptions.md`. - The signed-RPM acceptance Dockerfile and its context list also named the tarballs, so I updated those too (`apps/desktop/scripts/signed-rpm-acceptance.Dockerfile`, `signed-rpm-acceptance-context.mjs` and its test). - In `package-lock.json` I set the new integrity hashes on all four entries that point to the tarballs, then ran `npm install` (npm 10.9). The lockfile diff only touches picomatch, and `npm ls picomatch --all` reports every copy at `.2` with nothing marked invalid. - Both READMEs now say, in their Version section, that the suffix must change whenever the tarball's content changes. They explain why (npm only reinstalls a `file:` tarball when its version changes) and list every file that names the tarball. - `test/vendoredPicomatch.test.mjs` passes: 13/13. 2. Test under `/tmp` (`apps/desktop/scripts/signed-rpm-acceptance-diagnostics.test.mjs`) - I first ran the test from a copy of the scripts under `/tmp` and it failed there, as the issue described. - The blanket "no `/tmp/`" check is replaced by checks for the specific temporary paths: - the runner's `propr-signed-rpm-` workspace. - the test's own `signed-rpm-diagnostics-` directory. - a fixed path that the fake child process prints, which must never be echoed. It replaces the old `/tmp/x` sentinel. - All three are built from the system temp directory, so they still match when `/tmp` isn't the temp root. - The test passes (17/17) from the workspace and from the `/tmp` copy. To check it still catches a real leak, I made a copy of the runner expose its workspace path on the error, and the test failed as it should. - The related context test passes (5/5) and lint is clean. This is a dependency and test change with nothing to see, so there are no previews.
|
/ultrafix goal=8 max=3 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 3) First action:
|
|
✅ AI Code Review Complete requested by @propr-dev[bot] Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationReady to merge within the reviewed scope. The changes consistently update the vendored dependency references and address the diagnostics test’s false positives for checkouts under ✅ Consistent dependency wiring — Both package versions, all four lockfile entries, dependency overrides, Docker inputs, and acceptance-context references use the ✅ Targeted privacy assertions — The revised test checks the runner workspace, harness directory, and child-output sentinel while permitting checkout paths in stack traces. Secret and credential-marker checks remain intact. ✅ Focused maintenance guidance — Both vendored READMEs document version bumps when tarball contents change, including documentation edits. This was a static review; no commands were run. Tarball bytes and reported test results were not independently verified. Current-head checks show eight neutral/skipped results and no failures. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Automate temporary-checkout regression coverageConsider preserving the reported ScoreThe implementation is focused and internally consistent, with no verified merge blockers. Confidence is limited by static-only review and the absence of passing current-head checks. Score: 8/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
/tmp-dependent test/tmp-dependent test
/tmp-dependent test/tmp-dependent test
/tmp-dependent test/tmp-dependent test
/tmp-dependent test/tmp-dependent test
AI Implementation Summary
Closes #3692
Branch:
3692/claude-opus-5-5-vendored-picomatch-versio-20261118-1942-fnsCommits: ✅ Changes committed (9daf059)
AI Processing Completed
Execution Details:
/tmp-dependent test #3692Summary:
Both parts of #3692 are done. The vendored picomatch builds now carry the
-extglobguard.2suffix, and the signed-RPM diagnostics test now passes when the checkout is under/tmp.1. New picomatch suffix
package.json:4.0.8-extglobguard.2and4.0.8-v2.3.2-extglobguard.2. I repacked both tarballs and removed the.1ones.package.json(the direct dependency and the three overrides foranymatch,micromatchandreaddirp),THIRD_PARTY_LICENSES.md,test/vendoredPicomatch.test.mjsanddocs/dependency-audit-exceptions.md.apps/desktop/scripts/signed-rpm-acceptance.Dockerfile,signed-rpm-acceptance-context.mjsand its test).package-lock.jsonI set the new integrity hashes on all four entries that point to the tarballs, then rannpm install(npm 10.9). The lockfile diff only touches picomatch, andnpm ls picomatch --allreports every copy at.2with nothing marked invalid.file:tarball when its version changes) and list every file that names the tarball.test/vendoredPicomatch.test.mjspasses: 13/13.2. Test under
/tmp(apps/desktop/scripts/signed-rpm-acceptance-diagnostics.test.mjs)/tmpand it failed there, as the issue described./tmp/" check is replaced by checks for the specific temporary paths:propr-signed-rpm-workspace.signed-rpm-diagnostics-directory./tmp/xsentinel./tmpisn't the temp root./tmpcopy. To check it still catches a real leak, I made a copy of the runner expose its workspace path on the error, and the test failed as it should.This is a dependency and test change with nothing to see, so there are no previews.
Review digest
Risk-tiered paths
package-lock.json(+13/−13): lockfilepackage.json(+4/−4): dependency manifestvendor/picomatch-v2/package.json(+1/−1): dependency manifestvendor/picomatch/package.json(+1/−1): dependency manifestapps/desktop/scripts/signed-rpm-acceptance-context.mjs(+2/−2)apps/desktop/scripts/signed-rpm-acceptance.Dockerfile(+2/−2)vendor/picomatch-4.0.8-extglobguard.1.tgz(deleted, +0/−0)vendor/picomatch-4.0.8-extglobguard.2.tgz(added, +0/−0)vendor/picomatch-4.0.8-v2.3.2-extglobguard.1.tgz(deleted, +0/−0)vendor/picomatch-4.0.8-v2.3.2-extglobguard.2.tgz(added, +0/−0)THIRD_PARTY_LICENSES.md(+1/−1)apps/desktop/scripts/signed-rpm-acceptance-context.test.mjs(+1/−1)apps/desktop/scripts/signed-rpm-acceptance-diagnostics.test.mjs(+12/−4)docs/dependency-audit-exceptions.md(+2/−2)test/vendoredPicomatch.test.mjs(+2/−2)vendor/picomatch-v2/README.md(+14/−4)vendor/picomatch/README.md(+14/−4)Diff size: 17 files changed, +69/−41 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3692.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!