Tests wait for the entity graph to settle. #7

Closed
oliver.maklott wants to merge 0 commits from oliver.maklott/media-test-settle into main AGit

Two graph tests failed intermittently in CI's encrypted step (and 10 of 14 times locally under CPU load): a full entity-graph rebuild scheduled by an earlier test ran in the middle of a later one, and while a rebuild runs the app defers graph syncs until its flip, so a file missing from the serving generation is refused.

The tests now build the graph, drop the pending rebuild timer and wait for the rebuild flag before they assert (0 of 10 failures under the same load). No change to the pack's code; this lets 0.6.0 publish.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2

Two graph tests failed intermittently in CI's encrypted step (and 10 of 14 times locally under CPU load): a full entity-graph rebuild scheduled by an earlier test ran in the middle of a later one, and while a rebuild runs the app defers graph syncs until its flip, so a file missing from the serving generation is refused. The tests now build the graph, drop the pending rebuild timer and wait for the rebuild flag before they assert (0 of 10 failures under the same load). No change to the pack's code; this lets 0.6.0 publish. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2
Tests bring the entity graph to rest before they assert on it (a background rebuild defers syncs until its flip, which made two tests fail under load).
All checks were successful
Publish / dev-image (pull_request) Successful in 0s
Publish / test (pull_request) Successful in 45s
Publish / pack-and-publish (pull_request) Has been skipped
9d942612b9
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4ghusFjH71tHhZetH2
oliver.maklott closed this pull request 2026-11-22 16:02:34 +01:00
All checks were successful
Publish / dev-image (pull_request) Successful in 0s
Publish / test (pull_request) Successful in 45s
Publish / pack-and-publish (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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
limedoc-plugins/media!7
No description provided.