docs: storage limits, Cloudflare deploy, and storage error reference#5
Open
openrijal wants to merge 2 commits into
Open
docs: storage limits, Cloudflare deploy, and storage error reference#5openrijal wants to merge 2 commits into
openrijal wants to merge 2 commits into
Conversation
Add three operational docs that cover production gaps in JSON admin: - docs/storage-limits.md: GitHub Contents API 1 MB inline limit, Blobs API 100 MB ceiling, sizing table by row size, write amplification, and when to move off single-file array storage. - docs/deploying-cloudflare-pages.md: per-request token-injection middleware pattern for runtimes where runtimeConfig is frozen and secrets live on event.context.cloudflare.env instead of process.env. - docs/error-reference.md: every createError thrown by server/utils/githubContents.ts and server/utils/jsonStorage/* with status code, exact message, cause, and remediation. Reflects the post-fix Blobs API fallback path. Cross-link the new pages from README.md and docs/json-admin.md.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4.
Summary
Adds three operational docs that cover production gaps in JSON admin:
Cross-links the new pages from `README.md` and `docs/json-admin.md`.
Audit notes
A prior external audit claimed `docs/json-admin.md`, `docs/autoadmin-roles.md`, and `docs/development.md` were truncated mid-sentence. I verified each against actual repo source — they are not truncated. The audit also flagged missing reference docs (full `nuxt.config.ts`, auth integration guide, S3 walkthrough, DB migration guide). Those are real but out of scope here; happy to take them on as follow-ups.
Test plan