You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/driver-test-runner/SKILL.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,14 +173,16 @@ For each unchecked row in order, run the runtimes selected by the `runtime` arg
173
173
| native | local |
174
174
| wasm | remote |
175
175
176
-
**b) Build the filter command:**
176
+
**b) Build the scoped file command:**
177
177
178
178
Each suite lives in its own file under `rivetkit-typescript/packages/rivetkit/tests/driver/<file>.test.ts`. With env overrides set, the describe block nesting is:
Do not use Vitest `-t` for driver matrix cells. The env vars already constrain the file to one runtime/backend/encoding cell, and the `-t` path can break `describe.sequential` ordering in this suite.
185
+
184
186
Base command (native):
185
187
186
188
```bash
@@ -189,7 +191,6 @@ cd rivetkit-typescript/packages/rivetkit && \
Replace `<FILE>` with the file name stem (part before the `|` in the progress file) and `<SUITE_DESCRIPTION>` with the suite description (part after the `|`). Escape parentheses in the description if present. Forward slashes inside the describe path do not need to be escaped.
211
-
212
-
**Important:** The suite description in the `-t` filter must match the inner `describe(...)` text in the test file exactly. Some mappings:
210
+
Replace `<FILE>` with the file name stem (part before the `|` in the progress file). Keep the suite description in the progress file for human-readable tracking only. Some mappings:
213
211
214
212
| File | Suite Description Text |
215
213
|------|----------------------|
@@ -300,10 +298,11 @@ cd rivetkit-typescript/packages/rivetkit && \
For true single-test isolation, prefer a temporary `.only` while debugging and remove it before committing. Do not use `-t` as a flake workaround.
305
+
307
306
If the bug only appears on one runtime, that's a strong signal — focus the diff hunt on the corresponding runtime adapter (`napi-runtime.ts` / `wasm-runtime.ts`) and any wasm-feature-gated code in `rivetkit-core` and `rivetkit-typescript/packages/rivetkit-wasm`.
0 commit comments