Repository navigation
fix(worker): retry cli downloads on another public address - #1466
Merged
Merged
Conversation
Try the other IP family when the first connection to the publisher fails. Validate all DNS answers once per redirect and retain TLS hostname checks for each connection. Fixes: #1455
nixuuu
enabled auto-merge (squash)
November 29, 2026 12:12
…-error # Conflicts: # docs/provider-cli.md
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two macOS workers reported
ECONNREFUSEDon different IPv6 addresses while updating Antigravity to 1.5.20. The worker stopped at the first DNS address while checking Google's platform manifest, before it could runagy update.The downloader now tries another address after a connection refusal or other supported socket reachability error. It tries the other IP family next when available. Each HTTPS hop uses only the public addresses validated in its original DNS lookup. Certificate failures still stop the request. This also covers ACP Registry downloads that use the same transport.
Verification
bun run check:tmp ./apps/worker/src/acp-registry/download.test.ts. They cover IPv6 refusal followed by IPv4 success, a redirect with a private DNS answer, and a certificate error.Repository-wide checks run in CI.
Fixes: #1455