Skip to content

ci: retry a failed Chocolatey install on Windows and fail the step itself - #8

Open
devin-ai-integration[bot] wants to merge 1 commit into
developfrom
ci/choco-retry
Open

devin-ai-integration[bot] wants to merge 1 commit into
developfrom
ci/choco-retry

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The CI run on the main push of 0.1.0 went red on the Windows Go gate with svn: command not found: the Chocolatey community feed answered 503 for sliksvn, and because the pwsh step's last command was Add-Content, choco's failure never failed the step. The same commit was green on develop and in the release gate.

Both Windows install steps (ci.yml gate, release.yml gate) now loop choco install up to three times with a growing pause and throw when the last attempt still fails, so a feed hiccup is retried and a real failure stops at the install step:

for ($attempt = 1; $attempt -le 3; $attempt++) {
  choco install -y --no-progress hg sliksvn
  if ($LASTEXITCODE -eq 0) { break }
  if ($attempt -eq 3) { throw "choco install failed $attempt times (last exit code $LASTEXITCODE)" }
  Start-Sleep -Seconds (30 * $attempt)
}

Also drops "attestation / cosign of releases" from the README's "Future" list, since signed releases shipped in 0.1.0.

Link to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/68b5a820c94c465ba03856b204dbd50d
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/68b5a820c94c465ba03856b204dbd50d?variant=devin
Requested by: @HuiJun


🟢 Devin Review found nothing to fix · View findings

Devin Review

…self

The README no longer lists release signing as design-only; it shipped in 0.1.0.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

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.

1 participant