diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3b0790412..a99f13508 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -31,14 +31,14 @@ jobs:
with:
node-version: '22.14'
# Note: We're not using the built-in cache here because we need to use corepack
-
+
- name: Setup Corepack
run: corepack enable
-
+
- id: yarn-cache-dir-path
name: Get yarn cache directory path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
-
+
- name: Cache dependencies
uses: actions/cache@v3
id: cache
@@ -50,14 +50,14 @@ jobs:
restore-keys: |
${{ runner.os }}-deps-${{ hashFiles('**/yarn.lock') }}-
${{ runner.os }}-deps-
-
+
- name: Install dependencies
run: yarn install
- # - name: Run actor-core tests
- # # TODO: Add back
- # # run: yarn test
- # run: yarn check-types
+ - name: Run actor-core tests
+ # TODO: Add back
+ # run: yarn test
+ run: yarn check-types
# - name: Install Rust
# uses: dtolnay/rust-toolchain@stable
diff --git a/CLAUDE.md b/CLAUDE.md
index 7f4ec0563..55bf4790d 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -25,6 +25,7 @@
- **Build:** `yarn build` - Production build using Turbopack
- **Build specific package:** `yarn build -F actor-core` - Build only specified package
- **Format:** `yarn fmt` - Format code with Biome
+- Do not run the format command automatically.
## Core Concepts
@@ -85,6 +86,9 @@ This ensures imports resolve correctly across different build environments and p
- Extend from `ActorError` base class
- Use `UserError` for client-safe errors
- Use `InternalError` for internal errors
+- Don't try to fix type issues by casting to unknown or any. If you need to do this, then stop and ask me to manually intervene.
+- Write log messages in lowercase
+- Instead of returning raw HTTP responses with c.json, use or write an error in packages/actor-core/src/actor/errors.ts and throw that instead. The middleware will automatically serialize the response for you.
## Project Structure
diff --git a/README.md b/README.md
index 6f3c0b794..499de11e4 100644
--- a/README.md
+++ b/README.md
@@ -49,7 +49,7 @@ Each unit of compute is like a tiny server that remembers things between request
**Durable State Without a Database**
-Your code's state is saved automatically—no database, ORM, or config needed. Just use regular JavaScript objects or SQLite (available in April).
+Your code's state is saved automatically—no database, ORM, or config needed. Just use regular JavaScript objects or SQLite (available in June).
@@ -96,7 +96,7 @@ Browse snippets for how to use ActorCore with different use cases.
| Multiplayer Game | [actor.ts](/examples/snippets/game/actor-json.ts) | [actor.ts](/examples/snippets/game/actor-sqlite.ts) | [App.tsx](/examples/snippets/game/App.tsx) |
| Rate Limiter | [actor.ts](/examples/snippets/rate/actor-json.ts) | [actor.ts](/examples/snippets/rate/actor-sqlite.ts) | [App.tsx](/examples/snippets/rate/App.tsx) |
-_SQLite will be available in late April. We’re working on publishing full examples related to these snippets. If you find an error, please create an issue._
+_SQLite will be available in June. We’re working on publishing full examples related to these snippets. If you find an error, please create an issue._
## Runs On Your Stack
@@ -142,7 +142,7 @@ Seamlessly integrate ActorCore with your favorite frameworks, languages, and too
- [AI SDK](https://github.com/rivet-gg/actor-core/issues/907) *(On The Roadmap)*
### Local-First Sync
--
[LiveStore](https://github.com/rivet-gg/actor-core/issues/908) *(Available In May)*
+-
[LiveStore](https://github.com/rivet-gg/actor-core/issues/908) *(Available In June)*
-
[ZeroSync](https://github.com/rivet-gg/actor-core/issues/909) *(Help Wanted)*
-
[TinyBase](https://github.com/rivet-gg/actor-core/issues/910) *(Help Wanted)*
-
[Yjs](https://github.com/rivet-gg/actor-core/issues/911) *(Help Wanted)*
diff --git a/docs/concepts/interacting-with-actors.mdx b/docs/concepts/interacting-with-actors.mdx
index 14773a56e..6d2196471 100644
--- a/docs/concepts/interacting-with-actors.mdx
+++ b/docs/concepts/interacting-with-actors.mdx
@@ -569,7 +569,6 @@ Other common errors you might encounter:
- `InternalError`: Error from your actor that's not a subclass of `UserError`
- `ManagerError`: Issues when connecting to or communicating with the actor manager
-- `NoSupportedTransport`: When the client and server have no compatible transport
## Disconnecting and Cleanup
diff --git a/docs/introduction.mdx b/docs/introduction.mdx
index f793122c6..5e64e72ce 100644
--- a/docs/introduction.mdx
+++ b/docs/introduction.mdx
@@ -67,7 +67,7 @@ import FAQ from "/snippets/landing-faq.mdx";
Your code's state is saved automatically—no database, ORM, or config needed. Just use regular JavaScript objects or SQLite (available in April).
+Your code's state is saved automatically—no database, ORM, or config needed. Just use regular JavaScript objects or SQLite (available in June).