issues: capture #085 — upload-limit client/server sync is unguarded - #1291
Conversation
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Warning Review limit reached
Next review available in:53 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpdates ChangesOutstanding issues ledger
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/outstanding-issues.md`:
- Line 124: Update the Added date in the ledger row for issue `#084` to the actual
insertion date, July 27, 2026; if the change is intentionally made on July 28,
retain 2026-07-28 instead.
🪄 Autofix (Beta)
✅ Autofix completed
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 2ad937f9-a705-4145-a554-09872685f56d
📒 Files selected for processing (1)
docs/outstanding-issues.md
Uh oh!
There was an error while loading. Please reload this page.
Note Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. Fixes Applied SuccessfullyFixed 1 file(s) based on 1 unresolved review comment. Files modified:
Commit: The changes have been pushed to the Time taken: |
Fixed 1 file(s) based on 1 unresolved review comment. Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
BigSimmo
commented
Jul 28, 2026
@cursoragent please resolve all CI failing tests after understanding the issue. Please also fix any comments and resolve them and also ensure that you fix with smallest required fix with best coding practice and u derstabding the fix rather than simple patch. Please fix any merge conflicts and ensure any issues are found. Please resolve any issues you find. Please also run bugbot. Please mark comments resolved also once you resolve them. |
PR #1291 is merged ( What was wrong
What I fixed
On
One post-merge branch-review-ledger “CI green” row landed on the feature branch after squash-merge and is not on |
Resolved merge conflict with Root cause: Fix: kept Review comments: CodeRabbit date nit was already addressed/resolved. Bugbot triage found zero CI: re-running on the merged tip; will sync again if |
…limit-sync-123366 Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>


Summary
Captures one outstanding recommendation into the durable issues ledger (
docs/outstanding-issues.md): #84 — the upload-limit client/server sync is unguarded. Ledger-only; no code changes.Surfaced by the FV-04 adversarial review during PRs #1064/#1069.
NEXT_PUBLIC_MAX_UPLOAD_MB(client, build-time inlined) andMAX_UPLOAD_MB(server, runtime) both default to 150 but nothing keeps them in sync — no zod link, gate, or test. Lowering server-only reintroduces the 413-after-full-transfer UX that FV-04 existed to prevent; lowering client-only falsely rejects files the server would accept, breaking #1064''s client-is-a-strict-superset invariant. Both are documented in.env.example/docs/deployment-architecture.mdbut unenforced, and the client value is frozen atnext buildso a Railway service-var change without an image rebuild silently no-ops.Filed P3/rec — the cheapest guard is a
check:*script that fails when the two configured values disagree.Verification
npm run docs:check-links— passes (1264 references resolve)npx prettier --check docs/outstanding-issues.md— cleanissues:next-idbumped 084 → 085.Risk and rollout
🤖 Generated with Claude Code
Summary by CodeRabbit