upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-13 17:42:08 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-13 17:42:08 +0000
commit8c903c9449d387c9b0edefa5aa283b176a3ed0cb (patch)
treed885c26e717a5078b3fe4fc02d888574fb6046f3 /tests
parent1d09e4bdea7e328cf2740818df9df660c5532a99 (diff)
fix: revert wrong sync approach for purgatory announcements
The partial fix treating ProcessResult::Purgatory as confirmed in pending_sync_index would trigger full L2/L3 sync for purgatory announcements. Per design (decision #6), purgatory announcements should only sync state events via SyncLevel::StateOnly (not yet implemented). Ignore test_archive_read_only_creates_bare_repo until SyncLevel is implemented in Phase 3.
Diffstat (limited to 'tests')
-rw-r--r--tests/archive_read_only.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/archive_read_only.rs b/tests/archive_read_only.rs
index e39b4b2..e388ae5 100644
--- a/tests/archive_read_only.rs
+++ b/tests/archive_read_only.rs
@@ -55,6 +55,7 @@ use std::time::Duration;
55/// 5. Verify bare repository is created and git data is synced 55/// 5. Verify bare repository is created and git data is synced
56/// 6. Verify git pushes are rejected (read-only mode) 56/// 6. Verify git pushes are rejected (read-only mode)
57#[tokio::test] 57#[tokio::test]
58#[ignore] // Requires SyncLevel implementation (Phase 3) - purgatory announcements don't trigger per-repo sync yet
58async fn test_archive_read_only_creates_bare_repo() { 59async fn test_archive_read_only_creates_bare_repo() {
59 // 1. Start source relay 60 // 1. Start source relay
60 let source_relay = TestRelay::start().await; 61 let source_relay = TestRelay::start().await;