Skip to content

fix: avoid failing on transient CFSSL startup errors#7821

Open
vitormattos wants to merge 1 commit into
mainfrom
fix/cfssl-startup-transient-failures
Open

fix: avoid failing on transient CFSSL startup errors#7821
vitormattos wants to merge 1 commit into
mainfrom
fix/cfssl-startup-transient-failures

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

  • adjust CfsslHandler::isUp() to treat transient startup/connection failures as a non-fatal false result
  • keep throwing only for the incompatible /health endpoint (HTTP 404)
  • keep generateRootCert() retry loop clean and deterministic without broad exception swallowing
  • increase CFSSL startup wait window in wakeUp() from ~5s to ~10s for slower CI runners

Why

Intermittent CI failures were happening during libresign:configure:cfssl when CFSSL had not finished starting yet. The previous flow could propagate transient connection errors too early.

Expected impact

  • reduced flakiness in integration scenario: "Create pfx with success using CFSSL"
  • preserves fatal behavior for genuinely incompatible CFSSL server versions

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 0. Needs triage

Development

Successfully merging this pull request may close these issues.

1 participant