doesitarm/test
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
..
_artifacts Add artifacts temp directory 2022-07-16 14:48:19 -05:00
_disabled/scanner refactor(scanner): type the worker path and align app-test results 2026-04-04 14:58:25 -05:00
api update: refactor into typescript 2025-02-10 19:19:12 -06:00
helpers update: enable helpers again 2024-12-27 15:25:57 -06:00
listings update: initial vitest refactor for listings 2025-01-11 19:19:45 -06:00
msw Move msw listener to file 2023-08-12 16:14:45 -05:00
playwright refactor(scanner): type the worker path and align app-test results 2026-04-04 14:58:25 -05:00
prebuild fix(build): retry transient sitemap endpoint fetches 2026-04-04 18:18:23 -05:00
scanner refactor(scanner): type plist and file-api helpers 2026-04-04 18:13:32 -05:00
main.test.ts update: refactor main into vitest 2025-02-10 20:27:05 -06:00