diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-18 20:40:25 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-18 20:40:25 +0000 |
| commit | cdd129b715753c7b4042a519a7c3fb92be94da04 (patch) | |
| tree | 63ea0b867ca6d6615b7d25d61abf614517f8a47e /src/git/sync.rs | |
| parent | ee113a654e2971a6ebdb07398cc5638dbe59b48c (diff) | |
fix: restructure PR clone tag test to use bootstrap relay instead of user-submitted purgatory announcement
The test was failing because submitting an announcement directly to syncing_relay
(user-submitted, no bootstrap) leaves the announcement in purgatory with no mechanism
to trigger relay discovery - there are no existing sync connections whose batch EOSE
would fire recompute_new_sync_filters_for_relay.
Fix: start syncing_relay with source_grasp as bootstrap. The promoted announcement
syncs via L1 generic filter → purgatory (no local git data) → StateOnly subscription
→ state event → purgatory sync fetches git data → announcement promoted → SelfSubscriber
upgrades to Full → connects to mock_relay → PR event synced and promoted.
The test's primary purpose (PR event partial OID aggregation from multiple clone
URL sources) is fully preserved.
Diffstat (limited to 'src/git/sync.rs')
0 files changed, 0 insertions, 0 deletions