Commit edb2c13
authored
feat(sandbox): add test counter and SQLite load actors (#4500)
## Summary
- Add `testCounter` actor: simple in-memory state counter with increment/getCount/reset
- Add `testCounterSqlite` actor: same counter interface backed by SQLite via `rivetkit/db`
- Add `testSqliteLoad` actor: 50 migrations in `onMigrate`, `runLoadTest` action runs 20 diverse SQLite queries (inserts, selects, joins, aggregates, updates)
## Test plan
- [x] Verified all three actors work e2e locally via curl against the gateway API
- [ ] Confirm actors appear in sandbox inspector UI
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent 6cc3f06 commit edb2c13
17 files changed
Lines changed: 5704 additions & 26 deletions
File tree
- engine/packages/pegboard/src/workflows
- examples/sandbox
- frontend
- scripts
- src
- actors/testing
- scripts/docker
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
29 | 41 | | |
30 | 42 | | |
31 | 43 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments