chore(engine): roxiproxi tests#4864
chore(engine): roxiproxi tests#4864NathanFlurry wants to merge 1 commit into04-28-feat_sqlite_benchmark_cold_readsfrom
Conversation
Preview packages published to npmInstall with: npm install rivetkit@pr-4864All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-06929ff
docker pull rivetdev/engine:full-06929ffIndividual packagesnpm install rivetkit@pr-4864
npm install @rivetkit/react@pr-4864
npm install @rivetkit/rivetkit-napi@pr-4864
npm install @rivetkit/workflow-engine@pr-4864 |
7bbb3c9 to
5aff63c
Compare
Code Review: chore(engine): roxiproxi testsOverviewThis PR adds Toxiproxy-based network fault testing infrastructure to validate envoy reconnection behavior after server-side TCP resets. Key additions:
IssuesSingle-proxy constraint not enforced (
This introduces a
Same pattern. This is more defensible as external-service readiness polling (equivalent to retry backoff), but it would be cleaner to use the Timing dependency in test ( The comment "The reset toxic applies when the engine next writes to the Envoy control WebSocket. The ping task writes every few seconds in the test config" is a hidden timing assumption. The 90-second test timeout gives headroom, but correctness depends on a ping interval set in external test config. Consider verifying the timeout accounts for 2× the worst-case ping interval, or triggering a message send explicitly rather than relying on the background ping.
Minor Points
Positives
|

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: