Lychee link check: drop artifact upload, prompt docs-agent in thread#1320
Merged
Conversation
Adds a triage prompt addressed to the @docs-agent Slack bot at the bottom of the thread message, with the broken-link list above it so the agent has full context (URL + status code + lychee reason) when deciding whether to fix the link, replace it, or add a bot-block exception to lychee.toml. Also removes the now-redundant artifact upload step: the thread message holds all the info anyone needs to triage, and 30k chars fits ~200+ failures comfortably. Truncation message updated to point at re-running the workflow instead of the (now absent) artifact. Co-Authored-By: Claude <noreply@anthropic.com>
🔗 Preview Mode
|
Three-level nesting (file → URL → reason) reads cleaner than the inline em-dash variant when the reason text is long. Co-Authored-By: Claude <noreply@anthropic.com>
SahilAujla
approved these changes
May 21, 2026
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.
Summary
Two follow-ups to #1317 (the weekly Lychee cron):
@docs-agentin the thread reply. At the bottom of the thread message, after the nested-bullet error list, we now tag the docs-agent bot with a brief triage prompt: update wrong-page links on domains we control, replace dead pages with the best current equivalent, and addexcludeentries tolychee.tomlfor third-party domains that block bots. Each error sub-bullet now includes the lychee status text alongside the code so the agent has the reason for failure.Test plan
gh workflow run "Scheduled link check") after merge.#dx-developer-relationsis unchanged from the first run.@docs-agentmention + triage prompt and triggers a real notification on the bot (not just plain text).broken-linksartifact is attached to the run.🤖 Generated with Claude Code