Skip to content

treat 403 as warning instead of error in link checker - #306

Merged
LauraLangdon merged 1 commit into
mainfrom
fix-linkinator-slack-retry
Apr 29, 2026
Merged

treat 403 as warning instead of error in link checker#306
LauraLangdon merged 1 commit into
mainfrom
fix-linkinator-slack-retry

Conversation

@LauraLangdon

@LauraLangdon LauraLangdon commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

The CI failure on #305 is from linkinator getting a 403 on our Slack invite link. The link itself is fine and doesn't expire until 2030. Instead, Slack appears to have recently tightened bot protection for invite URLs coming from CI runners. The same link returns 302 (normal redirect) from a regular machine but 403 from CI runners. I checked the logs—the exact same link returned 200 on every CI run through April 22, then started returning 403 on April 28. Same linkinator version, same config, same link. Nothing changed on our side.

Rather than skipping Slack links entirely (we want to know if an invite link actually expires), this treats all 403s as warnings instead of errors. A 403 will still show up in the build logs, but it won't block PRs. If a link genuinely dies, it'll return 404 or redirect, which will still fail the build.

@netlify

netlify Bot commented Apr 29, 2026

Copy link
Copy Markdown

Deploy Preview for ucospo-net ready!

Name Link
🔨 Latest commit bbc5025
🔍 Latest deploy log https://app.netlify.com/projects/ucospo-net/deploys/69f276b2a1b6bd0008c03644
😎 Deploy Preview https://deploy-preview-306--ucospo-net.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@LauraLangdon
LauraLangdon force-pushed the fix-linkinator-slack-retry branch from 375d901 to bbc5025 Compare April 29, 2026 21:22
@LauraLangdon
LauraLangdon marked this pull request as ready for review April 29, 2026 21:29
@LauraLangdon
LauraLangdon merged commit 54efec3 into main Apr 29, 2026
7 checks passed
@LauraLangdon
LauraLangdon deleted the fix-linkinator-slack-retry branch April 29, 2026 21:29
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