chore(rivetkit): remove inline tests#4668
chore(rivetkit): remove inline tests#4668NathanFlurry wants to merge 1 commit intobreak-up/serialize-gateway-actor-keysfrom
Conversation
PR Review: chore(rivetkit): remove inline testsOverviewThis PR removes the inline client test abstraction from the RivetKit driver test suite (~2,675 lines deleted). The inline client was an alternative to the HTTP client routing calls through in-process handlers rather than over the network. Key deletions:
Code QualityThe simplification is clean. Removing the clientType branching from DriverTestConfig, SkipTests, and setupDriverTest reduces complexity meaningfully. The indentation fix in hibernatable-websocket-protocol.ts is purely cosmetic. Concerns1. Coverage gap: inter-actor c.client() API The deleted actor-inline-client.ts was the only test suite exercising the c.client() API (calling other actors from inside an actor action). If not covered elsewhere this is a meaningful regression. Please point to where it is tested, or add coverage back to the driver test matrix. 2. Deleted standalone test files tests/agent-os-session-lifecycle.test.ts tested writeFile, readFile, and exec on the agentOS actor. src/sandbox/actor.test.ts tested getSandboxUrl and the destroy-then-access error path. If neither is covered by the driver test matrix their deletion drops coverage entirely. 3. Strengthened assertions in request-access.ts The tests now always assert hasRequest === true. The removed comment noted that the file system driver does not have a request for inline connections. Fine since inline is gone, but worth documenting for future driver authors. The actor-queue.ts change to always assert structured error codes is a clean test strengthening. 4. Breaking public interface change clientTypes and skip.inline are removed from DriverTestConfig and SkipTests. Downstream driver configurations referencing these fields will get type errors. Worth noting in the PR description. SummaryThe simplification is well-executed. The main question before merging is whether c.client() inter-actor calls and the agentOS/sandbox lifecycle behaviors have coverage elsewhere. If not, consider porting minimal smoke tests for those paths directly into the driver test matrix. No blocking issues outside the coverage question. Generated with Claude Code |

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: