Problem / Context
Loading an uncached repo overview logs a server-side 404 when fetching the README:
GET /repos/shuv1337/oak-spike/readme?ref=main - 404
The page still renders, but the console shows an error on first cold visit. Repos without a README (or with README on a non-default branch) should not produce error-level console noise.
Source: dogfood-output/cache-dogfood-report.md (ISSUE-004)
Reproduction
- Authenticate locally
- Open an uncached repo without a README on
main, e.g. http://127.0.0.1:3000/shuv1337/oak-spike
- Check server/console logs during first load
Acceptance Criteria
Evidence
dogfood-output/benchmarks/console-cold-overview-oak-spike-run-1.txt (readme 404 at line ~98)
dogfood-output/screenshots/cache-cold-overview-oak-spike-run-1.png
Implementation Notes
Likely the overview route or README loader treats GitHub's 404 as an exceptional case and logs at error level. Handle 404 as readme: null and render the existing empty README UI without server error logging.
Tasks
Problem / Context
Loading an uncached repo overview logs a server-side 404 when fetching the README:
The page still renders, but the console shows an error on first cold visit. Repos without a README (or with README on a non-default branch) should not produce error-level console noise.
Source:
dogfood-output/cache-dogfood-report.md(ISSUE-004)Reproduction
main, e.g.http://127.0.0.1:3000/shuv1337/oak-spikeAcceptance Criteria
Evidence
dogfood-output/benchmarks/console-cold-overview-oak-spike-run-1.txt(readme 404 at line ~98)dogfood-output/screenshots/cache-cold-overview-oak-spike-run-1.pngImplementation Notes
Likely the overview route or README loader treats GitHub's 404 as an exceptional case and logs at error level. Handle
404asreadme: nulland render the existing empty README UI without server error logging.Tasks
shuv1337/oak-spike