Skip to content

fix: reduce lychee retries to avoid compounding GitHub 429s#249

Open
zeitlinger wants to merge 1 commit intomainfrom
fix/lychee-retry-config
Open

fix: reduce lychee retries to avoid compounding GitHub 429s#249
zeitlinger wants to merge 1 commit intomainfrom
fix/lychee-retry-config

Conversation

@zeitlinger
Copy link
Member

Summary

  • Reduce max_retries from 6 to 2 and increase retry_wait_time from 5s to 10s
  • 6 retries with 5s wait compounds 429 rate limiting — GitHub sees many rapid retries and keeps rate-limiting
  • Fewer retries with longer wait between them is more effective at recovering from 429s

Test plan

  • Link check CI workflow passes without excessive 429 failures

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger requested a review from grcevski as a code owner March 10, 2026 08:26
Copilot AI review requested due to automatic review settings March 10, 2026 08:26
@zeitlinger zeitlinger requested review from a team and rlankfo as code owners March 10, 2026 08:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adjusts Lychee link-check retry behavior to reduce compounding GitHub 429 rate-limiting during CI/link checks.

Changes:

  • Decrease max_retries from 6 to 2
  • Increase retry_wait_time from 5s to 10s

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@martincostello
Copy link
Member

Lint is still failing with 429s.

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.

3 participants