ArtworkContractTests can count one more artwork event from the real backend than the fake #231

Closed
opened 2026-10-27 10:15:26 -05:00 by ethan-hann · 1 comment
Owner

Savepoint.App.Tests.Contract.ArtworkContractTests.The_real_backend_tells_the_same_artwork_story_as_the_fake failed once in a full Linux VM gate on integration-0918 (331d087f) with "fake: events after looking: 3 / real: events after looking: 4" and "events at the end: 5 / 6", then passed 4 of 4 runs of the class alone on the same VM. The real backend sometimes raises an extra artwork-changed event (likely a refresh racing the lookup) that the story counts. Find which event is extra, then either make the real backend not raise a duplicate or make the contract compare the artwork states the events lead to instead of raw counts. No retries exist any more (D60), so a flake fails the gate.

`Savepoint.App.Tests.Contract.ArtworkContractTests.The_real_backend_tells_the_same_artwork_story_as_the_fake` failed once in a full Linux VM gate on integration-0918 (331d087f) with "fake: events after looking: 3 / real: events after looking: 4" and "events at the end: 5 / 6", then passed 4 of 4 runs of the class alone on the same VM. The real backend sometimes raises an extra artwork-changed event (likely a refresh racing the lookup) that the story counts. Find which event is extra, then either make the real backend not raise a duplicate or make the contract compare the artwork states the events lead to instead of raw counts. No retries exist any more (D60), so a flake fails the gate.
ethan-hann added this to the Code Cleanup milestone 2026-10-27 10:15:26 -05:00
Author
Owner
Fixed in 0.9.19 (PR 252): https://git.tortal.tech/ethan-hann/SavePoint/releases/tag/v0.9.19
Sign in to join this conversation.
No milestone
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
ethan-hann/SavePoint#231
No description provided.