Skip to content

Retry release builds that fail on a DNS lookup - #334

Merged
sproctor merged 1 commit into
mainfrom
retry-unknown-host
Nov 3, 2026
Merged

sproctor merged 1 commit into
mainfrom
retry-unknown-host

Conversation

@sproctor

@sproctor sproctor commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

The macos-15-intel job of v3.2.0-beta.2 failed when the Gradle wrapper couldn't resolve services.gradle.org. Java reports that as java.net.UnknownHostException. That name wasn't on the release workflow's list of temporary errors, so the job gave up without retrying. A manual re-run then passed.

This adds UnknownHostException to the list.

Tested

  • The new pattern matches the log of the failed job.
  • No release has run with this change yet.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated internal release workflow configuration; no user-visible behavior changes.

The macos-15-intel job of v3.2.0-beta.2 failed when the Gradle wrapper
could not resolve services.gradle.org. Java reports that as
UnknownHostException, which the retry step did not recognise, so it
gave up on the first attempt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

The release workflow replaces a transient-error pattern with the same alternatives. Its matching behavior remains unchanged.

Changes: Release workflow

Layer / File(s) Summary
Transient-error pattern
.github/workflows/release.yaml
The pattern is replaced with the same alternatives. Its matching behavior is unchanged.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Merge Risk: Minimal · up to 3e75d

The reported DNS failure is now recognized as transient and can enter the release retry path.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: retrying release builds after DNS lookup failures.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

ast-grep (0.51.1)

ast-grep could not parse rule config: /ast-grep-rules/ast-grep-essentials/rules/typescript/security/llm-output-xss-typescript.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5fab4eba-56a9-4ea4-b6bf-438c68e1b725
Commits

Reviewing files that changed from the base of the PR and between f7d2e65 and 3e75d31.

Files selected for processing: 1
  • .github/workflows/release.yaml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sproctor
sproctor merged commit 17f0f0d into main Nov 3, 2026
2 checks passed
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