fix(update): query npm metadata through npm#93537
Conversation
eac8588 to
4f9d442
Compare
|
ClawSweeper review: did not complete due to Codex infrastructure failure. Reviewed June 16, 2026, 9:04 PM ET / 01:04 UTC. Summary PR surface: Source +156, Tests +127. Total +283 across 10 files. Reproducibility: unclear. The review failed before ClawSweeper could establish a reproduction path. Review metrics: none identified. Stored data model Merge readiness This is a ClawSweeper/Codex infrastructure failure, not a PR readiness or patch-quality verdict. Risk before merge
Maintainer options:
Next step before merge
Review detailsBest possible solution: Retry the Codex review after fixing the execution failure. Do we have a high-confidence way to reproduce the issue? Unclear. The review failed before ClawSweeper could establish a reproduction path. Is this the best way to solve the issue? Unclear. Retry the review first so ClawSweeper can evaluate the actual issue and fix direction. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against dcbea6235101. Label changesLabel changes:
Evidence reviewedPR surface: Source +156, Tests +127. Total +283 across 10 files. View PR surface stats
What I checked:
Likely related people:
How this review workflow works
|
21e54c9 to
5e13739
Compare
5e13739 to
70813f9
Compare
70813f9 to
0acb41a
Compare
42d3cdd to
04a54e9
Compare
04a54e9 to
0799dfa
Compare
cbfd04b to
a46e7b1
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Superseded by #93879, which keeps the npm metadata change in an attribution-preserving split and includes the owning-npm/Bun fallback corrections plus focused validation. Closing this mixed PR in favor of the replacement. |
Closes #79140.
Summary:
npm view --globalso npm resolves registry config and scoped auth..npmrcpoints at a different registry.Real behavior proof
Behavior addressed: update checks no longer hardcode
registry.npmjs.orgor bypass npm scoped auth when resolving OpenClaw package metadata.Real environment tested: local source checkout on macOS with npm and a temporary HTTP registry stub.
Exact steps or command run after this patch:
node scripts/run-vitest.mjs src/infra/update-check.test.tsEvidence after fix: the test
uses npm global scope, user config auth, and ignores project npmrc for real metadatapassed; the stub registry recorded/user/openclawandAuthorization: Bearer test-token, with no/project/registry request.Observed result after fix:
17 passed (17).What was not tested: a live private third-party npm registry; the local stub exercises npm actual
npm view --globalrequest/auth behavior without external credentials.