Skip to content

Retry failed Spot jobs on standard capacity without restarting cancelled jobs - #2

Merged
davek44 merged 2 commits into
mainfrom
fix/gcp-spot-fallback
Oct 5, 2026
Merged

davek44 merged 2 commits into
mainfrom
fix/gcp-spot-fallback

Conversation

@davek44

@davek44 davek44 commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Description of your changes

Resubmit failed Spot jobs once on standard capacity after Batch retries are exhausted. Preserve CANCELLED status so explicitly cancelled jobs are never resubmitted by this fallback.

Add regression coverage for fallback success, fallback failure, and cancellation with both failure-reporting settings. Let SNP fold tests inherit the current environment.

Related issue

None.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

(If applicable) How has this been tested?

PYTHONPATH=src python -m pytest src/tests/test_gcprunner.py -q: 77 passed, 3 skipped. Cancellation regressions failed before the status-mapping fix and passed afterward. git diff --check passed. SNP fold tests were not run.

@davek44
davek44 merged commit d19d052 into main Oct 5, 2026
2 of 3 checks passed
@davek44
davek44 deleted the fix/gcp-spot-fallback branch October 5, 2026 00:25
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.

1 participant