diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-18 17:12:27 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-18 17:12:27 +0000 |
| commit | 07c8c00274298e90654207d8baceb1089514ccae (patch) | |
| tree | 931e1c5da2f7c605c50d6644012eed32d5c62b4e /src/sync/mod.rs | |
| parent | d76003b629a4a03dba23a8a1c41da6e4ac4c30cf (diff) | |
test: rewrite PR sync tests to reflect purgatory-first announcement flow
The tests now correctly reflect the actual purgatory behavior:
1. Announcement goes to purgatory (StateOnly) - not immediately accepted
2. State event goes to purgatory
3. Git push promotes announcement to Full and releases state event
4. PR event is sent AFTER announcement promotion (accepted since repo is Full)
5. PR commit push releases PR event from purgatory
This matches the design: announcements require git data validation before
being promoted to the database, which means PR events can only be accepted
for repos with promoted announcements.
Also routes relay stdout to /tmp/relay-{port}.log for easier debugging.
Diffstat (limited to 'src/sync/mod.rs')
0 files changed, 0 insertions, 0 deletions