| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-12-18 | refactor: rename bootstrap.rs to historic_sync.rs for clarity | DanConwayDev | |
| 2025-12-18 | sync: turn off negentropy and fix some tests | DanConwayDev | |
| 2025-12-11 | fix: resolve all fmt and clippy warnings | DanConwayDev | |
| Main lib (src/): - Add #[allow(dead_code)] for build_info field (stored to prevent Prometheus unregistration) - Add #[allow(dead_code)] for first_seen field (reserved for future rate limiting) - Replace .or_insert_with(RelaySyncNeeds::default) with .or_default() - Replace manual div_ceil implementations with .div_ceil(100) Test code (tests/): - Replace .expect(&format!(...)) with .unwrap_or_else(|_| panic!(...)) - Remove needless borrows in fetch_metrics() calls - Add #[allow(dead_code)] and #[allow(unused_imports)] to test helpers module grasp-audit: - Apply cargo fmt to fix formatting | |||
| 2025-12-11 | sync: test sync works without negentropy and add disable option in sync | DanConwayDev | |
| 2025-12-10 | test(sync): add wait_for_sync_connection helper for improved reliability | DanConwayDev | |
| 2025-12-10 | test(sync): add rejection test for announcements without clone tags | DanConwayDev | |
| 2025-12-10 | refactor(tests): extract shared create_repo_announcement helper | DanConwayDev | |
| 2025-12-10 | Phase 5: Migrate bootstrap and discovery tests | DanConwayDev | |
| Create organized test structure for proactive sync: tests/common/sync_helpers.rs (from Phase 4): - TestClient with retry logic for connect/send - Event builders: build_layer2_issue_event, build_layer3_comment_event - Tag variants (a/A/q for Layer 2, e/E/q for Layer 3) - wait_for_event_on_relay() assertion helper - repo_coord() utility function - Unit tests for all builders tests/sync/mod.rs: - Module organization for sync tests - Documentation of test categories tests/sync.rs: - Main test harness including common and sync modules tests/sync/bootstrap.rs: - test_bootstrap_syncs_existing_layer2_events (Test 1) - test_relay_replays_events_after_restart (Test 4) tests/sync/discovery.rs: - test_discovers_layer3_via_layer2 (Test 2) - test_layer2_discovery_with_chain (Test 3 - simplified) All 14 tests pass: cargo test --test sync | |||