Skip to content

Handle AWS outages with allowlist skip-on-failure#226

Merged
peterschmidt85 merged 3 commits intomainfrom
fix/aws-skip-on-failure-region
Apr 3, 2026
Merged

Handle AWS outages with allowlist skip-on-failure#226
peterschmidt85 merged 3 commits intomainfrom
fix/aws-skip-on-failure-region

Conversation

@peterschmidt85
Copy link
Copy Markdown
Contributor

Summary

  • Add a temporary AWS region allowlist for skip-on-failure behavior
  • Keep normal behavior for all other regions (fail fast on unexpected region failures)
  • For allowlisted regions, skip only when the API call fails (do not pre-skip if region works)
  • Log a warning only when a skip actually happens

Validation

  • pre-commit run (ruff + ruff-format): passed
  • ./.venv/bin/python -m py_compile src/gpuhunt/providers/aws.py: passed
  • CATALOG_DIR=/Users/dstack/gpuhunt ./.venv/bin/pytest src/integrity_tests/test_aws.py -q: 3 passed

@peterschmidt85 peterschmidt85 requested a review from jvstme April 2, 2026 18:54
@peterschmidt85 peterschmidt85 merged commit 1c14ee5 into main Apr 3, 2026
17 checks passed
@peterschmidt85 peterschmidt85 deleted the fix/aws-skip-on-failure-region branch April 3, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants