Files
paula-alves 4092e194a9
ci / typescript (push) Skipped
ci / rust (push) Skipped
ci / rust (pull_request) Successful in 8m36s
ci / typescript (pull_request) Successful in 14m33s
fix(site): degrade gracefully when archive API returns 5xx (BIT-33540)
The /arquivo/[id] route's load() fetched /v1/archive/{id} on every
request and threw 'archive {id}: 500' when the API had a transient
Postgres outage (P2037 pool exhaustion). instrumentation.ts reported
every thrown error to errors.bitreport.pt, creating an error loop.

Return null from load() on 5xx instead of throwing, mirroring the
BIT-33541 pattern. ArchiveFrame renders a minimal 'temporarily
unavailable' shell, and all generateMetadata callers return a default
title when info is null. 404/400 still call notFound() as before.

Paperclip-Issue: BIT-33540
2026-12-04 11:13:41 +00:00
..

apps/site

Next.js public sites, multi-domain: photoreport.pt, shootyourmove.com, events guest flow (/{eventSlug}). Domain -> organization, brand, theme and templates.

Port from: app.photoreport.pt/storefront, events.photoreport.pt/web (guest flow), ShootYourMove mockup.