Skip to content

Fixes #292: Prevent migration from recreating runs whose cancellation could not be confirmed - #293

Merged
jnovinger merged 1 commit into
mainfrom
292-migration-can-recreate-a-run-whose-job-was-deleted
Dec 3, 2026
Merged

jnovinger merged 1 commit into
mainfrom
292-migration-can-recreate-a-run-whose-job-was-deleted

Conversation

@pheus

@pheus pheus commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Fixes: #292

Prevent the reference pass from recreating runs whose Jobs were deleted before cutover could confirm their cancellation, as they may already have executed.

These runs are now skipped with a warning, regardless of whether NetBox restores the original Job.

Update the migration documentation and regression tests to reflect this behavior.

The reference pass recreated a captured run whose Job was deleted
before cutover could confirm its cancellation, relying on NetBox to
restore a Job deleted while it ran. NetBox no longer restores it, so
such a run is now skipped with a warning on every supported version.
@pheus
pheus marked this pull request as ready for review December 3, 2026 19:36
@pheus
pheus requested a review from jnovinger December 3, 2026 19:36
@jnovinger
jnovinger merged commit f19abc5 into main Dec 3, 2026
14 of 17 checks passed
@jnovinger
jnovinger deleted the 292-migration-can-recreate-a-run-whose-job-was-deleted branch December 3, 2026 21:37
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.

Migration can recreate a run whose Job was deleted during execution

2 participants