Skip to content

Do not halt pipeline on keyset errors#265

Merged
tertsdiepraam merged 2 commits intomainfrom
be-nice-to-operators
Oct 24, 2025
Merged

Do not halt pipeline on keyset errors#265
tertsdiepraam merged 2 commits intomainfrom
be-nice-to-operators

Conversation

@tertsdiepraam
Copy link
Contributor

@tertsdiepraam tertsdiepraam commented Oct 23, 2025

A step to resolving: #187

Keyset key roll errors are usually not fatal because they stem from simple user error. If there should be something that causes an actual error, we should adapt keyset to return more informative exit codes (e.g. 0 is success, 1 is fatal, 2 is user error, or something like that), but this PR is simply ignoring these errors.

It's hard to say whether this is enough for #187. The other issue mentioned there is a failing review script, which is already a soft error and therefore seems fine as it is.

@Philip-NLnetLabs
Copy link
Member

In my opinion, CLI commands that directly translate to keyset commands should not affect the pipeline. The full error has to be returned to the user of the CLI command. If there is a structural error, then the next keyset cron command will fail and that will be the right time to stop the pipeline.

@tertsdiepraam
Copy link
Contributor Author

@Philip-NLnetLabs so we should remove the TODO?

@tertsdiepraam tertsdiepraam merged commit 0b496ae into main Oct 24, 2025
27 checks passed
@tertsdiepraam tertsdiepraam deleted the be-nice-to-operators branch November 24, 2025 10:30
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.

4 participants