[P9] Fix report-failure step skipped on deploy workflow failures #105
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
report-failurestep useswhen: status: [failure]but is consistentlyskippedeven when the deploy workflow has failed steps (upload scans, build steps). Theapi.diagmodule correctly files Gitea issues for failures, but it never runs.Possible causes:
when: statusbefore all steps completereport-failurestep has implicit dependencies preventing it from runninguv sync --no-devin report-failure may fail silently before reachingapi.diagFix
depends_onwithfailure: ignoreon upstream steps so report-failure runs after all steps regardless of statusfailure: ignoreto the report-failure step itself so pipeline status reflects the real failures, not the reporterstatus: failurecheck +depends_onto all terminal stepsAcceptance criteria