One failure notice per release (OnFailure); 0.3.1-dev.6 #81

Merged
john merged 1 commit from feat/top-level-failure-notice into main 2026-11-26 10:44:11 +00:00
Owner

Approved by John: one alert per failed release, with the failing step.

PipelineProps.OnFailure / EntryProps.OnFailure (*xyops.EventRef): the workflow runs that event once when it fails (native Run Event action, condition error; xyOps 1.1.18 also fires error for warning, verified in the live lib/job.js). The launched job gets the workflow job as parent, so a notifier can walk the run and report the failing step.

Owned steps and the call event get no failure action when OnFailure is used. Approval start notifications are unchanged. Mutually exclusive with AlertWebHook.

Only Arch consumes workflow. Tests: 3 new; go test ./... passes. Release 0.3.1-dev.6.

Approved by John: one alert per failed release, with the failing step. `PipelineProps.OnFailure` / `EntryProps.OnFailure` (`*xyops.EventRef`): the workflow runs that event once when it fails (native Run Event action, condition `error`; xyOps 1.1.18 also fires `error` for `warning`, verified in the live `lib/job.js`). The launched job gets the workflow job as `parent`, so a notifier can walk the run and report the failing step. Owned steps and the call event get no failure action when `OnFailure` is used. Approval start notifications are unchanged. Mutually exclusive with `AlertWebHook`. Only Arch consumes `workflow`. Tests: 3 new; `go test ./...` passes. Release 0.3.1-dev.6.
feat(workflow): one failure notice per release (OnFailure); release 0.3.1-dev.6
All checks were successful
CI / release-check-1 (pull_request) Successful in 14s
CI / release-check (pull_request) Successful in 0s
CI / checks (pull_request) Successful in 1m59s
b3854ec5d7
PipelineProps.OnFailure / EntryProps.OnFailure run one event when the workflow itself fails
(native Run Event, condition error, which xyOps 1.1.18 also fires for warning; checked in
lib/job.js getCompletedJobConditions). Owned steps and the call event then carry no failure
action, so a failed worker no longer alerts once per layer (4 near-identical ntfy messages for
one Bifrost plan failure). Mutually exclusive with AlertWebHook.
john merged commit d75ec44bf7 into main 2026-11-26 10:44:11 +00:00
john deleted branch feat/top-level-failure-notice 2026-11-26 10:44:11 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
john/cdk!81
No description provided.