CivicDataLab / CivicDataLab/ParakhAI-frontend

[Bug] 503 errors on RSC prefetch for /ai-models and /prompt-libraries routes

Open
#350 2 comments 0 reactions 2 assignees View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.