Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
f234ad8 to
4c61317
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: blocked before merge. Reviewed September 3, 2026, 8:21 PM ET / September 4, 2026, 00:21 UTC. ClawSweeper reviewWhat this changesThe PR doubles the npm bulk-advisory timeout and adds one timeout-only retry to the pre-commit production dependency audit, with focused retry tests. Merge readiness⛔ Blocked before merge - 5 items remain Keep this PR open but blocked: it retries only the pre-commit audit while current main’s release vulnerability gate still sends the same npm requests through the non-retrying helper. The latest review comment also records that the supplied hosted run timed out on both 120-second attempts, so recovery has not yet been demonstrated. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s dependency audits turn lockfile package graphs into npm bulk-advisory requests and fail CI or release validation when an audit cannot complete. The shared request helper feeds both the security-fast audit and the release vulnerability gate. flowchart LR
A[Lockfile package graphs] --> B[Bulk advisory request helper]
B --> C[Timeout policy]
C --> D[Security-fast audit]
C --> E[Release vulnerability gate]
D --> F[CI result]
E --> G[Release evidence]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceTests +44, Other +28. Total +72 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Put the bounded timeout-only retry at the shared advisory boundary, or route every production caller through one canonical wrapper, then prove one retry succeeds and 5xx responses still fail immediately through both entrypoints. Do we have a high-confidence way to reproduce the issue? No high-confidence successful current-head recovery run is available: source proves the release caller bypasses retry, and the supplied hosted attempt timed out twice. Is this the best way to solve the issue? No: the introduced retry is correct for one caller but is not the canonical solution because current main’s release vulnerability gate retains the same direct timeout path. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against cd8c74889d21. LabelsLabel justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
4c61317 to
e800ad2
Compare
|
@clawsweeper re-review |
e800ad2 to
9ff1be4
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
🦞👀 Re-review progress:
|
d10461a to
839767a
Compare
|
@clawsweeper re-review |
9ff1be4 to
e099bc4
Compare
|
🦞🧹 I asked ClawSweeper to review this item again. |
e099bc4 to
b3d2a81
Compare
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Refreshing the exact-head merge ref after the base/head retarget; no code change. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
🦞👀 Re-review progress:
|
|
The hosted result still needs to be reconciled before treating this as the audit-timeout repair: security-fast job 100856924139 logged the retry at 23:49:17 UTC and then failed after the second 120-second attempt at 23:51:17 UTC. The bounded retry preserves failure on an unsuccessful audit, but that run does not establish that the longer deadline/retry resolves the observed blockage. I am checking the unchanged bulk request through the actual helper, recording payload size and whether the stall occurs before response headers. Please retain this failed result alongside the successful local run; a successful current-head hosted audit is still needed before landing. No audit bypass is proposed. |
|
The unchanged helper reproduced the stall locally on its first 400-package request (14,781 bytes), with no response headers before its 60-second deadline. A fixed diagnostic sequence then tried a single-package 20-byte control, four 100-package partitions, and the original 400-package payload, each with a 15-second diagnostic cap. All six stalled before headers; an independent curl request for the single-package control also received zero bytes before its 15-second deadline. That does not isolate request size or Node's fetch implementation, and it gives no evidence for changing chunking. The npm status page currently lists Security Audit as operational, so I am not claiming an officially reported audit outage. The failed results are preserved; audit policy remains enforced. A recovered actual endpoint/hosted result is needed before another retry can establish readiness. A later two-request transport diagnostic adds a useful boundary: the registry ping returned HTTP 200 in 0.12 seconds. The same 20-byte advisory POST completed DNS, TCP, verified TLS, and its full upload in under 0.1 seconds, then received no response bytes before the 15-second cap. That observed request stalled after connection setup; it does not establish which registry or network component is responsible. |
|
I opened #137716 as the maintainer-owned replacement. The replacement preserves Dallin's co-author credit, but the landed diff must differ from this branch: the retry belongs inside the shared bulk-advisory fetch so both I will close this PR only after the replacement lands, with the landed commit linked here. |
|
Landed the maintainer-owned replacement in #137716 as commit 3d30b3a. Closing this PR because |
|
@clawsweeper re-review |
|
🦞🧹 Reason: re-review requires an open issue or PR. |
Summary
Why
The Wave 8 cleanup PRs repeatedly completed their code matrices, then failed
security-fastbecause npm's bulk advisory endpoint stopped responding. Longer timeouts and a retry also exhausted their bounds. OSV's maintained exact-version API remained responsive, so the public-registry audit can retain vulnerability coverage without making npm's outage a global CI blocker.Testing
pnpm vitest run test/scripts/pnpm-audit-prod.test.ts(39/39)OPENCLAW_PNPM_AUDIT_BULK_TIMEOUT_MS=1 node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high --allow-osv-fallback(real full-lockfile OSV fallback; clean)pnpm check:changedpnpm check:workflows(blocked before validation: local Python mirror lacks pinnedpre-commit==4.6.2)