mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
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 |
||
|---|---|---|
| .. | ||
| api | ||
| app-store | ||
| astro | ||
| macho | ||
| pagefind | ||
| scanner | ||
| search | ||
| stork | ||
| app-derived.js | ||
| app-files-scanner.js | ||
| array.js | ||
| build-app-list.js | ||
| build-device-list.js | ||
| build-game-list.js | ||
| build-homebrew-list.js | ||
| build-payload.js | ||
| build-video-list.js | ||
| bundles.js | ||
| categories.js | ||
| check-types.js | ||
| cli-options.js | ||
| config-node.js | ||
| constants.js | ||
| devices.js | ||
| environment.js | ||
| get-list-summary-numbers.js | ||
| get-list.js | ||
| json.js | ||
| listing-page.js | ||
| lite-youtube.js | ||
| matching.js | ||
| parse-date.js | ||
| public-runtime-config.mjs | ||
| related.js | ||
| scroll.js | ||
| searchable-list.js | ||
| slug.js | ||
| sort-list.js | ||
| statuses.js | ||
| structured-data.js | ||
| url.js | ||