Skip to content

SCHED-1520, SCHED-1616: only fail acceptance for ActiveCheck errors - #2932

Merged
ChessProfessor merged 2 commits into
soperator-release-4.0from
chessprofessor/SCHED-1520-SCHED-1616/remove-activechecks-readiness-assertion-4.0
Sep 4, 2026
Merged

ChessProfessor merged 2 commits into
soperator-release-4.0from
chessprofessor/SCHED-1520-SCHED-1616/remove-activechecks-readiness-assertion-4.0

Conversation

@ChessProfessor

@ChessProfessor ChessProfessor commented Sep 3, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

SCHED-1520: The cluster-creation acceptance scenario requires every runAfterCreation ActiveCheck's mutable latest status to be Complete. A later scheduled run can legitimately change that status to InProgress, causing acceptance to fail even though Terraform already validated the initial run.

SCHED-1616: The same assertion rejects the legitimate Skipped status for an inapplicable ActiveCheck.

Solution

Change the acceptance assertion to reject only actual failure states: Failed for Kubernetes jobs and Failed or Error for Slurm jobs.

Allow transient and accepted states such as InProgress, Skipped, and Cancelled. Document beside the status predicate that InProgress may belong to a later scheduled execution because the ActiveChecks HelmRelease hook already gated the initial run.

Apply the fix to release 4.0 and carry it through the merge-back chain to release 4.1 and main.

@ChessProfessor ChessProfessor self-assigned this Sep 3, 2026
@ChessProfessor ChessProfessor added the bug Something isn't working label Sep 3, 2026
@ChessProfessor ChessProfessor changed the title SCHED-1520, SCHED-1616: remove redundant ActiveChecks assertion Sep 3, 2026
@ChessProfessor
ChessProfessor merged commit 36a0e62 into soperator-release-4.0 Sep 4, 2026
21 checks passed
@ChessProfessor
ChessProfessor deleted the chessprofessor/SCHED-1520-SCHED-1616/remove-activechecks-readiness-assertion-4.0 branch September 4, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

2 participants