Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pathogen-repo-ci: Use status functions in conditionals instead of continue-on-error: true #99

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

tsibley
Copy link
Member

@tsibley tsibley commented Jun 14, 2024

While "continue-on-error: true" resulted in the behaviour we wanted, it also meant the job step status indicators were misleading: even when an ingest/phylogenetic/nextclade step failed, the UI showed a check mark for them in the logs. Instead of masking failures to keep going in the face of errors, override the default success() conditional by specifying our own conditions on a status expression.

Related-to: #98 (comment)

Checklist

  • Checks pass

…tinue-on-error: true

While "continue-on-error: true" resulted in the behaviour we wanted, it
also meant the job step status indicators were misleading: even when an
ingest/phylogenetic/nextclade step failed, the UI showed a check mark
for them in the logs.  Instead of masking failures to keep going in the
face of errors, override the default success() conditional by specifying
our own conditions on a status expression.

Related-to: <#98 (comment)>
@tsibley
Copy link
Member Author

tsibley commented Jun 14, 2024

Much better:

image

and still works with no valid workflows and two valid workflows. I wish we had testing of that in CI for this repo so I didn't have to keep manually triggering them, but that cracks the lid on another kettle of fish, so I won't for now.

@tsibley tsibley requested review from joverlee521 and genehack and removed request for joverlee521 June 14, 2024 23:00
@tsibley tsibley merged commit 18e3f79 into master Jun 14, 2024
43 of 45 checks passed
@tsibley tsibley deleted the trs/pathogen-repo-ci/keep-going-2 branch June 14, 2024 23:00
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.

None yet

1 participant