doesitarm/scripts
ThatGuySam f1cb66c477 fix(build): retry transient sitemap endpoint fetches
The TypeScript helper refactor exposed a separate production risk: builds can fail when the sitemap-endpoints API returns a transient 5xx during Pagefind index generation. Move that fetch into a small helper with retry logic and add a focused prebuild test so this failure mode is caught without waiting on a full deploy.

Constraint: Must keep Pagefind index generation behavior the same when the endpoint is healthy
Rejected: Ignore the failure as external-only | transient 5xx responses can still block deploys and CI repeatedly
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: When external build inputs can fail transiently, add a small retryable helper plus a direct test before relying on full deploy verification
Tested: pnpm exec vitest run test/prebuild/load-sitemap-endpoints.test.ts; pnpm run typecheck; pnpm run test-prebuild
Not-tested: Full production redeploy completion before push
2026-04-04 18:18:23 -05:00
..
vercel-post-deploy Only rurnn post-deploy on macos 2023-02-11 17:22:12 -06:00
build-pagefind-index.js fix(build): retry transient sitemap endpoint fetches 2026-04-04 18:18:23 -05:00
build-search-index.js feat(search): add pagefind provider support 2026-03-15 13:42:07 -05:00
build-stork-index.js Add build-stork-index node script 2022-05-10 13:18:38 -05:00
download-sitemaps.js chore(node): move repo tooling to node 24 2026-03-15 12:55:25 -05:00
download-stork-executable.js Add download-stork-executable script 2022-05-10 13:14:39 -05:00
download-stork-toml.js Add downloadStorkToml helper and script 2022-05-09 16:13:47 -05:00
scan-new-apps.js Fix operator 2022-12-17 13:53:04 -06:00
stork-netlify.sh fix(stork): support netlify ubuntu 24 builds 2026-03-15 11:57:41 -05:00
vercel-build.js Use pnpm for vercel build script 2023-08-12 14:01:33 -05:00