Skip to content

ci: retry SBOM generation to fix flaky GitHub 504 failures - #311

Open
rajnisht7 wants to merge 1 commit into
agentrust-io:mainfrom
rajnisht7:fix-retry-sbom
Open

rajnisht7 wants to merge 1 commit into
agentrust-io:mainfrom
rajnisht7:fix-retry-sbom

Conversation

@rajnisht7

Copy link
Copy Markdown
Member

What

Wraps the anchore/sbom-action step in sbom.yml with a retry (3 attempts) and makes it non-blocking, since the job was failing on a transient GitHub release-CDN 504 when downloading Syft.

Why

main branch CI is failing on sbom.yml with received HTTP status=504 while downloading Syft’s checksums file, a transient GitHub-side timeout, not a missing asset or config issue. The install script has no retry logic, so a single blip kills the whole job

Security impact

None

Test plan

  • pytest passes
  • ruff check passes
  • mypy passes
  • Manual test performed (describe steps below if applicable)

DCO sign-off

@rajnisht7
rajnisht7 requested review from a team, carloshvp and zohebk8s as code owners November 9, 2026 06:10
Signed-off-by: rajnisht7 <rajnishtiwari9787@gmail.com>
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

This branch has not been deployed

No deployments
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.

2 participants