Skip to content

Conversation

@marcklingen
Copy link
Member

@marcklingen marcklingen commented Sep 12, 2025

Important

Adds retry logic with exponential backoff for GitHub API calls in generate-contributors.js, load_github_discussions.py, and update-github-stars.js.

  • Retry Logic:
    • Adds withRetry function with exponential backoff to generate-contributors.js, load_github_discussions.py, and update-github-stars.js.
    • Configures retries with maxRetries, baseDelay, maxDelay, and backoffMultiplier.
  • Behavior Changes:
    • fetchFromGitHub in generate-contributors.js now uses withRetry for API calls.
    • run_query in load_github_discussions.py uses withRetry for GraphQL queries.
    • updateGitHubStars in update-github-stars.js uses withRetry for fetching star count.
  • Error Handling:
    • Logs detailed error messages and retry attempts in all scripts.
    • Exits with error code on final failure after retries in load_github_discussions.py and update-github-stars.js.

This description was created by Ellipsis for aae7d1f. You can customize this summary. It will automatically update as commits are pushed.

@vercel
Copy link

vercel bot commented Sep 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
langfuse-docs Ready Ready Preview Sep 12, 2025 10:38am

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working labels Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants