Skip to content

Commit 5b8e173

Browse files
committed
chore: move rivetkit to task model
1 parent 28a55d1 commit 5b8e173

204 files changed

Lines changed: 40670 additions & 11479 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/home/nathan/.agents/skills/driver-test-runner/driver-engine-static-test-order.md
1+
/home/nathan/r6/.claude/skills/driver-test-runner/driver-engine-static-test-order.md
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# Driver Test Suite Progress
2+
3+
Started: 2026-04-21
4+
Config: registry (static), client type (http), encoding (bare)
5+
6+
## Fast Tests
7+
8+
- [x] manager-driver | Manager Driver Tests
9+
- [x] actor-conn | Actor Connection Tests
10+
- [x] actor-conn-state | Actor Connection State Tests
11+
- [x] conn-error-serialization | Connection Error Serialization Tests
12+
- [x] actor-destroy | Actor Destroy Tests
13+
- [x] request-access | Request Access in Lifecycle Hooks
14+
- [x] actor-handle | Actor Handle Tests
15+
- [x] action-features | Action Features
16+
- [x] access-control | access control
17+
- [x] actor-vars | Actor Variables
18+
- [x] actor-metadata | Actor Metadata Tests
19+
- [x] actor-onstatechange | Actor onStateChange Tests
20+
- [x] actor-db | Actor Database
21+
- [x] actor-db-raw | Actor Database (Raw) Tests
22+
- [x] actor-workflow | Actor Workflow Tests
23+
- [x] actor-error-handling | Actor Error Handling Tests
24+
- [x] actor-queue | Actor Queue Tests
25+
- [x] actor-kv | Actor KV Tests
26+
- [x] actor-stateless | Actor Stateless Tests
27+
- [x] raw-http | raw http
28+
- [x] raw-http-request-properties | raw http request properties
29+
- [x] raw-websocket | raw websocket
30+
- [x] actor-inspector | Actor Inspector HTTP API
31+
- [x] gateway-query-url | Gateway Query URLs
32+
- [x] actor-db-pragma-migration | Actor Database PRAGMA Migration Tests
33+
- [x] actor-state-zod-coercion | Actor State Zod Coercion Tests
34+
- [x] actor-conn-status | Connection Status Changes
35+
- [x] gateway-routing | Gateway Routing
36+
- [x] lifecycle-hooks | Lifecycle Hooks
37+
38+
## Slow Tests
39+
40+
- [x] actor-state | Actor State Tests
41+
- [x] actor-schedule | Actor Schedule Tests
42+
- [ ] actor-sleep | Actor Sleep Tests
43+
- [ ] actor-sleep-db | Actor Sleep Database Tests
44+
- [ ] actor-lifecycle | Actor Lifecycle Tests
45+
- [ ] actor-conn-hibernation | Actor Connection Hibernation Tests
46+
- [ ] actor-run | Actor Run Tests
47+
- [ ] hibernatable-websocket-protocol | hibernatable websocket protocol
48+
- [ ] actor-db-stress | Actor Database Stress Tests
49+
50+
## Excluded
51+
52+
- [ ] actor-agent-os | Actor agentOS Tests (skip unless explicitly requested)
53+
54+
## Log
55+
56+
- 2026-04-21 manager-driver: PASS (16 tests, 32 skipped, 23s)
57+
- 2026-04-21 actor-conn: PASS on rerun (23 tests, 46 skipped). Flaky once: `onClose...via dispose` (cold-start waitFor timeout), then `should unsubscribe from events` (waitFor hook timeout). Both pass in isolation; cleared on full-suite rerun.
58+
- 2026-04-21 actor-conn-state: PASS (8 tests, 16 skipped)
59+
- 2026-04-21 conn-error-serialization: PASS (3 tests, 6 skipped)
60+
- 2026-04-21 actor-destroy: PASS (10 tests, 20 skipped)
61+
- 2026-04-21 request-access: PASS (4 tests, 8 skipped)
62+
- 2026-04-21 actor-handle: PASS (12 tests, 24 skipped)
63+
- 2026-04-21 action-features: PASS (11 tests, 22 skipped). Note: suite description is `Action Features`, not `Action Features Tests` — skill mapping is stale.
64+
- 2026-04-21 access-control: PASS (8 tests, 16 skipped)
65+
- 2026-04-21 actor-vars: PASS (5 tests, 10 skipped)
66+
- 2026-04-21 actor-metadata: PASS (6 tests, 12 skipped)
67+
- 2026-04-21 actor-onstatechange: PASS (5 tests, 10 skipped). Note: describe is `Actor onStateChange Tests` (lowercase `on`), not `Actor State Change Tests`.
68+
- 2026-04-21 actor-db: PASS on rerun (16 tests, 32 skipped). Flaky once: `supports shrink and regrow workloads with vacuum``An internal error occurred` during `insertPayloadRows`. Passed in isolation and on rerun.
69+
- 2026-04-21 actor-db-raw: PASS (4 tests, 8 skipped). Describe is `Actor Database (Raw) Tests` (parens in name).
70+
- 2026-04-21 actor-workflow: PASS on rerun (18 tests, 39 skipped). Flaky once: `tryStep and try recover terminal workflow failures``no_envoys`. Passed in isolation + rerun.
71+
- 2026-04-21 actor-error-handling: PASS (7 tests, 14 skipped)
72+
- 2026-04-21 actor-queue: PASS (25 tests, 50 skipped)
73+
- 2026-04-21 actor-kv: PASS (3 tests, 6 skipped)
74+
- 2026-04-21 actor-stateless: PASS (6 tests, 12 skipped)
75+
- 2026-04-21 raw-http: PASS (15 tests, 30 skipped)
76+
- 2026-04-21 raw-http-request-properties: PASS (16 tests, 32 skipped)
77+
- 2026-04-21 raw-websocket: PASS (11 tests, 28 skipped)
78+
- 2026-04-21 actor-inspector: PASS (21 tests, 42 skipped). Describe is `Actor Inspector HTTP API`.
79+
- 2026-04-21 gateway-query-url: PASS (2 tests, 4 skipped). Describe is `Gateway Query URLs`.
80+
- 2026-04-21 actor-db-pragma-migration: PASS (4 tests, 8 skipped). Describe is `Actor Database PRAGMA Migration Tests`.
81+
- 2026-04-21 actor-state-zod-coercion: PASS (3 tests, 6 skipped)
82+
- 2026-04-21 actor-conn-status: PASS (6 tests, 12 skipped)
83+
- 2026-04-21 gateway-routing: PASS (8 tests, 16 skipped)
84+
- 2026-04-21 lifecycle-hooks: PASS (8 tests, 16 skipped)
85+
- 2026-04-21 FAST TESTS COMPLETE
86+
- 2026-04-21 actor-state: PASS (3 tests, 6 skipped)
87+
- 2026-04-21 actor-schedule: PASS (4 tests, 8 skipped)
88+
- 2026-04-21 actor-sleep: FAIL (4 failed, 17 passed, 45 skipped, 66 total). Re-ran after `pnpm --filter @rivetkit/rivetkit-napi build:force` — same 4 failures:
89+
- `actor automatically sleeps after timeout` (line 193): sleepCount=0, expected 1
90+
- `actor automatically sleeps after timeout with connect` (line 222): sleepCount=0, expected 1
91+
- `alarms wake actors` (line 383): sleepCount=0, expected 1
92+
- `long running rpcs keep actor awake` (line 427): sleepCount=0, expected 1
93+
Common pattern: every failing test expects the actor to sleep after SLEEP_TIMEOUT (1000ms) + 250ms of idle time. Actor never calls `onSleep` (sleepCount stays 0). Tests that use explicit keep-awake or preventSleep/noSleep paths all pass. Likely regression in the idle-timer-triggered sleep path introduced by the uncommitted task-model migration changes in `rivetkit-rust/packages/rivetkit-core/src/actor/sleep.rs` + `task.rs`.
94+

0 commit comments

Comments
 (0)