Repository navigation
test(scanner): find OpenClaw's scanner in .mjs chunks - #490
Conversation
openclaw 2026.10.x moved its dist chunks from .js to .mjs, so the scanner test (which only matched scanner-*.js) found nothing and failed with "scanner chunk not found" on Dependabot #486. Accept both extensions. Verified locally against openclaw 2026.10.4 and the current pin: 2 passed.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
DeepSeek V4.1 Flash added; free v4-flash pins follow the free default (#487). Catalog synced to the live gateway: six chat models, grok-imagine-video-1.5, retired ids follow the gateway redirect (#485). CI and publish on Node 24 (#488), scanner test reads .mjs chunks (#490), tsup 9 / vitest 5 (#486). dist/ rebuilt.
On Dependabot #486, the scanner check is the only one still red after #488 (Node 24). The test fails with
Scanner not available: scanner chunk not foundbecause openclaw 2026.10.4 now ships its dist chunks as.mjs(scanner-AFrN6W5N.mjs), and the test only matchedscanner-*.js.This makes the test accept both
.jsand.mjs. I ran it locally against both openclaw versions (the current pin and 2026.10.4 from #486), and both passed (2 tests each).Summary by CodeRabbit
.jsand.mjsdistribution chunks while preserving existing filename patterns.