Add timeout= to every requests.get/post/put/patch/delete call so that
background threads cannot hang indefinitely when the network is stalled:
- timeout=30 on all API calls (delete, post, patch, get — 13 locations)
- timeout=120 on file upload calls (requests.put with data= — 3 locations)
to allow sufficient time for large file transfers
Add 1 new unit test that scans the source file and fails if any
requests.* call is missing a timeout= parameter.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>