-
Notifications
You must be signed in to change notification settings - Fork 856
lychee updated #7207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lychee updated #7207
Conversation
|
@CodeRabbit pause |
Dangerous URL checkNo absolute URLs to prisma.io/docs found. |
WalkthroughAdds a conditional second Lychee run that retries when the first run fails, increases timeouts/retries/retry-wait, adds cache exclusions for certain HTTP statuses, prefers the retry report when present, updates report formatting and cleanup, and adjusts final-failure logic to consider the retry outcome. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20–30 minutes Possibly related PRs
Pre-merge checks❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (4)
Comment |
Redirect checkThis PR probably requires the following redirects to be added to static/_redirects:
|
🍈 Lychee Link Check Report
📊 Results Overview
|
Deploying docs with
|
| Latest commit: |
6a2d63a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4b5e3048.docs-51g.pages.dev |
| Branch Preview URL: | https://dc-5756-lychee-rerun.docs-51g.pages.dev |
|
@CodeRabbit pause |
✅ Actions performedReviews paused. |
1 similar comment
✅ Actions performedReviews paused. |
🍈 Lychee Link Check Report
📊 Results Overview
Errors per inputErrors in 100-getting-started/02-setup-prisma/200-add-to-existing-project/110-relational-databases/100-connect-your-database-typescript-cockroachdb.mdx
Errors in 800-guides/160-tanstack-start.mdx
|
🍈 Lychee Link Check Report
📊 Results Overview
Errors per inputErrors in 800-guides/160-tanstack-start.mdx
|
🍈 Lychee Link Check Report
📊 Results Overview
|
|
@CodeRabbit resume |
✅ Actions performedReviews resumed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/lychee.yml(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: runner / linkspector
- GitHub Check: Cloudflare Pages
🔇 Additional comments (3)
.github/workflows/lychee.yml (3)
18-41: Configuration changes look good.The cache exclusions for rate-limit and server errors (line 26), added host/path exclusions, and step rename are all appropriate. Note: The AI summary claims the first run's timeout was updated to 30s, but the code shows it remains at 20s (line 31); the 30s timeout is applied only to the retry step (line 57), which is correct.
43-67: Retry logic is well‑structured.The conditional retry step appropriately escalates timeouts and retries only when the first run detected issues. The use of
always()ensures the condition is evaluated even if the first run errors. Configuration improvements (30s timeout, 10 retries, 10s wait) are proportionate to the goal of handling transient failures.
69-97: Report selection and formatting look solid.The cleanup logic correctly prefers the retry report when present and gracefully falls back. The formatted report includes context‑specific notes. One minor note: if neither report file exists (very unlikely given the first run always executes), the formatted report won't be created and the comment step may fail silently. Consider adding a fallback or explicit error if needed.
Does the comment step on line 104 fail gracefully if
body-path: lychee/formatted.mddoesn't exist, or should we add a guard in the cleanup step to ensure the file is always created?
🍈 Lychee Link Check Report
📊 Results Overview
|
Summary by CodeRabbit