-
-
Notifications
You must be signed in to change notification settings - Fork 106
feat: proximity-based update forwarding (clean implementation) #1937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
sanity
wants to merge
48
commits into
main
Choose a base branch
from
pr-1853-clean-restart
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
6c9be70
feat: Implement Phase 4 - Proximity-based update forwarding (#1848)
sanity 2e9ba4a
fix: Address [Codex] review comments from PR1851
sanity 3d72e88
fix: Address clippy errors for CI
sanity 3e57d48
feat: Implement cache state sync on new peer connections
sanity 6bf9262
feat: Implement periodic batch announcements for proximity cache
sanity 65c039e
fix: Resolve all three critical issues in proximity-based update forw…
sanity 0992b2e
Remove Phase X implementation artifacts from comments
sanity 5451ac4
Address code review feedback from @iduartgomez
sanity bc7122e
Fix proximity cache announcements and test issues
sanity d84367f
Add debug logging to diagnose CI test timeout
sanity 630cff1
Increase network stabilization time for CI environment
sanity daf948f
Increase cache announcement propagation delay for CI
sanity 26f9ce1
Remove debug logging from test
sanity 621be78
refactor: consolidate comments for easier review
sanity d6a3cac
fix: increase network stabilization delay for CI
sanity 3734ac8
test: add port release delay to prevent connection failures
sanity 17cbc4c
add proximity cache support to OpManager and related components
netsirius 4df12c7
fix: Remove unnecessary async from get_broadcast_targets_update
sanity 764a427
fix: Resolve stack overflow and improve proximity cache broadcasting
sanity 36dfd7c
fix: resolve transport-layer retransmission flooding
sanity 97e97a8
Merge branch 'main' into fix/1848-phase4-proximity-implementation
sanity bceb641
fix: reduce exponential backoff cap and increase test timeouts
sanity d02826f
fix: increase test_three_node_network_connectivity timeout to 300s
sanity 84892e4
fix: increase proximity test response timeouts to 120s
sanity 4d2bf81
fix: increase proximity test overall timeout from 300s to 500s
sanity a4e0a2c
fix: increase network stabilization delay from 45s to 120s
sanity 1c18a14
Merge branch 'main' into fix/1848-phase4-proximity-implementation
sanity 4643550
fix: increase test_three_node_network_connectivity operation timeouts…
sanity 442dda7
fix: prevent orphaned callbacks in handle_connect_peer causing channe…
sanity 93fa53e
refactor: reduce test timeouts after fixing orphaned callback bug
sanity d024921
refactor: use ContractInstanceId directly in proximity cache instead …
sanity 954a734
Merge branch 'main' into pr-1853-clean-restart
sanity 9ed4ff4
fix: make test_multiple_clients_subscription robust to CI timing
sanity bea1200
fix: poll for network readiness in test_three_node_network_connectivity
sanity 75e31c2
fix: poll for network readiness in test_proximity_based_update_forwar…
sanity 374cea1
fix: increase retry limits and reduce timeout for test_multiple_clien…
sanity 09ce89e
Merge main to update pr-1853-clean-restart
sanity c39aa3e
Fix flaky test by setting realistic min_connections for small networks
sanity 2861405
Add WebSocket connection retry logic for test reliability
sanity f3044f8
fix: reconnect WebSocket clients during test polling
sanity 440bbb8
fix: address proximity cache telemetry and test issues
sanity 17312b2
fix: restore 2-node proximity broadcast workaround with improved docs
sanity 951b22c
Revert "fix: restore 2-node proximity broadcast workaround with impro…
sanity e52b3c5
fix: Use temp directories in config test to avoid permission errors
sanity dd5a0fb
fix: set min_connections=1 for small test networks
sanity 15d4cf1
Merge branch 'main' into pr-1853-clean-restart
sanity 1f1f0e0
Merge main to pick up topology manager fix from PR #1963
sanity c7dd8d2
fix: revert connectivity test debugging changes to match main
sanity File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cached_since
andneighbor.last_update
are being set toSystemTime::now()
at query time, so every CLI call reports fresh timestamps even if nothing changed. That makes the introspection data look useful but it is effectively random. Could we either carry real timestamps from the cache manager or drop these fields for now so we do not mislead operators?