From 602825fb63b0102a6a42bbd104ef0b321110aef7 Mon Sep 17 00:00:00 2001 From: Chris Tauchen Date: Wed, 19 Aug 2026 19:20:28 +0100 Subject: [PATCH] Skip the bare calicousers.slack.com URL in the link check The Netlify deploy preview for the tigera site fails on the link check with one dead link: https://calicousers.slack.com is dead (403) ==>Origin: http://localhost:4242/calico/latest/reference/involved The skip list already carried this workspace, but as the exact strings https://calicousers.slack.com/ and a channel URL. Entries given as strings are matched exactly, so the bare host on the get involved page was still checked, and Slack returns 403 to datacenter crawlers. Replace both strings with an anchored pattern for the host, which covers the bare host, the trailing slash form and channel links. The 403 is intermittent, so the failure does not reproduce reliably on a local run. This failure is not caused by the 3.22.7 release. Only latest is crawled, and Calico Enterprise latest maps to 3.23, so no page in version-3.22-2 is checked at all. Co-Authored-By: Claude Opus 5 (1M context) --- __tests__/crawler.test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/__tests__/crawler.test.js b/__tests__/crawler.test.js index 8f59cc2d4b..88479ed46f 100644 --- a/__tests__/crawler.test.js +++ b/__tests__/crawler.test.js @@ -139,8 +139,10 @@ test('Crawl the docs and execute tests', async () => { 'https://downloads.tigera.io/ee/archives/release-master-master.tgz', //==> This started after redesigning the archive procedure. 'http://nginx-svc.curl-ns.svc.cluster.local:80', 'http://nginx-svc.service-ns.svc.cluster.local:80', - 'https://calicousers.slack.com/', - 'https://calicousers.slack.com/archives/C017220EXU1', + // Slack workspace URLs return 403 to datacenter crawlers; the links are fine in a browser. + // Matched as a pattern so the bare host, the trailing-slash form and channel links are all + // covered. The bare host is linked from /calico/latest/reference/involved. + /^https:\/\/calicousers\.slack\.com/, 'https://tigera-manager.mycompany.com', 'https://kb.isc.org/article/AA-01141/31/How-to-workaround-IPv6-prefix-length-issues-with-ISC-DHCP-clients.html', 'https://www.snort.org/documents',