Commit 79de4f1
test(queue_sender): stop the reupload-cleanup tests depending on an ambient region
CI fails these 8 tests with `botocore.exceptions.NoRegionError`. `index.py` builds
its sqs/s3/cloudwatch clients at module scope, and the `mock_env` fixture set every
other environment variable the module needs but not a region — so the tests
silently inherited one from the developer's environment, passed locally, and failed
in CI.
Reproduced under CI conditions locally (region, profile and credential files all
unset): 8 failed before, 8 pass after, and they still pass with a region present.
Not caused by this PR — it blocks it. The test workflow runs on pull requests only,
so a push to develop does not run the suite, which is how it got in.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 8742fcb commit 79de4f1
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments