CivicDataLab / CivicDataLab/ParakhAI-frontend
[Bug] 503 errors on RSC prefetch for /ai-models and /prompt-libraries routes
Open
@psaesha is already working on this.
Since Jun 24, 2026.
bug
frontend
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 2
- Avg merge
- 9h 18m
- Merged PRs (30d)
- 4
Description
Summary
React Server Component prefetch requests (?_rsc=) return HTTP 503 on /ai-models and /prompt-libraries routes when the backend is under load. Content loads eventually on retry but intermittently fails.
Impact
- Users on slower connections may see blank pages on first load
- Affects two of the four primary sidebar sections
Fix
Investigate RSC streaming route handlers — add retry logic on 503, or disable aggressive prefetching for these routes until backend stability is improved.
Report ref: INFRA-003 · Severity: HIGH
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.