test(rivetkit): re-enable gateway URL and direct-registry coverage#4659
test(rivetkit): re-enable gateway URL and direct-registry coverage#4659NathanFlurry wants to merge 1 commit intobreak-up/restore-hibernating-socketsfrom
Conversation
Code ReviewOverviewThis PR re-enables previously commented-out gateway URL and direct-registry test coverage for raw HTTP and WebSocket connections. The old tests used direct registry endpoint access with explicit
IssuesSignificant: Code duplication across test files
The implementations have already diverged: Minor: Silently swallowed In try {
await refreshRunnerMetadata(...);
} catch {
// The engine can take a while to expose the metadata refresh
// endpoint in local test harnesses...
}If the refresh fails for reasons other than timing (misconfiguration, wrong token, network error), tests will silently proceed and produce misleading failures. Consider logging the error, or distinguishing transient network errors from hard failures. Minor: In app.post("/start", async (ctx) => {
return await actorDriver.serverlessHandleStart!(ctx);
});If a driver doesn't implement Minor: Missing The old commented-out tests included a "should handle connection parameters for authentication" case via Positive observations
Nit: CLAUDE.md recommends |

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: