|
1 | 1 | # Driver Test Suite Progress |
2 | 2 |
|
3 | | -Started: 2026-05-01 |
4 | | -Config: registry (static), client type (http), encoding (bare) |
5 | | -Scope: DB driver tests only |
6 | | - |
7 | | -## DB Tests |
8 | | - |
9 | | -- [x] actor-db | Actor Database |
10 | | -- [x] actor-db-raw | Actor Database Raw Tests |
11 | | -- [x] actor-db-pragma-migration | Actor Database Pragma Migration |
12 | | -- [x] actor-sleep-db | Actor Sleep Database Tests |
13 | | -- [x] actor-db-stress | Actor Database Stress Tests |
14 | | -- [x] actor-db-init-order | Actor DB Init Order |
| 3 | +Started: 2026-05-02 |
| 4 | +Config: registry (static), encoding (bare), runtimes (native, wasm) |
| 5 | + |
| 6 | +Each row: `[native] [wasm] <file> | <suite description>` |
| 7 | + |
| 8 | +## Fast Tests |
| 9 | + |
| 10 | +- [x] [x] manager-driver | Manager Driver Tests |
| 11 | +- [x] [x] actor-conn | Actor Connection Tests |
| 12 | +- [x] [x] actor-conn-state | Actor Connection State Tests |
| 13 | +- [x] [x] conn-error-serialization | Connection Error Serialization Tests |
| 14 | +- [x] [x] actor-destroy | Actor Destroy Tests |
| 15 | +- [x] [x] request-access | Request Access in Lifecycle Hooks |
| 16 | +- [x] [x] actor-handle | Actor Handle Tests |
| 17 | +- [x] [x] action-features | Action Features Tests |
| 18 | +- [x] [x] access-control | access control |
| 19 | +- [x] [x] actor-vars | Actor Variables |
| 20 | +- [x] [x] actor-metadata | Actor Metadata Tests |
| 21 | +- [x] [x] actor-onstatechange | Actor State Change Tests |
| 22 | +- [x] [-] actor-db | Actor Database (wasm: incomplete - pegboard-envoy SQL exec handlers stubbed) |
| 23 | +- [x] [-] actor-db-raw | Actor Database Raw Tests (wasm: same) |
| 24 | +- [x] [-] actor-db-init-order | Actor Db Init Order (wasm: same) |
| 25 | +- [x] [-] actor-workflow | Actor Workflow Tests (wasm: 4 fail - workflow uses SQLite, gated on remote SQL exec) |
| 26 | +- [x] [x] actor-error-handling | Actor Error Handling Tests |
| 27 | +- [x] [x] actor-queue | Actor Queue Tests |
| 28 | +- [x] [x] actor-kv | Actor KV Tests |
| 29 | +- [x] [x] actor-stateless | Actor Stateless Tests |
| 30 | +- [x] [x] raw-http | raw http |
| 31 | +- [x] [x] raw-http-request-properties | raw http request properties |
| 32 | +- [x] [x] raw-websocket | raw websocket |
| 33 | +- [x] [-] actor-inspector | Actor Inspector Tests (wasm: 5/20 fail on database/* endpoints) |
| 34 | +- [x] [x] gateway-query-url | Gateway Query URL Tests |
| 35 | +- [x] [-] actor-db-pragma-migration | Actor Database Pragma Migration (wasm: same) |
| 36 | +- [x] [x] actor-state-zod-coercion | Actor State Zod Coercion |
| 37 | +- [x] [x] actor-conn-status | Connection Status Changes |
| 38 | +- [x] [x] gateway-routing | Gateway Routing |
| 39 | +- [x] [x] lifecycle-hooks | Lifecycle Hooks |
| 40 | +- [-] [-] serverless-handler | Serverless Handler Tests (1/3 fails on both: streaming pings test internal error) |
| 41 | + |
| 42 | +## Slow Tests |
| 43 | + |
| 44 | +- [x] [x] actor-state | Actor State Tests |
| 45 | +- [x] [x] actor-save-state | Actor Save State Tests |
| 46 | +- [x] [-] actor-schedule | Actor Schedule Tests (wasm: 1 fail - "scheduled action can use c.db") |
| 47 | +- [x] [-] actor-sleep | Actor Sleep Tests (wasm: 17/22 fail - sleep tests use SQLite for restore checks) |
| 48 | +- [-] [-] actor-sleep-db | Actor Sleep Database Tests (native: 1/24 fail - "ws handler exceeding grace period should still complete db writes") |
| 49 | +- [x] [-] actor-lifecycle | Actor Lifecycle Tests (wasm: 2/11 fail) |
| 50 | +- [-] [-] actor-conn-hibernation | Actor Connection Hibernation Tests (native: 4/5 fail - hibernation timeouts) |
| 51 | +- [x] [-] actor-run | Actor Run Tests (wasm: 2/8 fail) |
| 52 | +- [-] [ ] hibernatable-websocket-protocol | hibernatable websocket protocol (native: 1/2 fail - replays only unacked indexed websocket messages) |
| 53 | +- [x] [-] actor-db-stress | Actor Database Stress Tests (wasm: 4/5 fail - SQL exec gap) |
| 54 | + |
| 55 | +## Excluded |
| 56 | + |
| 57 | +- [ ] [ ] actor-agent-os | Actor agentOS Tests (skip unless explicitly requested) |
| 58 | + |
| 59 | +## Notes |
| 60 | + |
| 61 | +- Vitest `-t` filter triggers parallel-test timeouts on this branch; running test files without a `-t` filter works fine. Each file's outer suite is already scoped to one runtime/sqlite/encoding cell via env vars. |
15 | 62 |
|
16 | 63 | ## Log |
17 | | -<<<<<<< HEAD |
18 | | - |
19 | | -- 2026-04-26T14:06:57-07:00 manager-driver: PASS |
20 | | - |
21 | | -- 2026-04-26T14:07:27-07:00 actor-conn: PASS |
22 | | - |
23 | | -- 2026-04-26T14:07:37-07:00 actor-conn-state: PASS |
24 | | - |
25 | | -- 2026-04-26T14:07:42-07:00 conn-error-serialization: PASS |
26 | | - |
27 | | -- 2026-04-26T14:08:14-07:00 actor-destroy: PASS |
28 | | - |
29 | | -- 2026-04-26T14:08:19-07:00 request-access: PASS |
30 | | - |
31 | | -- 2026-04-26T14:08:31-07:00 actor-handle: PASS |
32 | | - |
33 | | -- 2026-04-26T14:08:31-07:00 action-features: PASS |
34 | | - |
35 | | -- 2026-04-26T14:08:46-07:00 access-control: PASS |
36 | | - |
37 | | -- 2026-04-26T14:08:51-07:00 actor-vars: PASS |
38 | | - |
39 | | -- 2026-04-26T14:08:58-07:00 actor-metadata: PASS |
40 | | - |
41 | | -- 2026-04-26T14:08:59-07:00 actor-onstatechange: PASS |
42 | | - |
43 | | -- 2026-04-26T14:10:59-07:00 actor-db: FAIL (exit 124) |
44 | | - |
45 | | -- 2026-04-26T14:12:00-07:00 runner: stale suite-description filters found for action-features, actor-onstatechange, actor-db, gateway-query-url, and likely other renamed suites; switching to per-file bare filter. |
46 | | - |
47 | | -- 2026-04-26T14:12:54-07:00 action-features: PASS (bare file filter) |
48 | | - |
49 | | -- 2026-04-26T14:12:59-07:00 actor-onstatechange: PASS (bare file filter) |
50 | | - |
51 | | -- 2026-04-26T14:17:33-07:00 actor-db: FAIL (exit 1, bare file filter) |
52 | | - |
53 | | -- 2026-05-02T00:19:36-07:00 actor-conn-state: FAIL - new onConnect send regression timed out before sender wiring fix. |
54 | | - |
55 | | -- 2026-05-02T00:24:56-07:00 actor-conn-state: PASS (static/bare file filter, 9 tests). |
56 | | - |
57 | | -- 2026-05-02T02:26:38-07:00 actor-conn-state: PASS (static/bare file filter with c.conns onConnect send, 9 tests). |
58 | 64 |
|
59 | | -- 2026-05-02T02:55:45-07:00 actor-conn-state: PASS (static/bare file filter with explicit pre-await onConnect subscription regression, 9 tests). |
60 | | -======= |
61 | | -- 2026-05-01 12:45:05 PDT actor-db: FAIL - 4 failures in static/bare run. First failing test reproduced standalone: `persists across sleep and wake cycles` returned count 0 instead of 1 after sleep/wake. |
62 | | -- 2026-05-01 13:02:09 PDT actor-db: PASS (13 passed, 26 skipped, 25.4s). Fixed VFS persisted page-1 bootstrap, hot-only sparse page reads, and actor2 serverful reallocate transition ordering. |
63 | | -- 2026-05-01 13:02:30 PDT actor-db-raw: PASS (5 passed, 10 skipped, 4.5s). |
64 | | -- 2026-05-01 13:02:52 PDT actor-db-pragma-migration: PASS (4 passed, 8 skipped, 4.0s). |
65 | | -- 2026-05-01 13:10:52 PDT actor-sleep-db: PASS (14 passed, 58 skipped, 59.1s). Fixed sleep DB fixture hold behavior and made sqlite cleanup terminal for stale actor-context instances. |
66 | | -- 2026-05-01 13:11:48 PDT actor-db-stress: PASS (3 passed, 27.8s). |
67 | | -- 2026-05-01 13:12:41 PDT actor-db-init-order: PASS (6 passed, 12 skipped, 7.4s). |
68 | | -- 2026-05-01 13:13:02 PDT DB TESTS COMPLETE - 6/6 DB file groups passed for static/bare. |
69 | | -- 2026-05-01 14:22:27 PDT DB TESTS RERUN STARTED - static/bare. |
70 | | -- 2026-05-01 14:23:06 PDT actor-db rerun: PASS (13 passed, 26 skipped, 23.7s). |
71 | | -- 2026-05-01 14:23:25 PDT actor-db-raw rerun: PASS (5 passed, 10 skipped, 5.3s). |
72 | | -- 2026-05-01 14:24:37 PDT actor-db-pragma-migration rerun: PASS (4 passed, 8 skipped, 53.4s). |
73 | | -- 2026-05-01 14:25:56 PDT actor-sleep-db rerun: PASS (14 passed, 58 skipped, 64.0s). |
74 | | -- 2026-05-01 14:27:04 PDT actor-db-stress rerun: PASS (3 passed, 28.7s). |
75 | | -- 2026-05-01 14:28:00 PDT actor-db-init-order rerun: PASS (6 passed, 12 skipped, 7.9s). |
76 | | -- 2026-05-01 14:28:04 PDT DB TESTS RERUN COMPLETE - 6/6 DB file groups passed for static/bare. |
77 | | ->>>>>>> 62f797206 (feat(sqlite): pitr & forking) |
| 65 | +- 2026-05-02 manager-driver [native]: PASS (16/16, 19.8s) |
| 66 | +- 2026-05-02 manager-driver [wasm]: PASS (16/16, 15.0s) |
| 67 | +- 2026-05-02 actor-conn [native]: PASS (24/24) |
| 68 | +- 2026-05-02 actor-conn [wasm]: PASS (24/24) |
| 69 | +- 2026-05-02 actor-conn-state [native]: PASS (9/9, 7.4s) after stubbing preload-hint code in `rivetkit-core/src/actor/sqlite.rs` and rebuilding NAPI. |
| 70 | +- 2026-05-02 actor-conn-state [wasm]: PASS (9/9, 16.7s) |
| 71 | +- 2026-05-02 conn-error-serialization [native]: PASS (3/3) |
| 72 | + |
| 73 | +## Final summary |
| 74 | + |
| 75 | +**Native (NAPI / sqlite-local)**: 37/42 entries pass, 4 fail, and 1 is excluded. Failing files: |
| 76 | +- `actor-conn-hibernation` — 4/5 fail (hibernation regression) |
| 77 | +- `hibernatable-websocket-protocol` — 1/2 fail (replay regression) |
| 78 | +- `actor-sleep-db` — 1/24 fail (grace-period race) |
| 79 | +- `serverless-handler` — 1/3 fail (streaming pings internal error) |
| 80 | + |
| 81 | +**Wasm (rivetkit-wasm / sqlite-remote)**: 26/42 entries pass, 13 fail, and 3 are unrun or excluded. Failing files are dominated by remote-SQLite execute paths being stubbed in `pegboard-envoy/src/ws_to_tunnel_task.rs`: |
| 82 | +- `actor-db`, `actor-db-raw`, `actor-db-init-order`, `actor-db-pragma-migration`, `actor-db-stress` |
| 83 | +- `actor-workflow` (workflow uses SQLite) |
| 84 | +- `actor-inspector` (5/20 — DB endpoints only) |
| 85 | +- `actor-schedule` (1/4 — DB scheduled action) |
| 86 | +- `actor-sleep` (17/22 — sleep tests use SQLite restore) |
| 87 | +- `actor-sleep-db` |
| 88 | +- `actor-lifecycle` (2/11) |
| 89 | +- `actor-run` (2/8) |
| 90 | +- `serverless-handler` (1/3) |
| 91 | + |
| 92 | +Follow-up branches in this stack address the actionable failures from this snapshot. |
0 commit comments