test: Add network divergence test demonstrating STO2-35#75
Closed
test: Add network divergence test demonstrating STO2-35#75
Conversation
Documents the critical gap between FakeNetwork (tests) and Docker (production): FakeNetwork: - <1μs latency, guaranteed FIFO delivery - 500 message buffer, no reconnection logic Docker: - 10-50ms+ latency (10,000x slower) - 100 message buffer, complex reconnection Tests show: - Identical operations have vastly different timing - BadFakeNetwork test configs use 1-3ms delays (10-50x too fast) - Untested production code paths in reconnection/DNS/heartbeat Recommendation: Update BadFakeNetwork tests to use Uniform::new(10, 50) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
This repository is currently set to inactive in Gecko Security. To enable automated security scanning for pull requests, please activate it in your Gecko Security dashboard. |
Contributor
Author
|
Solved in #77 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the critical gap between FakeNetwork (tests) and Docker (production):
FakeNetwork:
Docker:
Tests show:
Recommendation: Update BadFakeNetwork tests to use Uniform::new(10, 50)