ci(lychee): exclude the VS Code Marketplace, it returns 503 to automated requests - #1735
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Updates Lychee link-check configuration to avoid CI failures caused by VS Code Marketplace returning 503 to automated requests.
Changes:
- Add
marketplace.visualstudio.comto Lychee’sexcludelist to prevent repeated 503 failures during link checking.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "https://apps\\.microsoft\\.com/store/detail/", # Microsoft Store detail pages return 403 to automated requests | ||
| "https://code\\.visualstudio\\.com/?$", # Root page returns 403 to automated requests | ||
| "https://stackoverflow\\.com", # Returns 403 to automated requests | ||
| "https://marketplace\\.visualstudio\\.com", # Returns 503 to automated requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The Lychee link check fails on
Build & Verifywith a single error:That is the "Remote - WSL" extension link at
docs/documentation/getting-started.md:87, the onlymarketplace.visualstudio.com URL in the tree. The link is not broken for a human — the Marketplace
returns 503 to automated requests, the same bot-blocking
.lychee.tomlalready carries exclusionsfor on
apps.microsoft.com/store/detail/(403),code.visualstudio.com(403),stackoverflow.com(403) and
olcf.ornl.gov/summit(503).acceptlists 502 and 504 but not 503, so it fails hardafter all 5 retries and takes the job with it.
Excluding the host is the targeted fix; adding "503" to
acceptwould suppress genuinely deadlinks everywhere else.
Type of change
Testing
.lychee.tomlparses, and the new pattern matches the failing URL.visualstudio.com,github.comandmflowcode.github.iolinksare still checked.
./mfc.sh precheckpasses all seven gates.Checklist