No tests for the Tank01 client retry path #437
Labels
No labels
Kestra
bug
enhancement
someday
subtask
☁️ api
🎛️ infrastructure
🐞 sentry
📆 2025 Season
📝 pages
allpicks
📝 pages
picks
📝 pages
standings
🚀 performance
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
johnsturgeon/tgfp-web#437
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
_http_get_with_retry(app/tank01_api/client.py) handles transient 501/502/503,httpx.RequestError, and exponential backoff. It has no coverage.The equivalent tests existed as
TestRetriesintests/test_tank01_api.pyand went out with that file whenNflApiwas deleted.tests/test_tank01_client.pycovers shapes and params but never a non-200.Worth having: this is a metered API on someone else's infrastructure.