Skip to content

publish: retry the Go module proxy fetch - #88

Merged
Bre77 merged 1 commit into
mainfrom
fm/tp-go-proxy-retry
Nov 11, 2026
Merged

Bre77 merged 1 commit into
mainfrom
fm/tp-go-proxy-retry

Conversation

@Bre77

@Bre77 Bre77 commented Nov 11, 2026

Copy link
Copy Markdown
Member

The 6.3.0 publish run failed at "Fetch through the Go module proxy": the fetch timed out on a cold module and the proxy served it minutes later.

This wraps the go list -m call in a bounded retry: up to 5 attempts with a linear 15s backoff (15, 30, 45, 60s), failing the step if all attempts fail. Nothing else changes.

Workflow-only change, so no changeset.

Tested the step script with stubbed go/sleep: succeeds on the 3rd attempt, and exits 1 after 5 failed attempts.

A cold module fetch can time out on the proxy's first request; the proxy serves it shortly after. Retry up to 5 times with a linear 15s backoff before failing.
@coderabbitai

coderabbitai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@Bre77
Bre77 merged commit e37cd7e into main Nov 11, 2026
5 checks passed
@Bre77
Bre77 deleted the fm/tp-go-proxy-retry branch November 11, 2026 12:01
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