Skip to content

Add config option to relay neutral status on jobs allowed to fail#345

Open
cmelone wants to merge 1 commit into
llnl:mainfrom
cmelone:add/neutral-allow-failure-config
Open

Add config option to relay neutral status on jobs allowed to fail#345
cmelone wants to merge 1 commit into
llnl:mainfrom
cmelone:add/neutral-allow-failure-config

Conversation

@cmelone

@cmelone cmelone commented Jun 12, 2026

Copy link
Copy Markdown
Member

If a job does not succeed and allow_failure is enabled in the job's GitLab definition, Hubcast will relay the job's GH status as "neutral," allowing the pipeline to succeed.

One thing I want to note is while we modify the title associated with the allowed to fail job indicating it was allowed to fail, the pipeline will only show success. We could change this to checking if any jobs in the pipeline were allowed to fail and all other succeeded, we'll post the pipeline status as neutral. Not sure what users would prefer.

Also, open to suggestions about the name of the config option.

If a job does not succeed and allow_failure is enabled in the job's
GitLab definition, Hubcast will relay the job's GH status as "neutral,"
allowing the pipeline to succeed.

Signed-off-by: Caetano Melone <melone1@llnl.gov>
@cmelone cmelone requested a review from alecbcs June 12, 2026 20:25
@github-actions github-actions Bot added the docs Improvements or additions to documentation label Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant