Fix SqliteReplayEquivalenceTest: iterate polling sources only, not SyncSourceId.entries #101

Closed
opened 2026-08-21 11:27:25 +02:00 by thecrealm · 1 comment
Owner

Found 2026-08-21 while running :katrix-store-sqlite:jvmTest locally for #91. The test loops over SyncSourceId.entries; since M5 added APPSERVICE, ReplayCorpus.replay errors with 'the replay corpus covers the polling sources (CR-2)' and the whole equivalence test fails. Pre-existing on main (fails with the #91 change stashed). Fix: restrict the loop to V2 and SLIDING (the appservice leg is covered by AppserviceInboundTest per D46). Also check why the CI build job did not catch it.

Found 2026-08-21 while running :katrix-store-sqlite:jvmTest locally for #91. The test loops over SyncSourceId.entries; since M5 added APPSERVICE, ReplayCorpus.replay errors with 'the replay corpus covers the polling sources (CR-2)' and the whole equivalence test fails. Pre-existing on main (fails with the #91 change stashed). Fix: restrict the loop to V2 and SLIDING (the appservice leg is covered by AppserviceInboundTest per D46). Also check why the CI build job did not catch it.
Author
Owner

Correction to the body: CI did catch this — build run #253 (commit 35d2b4f, 2026-08-21) failed on SqliteReplayEquivalenceTest; the 'CI green' reading for that commit came from run #254, which is the spec-lint workflow. Each push produces two runs (build + spec-lint); the build run must be checked by job name. Fixed in 7288cd9.

Correction to the body: CI did catch this — build run #253 (commit 35d2b4f, 2026-08-21) failed on SqliteReplayEquivalenceTest; the 'CI green' reading for that commit came from run #254, which is the spec-lint workflow. Each push produces two runs (build + spec-lint); the build run must be checked by job name. Fixed in 7288cd9.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thecrealm/katrix#101
No description provided.