You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 430cea6
Browse filesBrowse the repository at this point in the historyBrowse files
chore(spec): clean up fellowship sediment + isolate races per run
Two-pronged fix for the shared-app data leak that pollutes client_spec
queries:
1. Active cleanup in before(:all): query_users by the four well-known
fellowship names (Frodo / Sam / Gandalf / Legolas) and hard-delete
any leftovers from prior runs whose after(:all) didn't fire.
delete_users is idempotent, so this is safe to re-run.
2. Per-run unique race tag (e.g. 'Hobbit-aBcD1234') so the queries-users
test stays isolated from concurrent runs and from the sliver between
the cleanup above and the new upserts.
The active-cleanup half stops the sediment from growing forever — the
random-tag-only patch (prior attempt) inserts new users with new tags
every run, so the shared app keeps accumulating users indefinitely.
Per-PR scratch app via create_app is still the right long-term fix and
is tracked separately.
0 commit comments