Skip to content

Live check: check this repo's file links in the checkout - #1

Open
anil-bd wants to merge 1 commit into
mainfrom
fix/live-check-own-file-links
Open

anil-bd wants to merge 1 commit into
mainfrom
fix/live-check-own-file-links

Conversation

@anil-bd

@anil-bd anil-bd commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Problem

The weekly live check failed at "Do the README's links still resolve?":

::error::503 https://github.com/brightdata/amazon-scraper/blob/main/CONTRIBUTING.md
::error::503 https://github.com/brightdata/amazon-scraper/blob/main/LICENSE
::error::503 https://github.com/brightdata/amazon-scraper/blob/main/examples/sample_output.json

Every other link, including other github.com pages, answered 200, and all three resolve fine today. GitHub throttles /blob/ pages for Actions runners. tiktok-scraper hit the same three links with 503 in the same hour. curl's --retry 3 waits only about 7 seconds in total, so it doesn't ride this out.

Fix

Links to github.com/brightdata/amazon-scraper/blob/main/<path> now check that <path> exists in the checkout (test -e) instead of fetching github.com. This needs no network, and a renamed or deleted file still fails the step. All other links are checked over HTTP as before.

Verified

Ran the edited step locally:

  • All three links pass from the checkout.
  • With LICENSE removed, it prints ::error::no such file in the repo: LICENSE and exits 1.

🤖 Generated with Claude Code

The weekly live check failed because github.com answered 503 for the
README's three blob/main links (CONTRIBUTING.md, LICENSE,
examples/sample_output.json) while every other link answered 200. GitHub
throttles blob pages for Actions runners, and curl's --retry 3 waits only
about 7 seconds. Those links point at files in this repo, so the step now
checks that the file exists in the checkout: no network, and a renamed
or deleted file still fails the step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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