-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
Open
Description
Description
The CI check job (pnpm check → pnpm tsgo) is currently failing on all pull requests with a TypeScript error unrelated to any PR changes:
Error: src/slack/monitor/slash.test-harness.ts(31,17): error TS2742:
The inferred type of 'getSlackSlashMocks' cannot be named without a
reference to '.pnpm/@[email protected]/node_modules/@vitest/spy'.
This is likely not portable. A type annotation is necessary.
Impact
- Blocks CI for every open PR regardless of the files changed
- The error is in
src/slack/monitor/slash.test-harness.ts, not in any PR-specific code - Downstream jobs (
build-artifacts,checks,macos,android, etc.) are all skipped
Reproduction
Open any recent PR and check the CI check job — it fails at the "Check types and lint and oxfmt" step.
Example failing runs:
- https://github.com/openclaw/openclaw/actions/runs/22039119925/job/63677349929
- https://github.com/openclaw/openclaw/actions/runs/22038835413
Suggested Fix
Add an explicit type annotation to getSlackSlashMocks in src/slack/monitor/slash.test-harness.ts (line 31) so TypeScript doesn't need to infer a type that references a non-portable .pnpm path.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels