fix: the real-fit strengths test read a gitignored snapshot #39
No reviewers
Labels
No labels
architecture
cleanup
dependencies
enhancement
needs-info
needs-triage
performance
priority: high
priority: medium
ready-for-agent
ready-for-human
reliability
security
testing
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
solvreven/FPL!39
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/strengths-test-needs-no-local-snapshot"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Targets
feat/captaincy-board(#31), notmain.test_the_real_fit_reads_the_results_it_is_givenloaded its clubs fromdata/pit/20260913T180117Z/bootstrap.json.data/pit/is gitignored, so the test passed on the machine that took that snapshot and raisedFileNotFoundErroron every clean checkout. It failed in 9 of #31's browser runs, and in 4 of them it was the only failure.The clubs now come from the committed 2025/26 archive the test already loads. The fit is still unstubbed.
Checked on a clean checkout with no
data/pit/:tests/web/test_strengths_follow_results.py: 15 passed.strengths_depsignoringresults_path, the test fails ("40 match(es)" read from the real file instead of the 1-match file it was given).Not touched:
test_header_narrow[400]. It fails on #31's head every time, locally too ("the page is 410px wide on a 400px screen"). It passed on earlier #31 runs, so a recent commit on the branch made the page 10px wider than a 400px phone. That's a real regression for #31 to fix, not noise.The CSS gate flake that also shows up on #31 is fixed in #38 (against
main). #31 gets it when it mergesmain.🤖 Generated with Claude Code