End-to-End Two-Node Mesh Integration Test Suite - #139
Merged
Mrwicks00 merged 1 commit intoJun 21, 2026
Conversation
Skinny001
force-pushed
the
feat/e2e-gossip-integration-tests
branch
3 times, most recently
from
June 21, 2026 02:37
f087a2c to
2eabace
Compare
- Add 4 integration tests (gossip round, anti-entropy sync, TTL decrement, concurrent) - Add TtlExpired variant to GossipError - Add TTL=0 guard in process_transaction_envelope - Fix mdns-sd dependency accidentally placed under linux-only target
Skinny001
force-pushed
the
feat/e2e-gossip-integration-tests
branch
from
June 21, 2026 02:42
2eabace to
f591001
Compare
7 tasks
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.
This pull request introduces a new TTL (Time-To-Live) enforcement mechanism to the gossip protocol and adds comprehensive integration tests for the gossip system. The main focus is to prevent infinite message propagation by respecting envelope TTLs, and to ensure the robustness and correctness of gossip message delivery and synchronization between peers.
close #118
Gossip Protocol Improvements:
TtlExpiredvariant to theGossipErrorenum to represent envelopes that have reached a TTL of zero and cannot be forwarded further.process_transaction_envelopefunction to check for TTL expiration and return aTtlExpirederror if the envelope's TTL is zero, preventing further propagation of expired messages.Testing Enhancements:
tests/gossip_integration_test.rsthat covers end-to-end gossip scenarios, including:Miscellaneous:
Cargo.tomlfor clarity; no functional impact.- Add 4 integration tests (gossip round, anti-entropy sync, TTL decrement, concurrent)