Skip to content

Conversation

sprt
Copy link
Contributor

@sprt sprt commented Aug 20, 2025

This decreases the items requested by page from 100 to 50 - seems to do the trick locally.

sprt added 2 commits August 20, 2025 15:07
This tweaks the docs and the script a bit to simplify things.

Signed-off-by: Aurélien Bombo <[email protected]>
This decreases the items requested by page from 100 to 50 - seems to do the
trick locally.

Signed-off-by: Aurélien Bombo <[email protected]>
@sprt sprt requested review from Copilot and stevenhorsman August 20, 2025 20:08
Copy link

@Copilot 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

This PR attempts to fix 502 errors by reducing the page size for GitHub API requests and improving the local development setup. The changes include reducing the items per page from 100 to 50, enhancing error messages with more context, and streamlining the development environment configuration.

  • Reduced GitHub API page size from 100 to 50 items per request to prevent 502 errors
  • Enhanced error message to include the failing URL for better debugging
  • Simplified local development setup by removing redundant documentation and moving environment variable to command line

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
scripts/fetch-ci-nightly-data.js Reduced API page size, improved error messaging, and cleaned up dotenv usage
README.md Updated development setup instructions to use inline environment variable

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Member

@stevenhorsman stevenhorsman left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@stevenhorsman stevenhorsman merged commit ff3df53 into main Aug 21, 2025
1 check passed
@stevenhorsman stevenhorsman deleted the sprt/fix-502 branch August 21, 2025 07:49
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.

2 participants