issues: record the two catalogue-format debts left by PR #1532 - #1535
Conversation
#179: the full catalogue silently went from a single minified line to 18,400 pretty-printed ones when the modality scrub routed it through syncTarget. Measured +123 KB raw but only +3.4 KB gzipped, so the real cost is ~37,000 lines of git churn per data revision — set against reviewable diffs on a 205-record clinical dataset, which is probably the better trade. Recorded so the format is a decision rather than a side effect. #180: that same change made the generator write its curated output back over the file it reads as source. It is stable only because curatedModality is a fixed point, and it matters because #175 asks someone to hand-curate modality values in exactly that file — an edit the next run could discard with no gate to catch it, since --check compares against what the generator would produce. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 14 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. 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 Run ID: 📒 Files selected for processing (1)
Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
PR Summary by QodoDocument therapy-catalogue formatting and source-overwrite debts from #1532
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTo customize comments, go to the Qodo configuration screen, or learn more in the docs. |
Summary
Append-only docs change. Records the two catalogue-format debts that PR #1532 left behind, so neither is carried only in chat.
#179—public/therapy-compass-data/therapies.jsonsilently went from a single minified line to 18,400 pretty-printed ones when the tag-echomodalityscrub routed it throughsyncTarget. Measured at +123,354 bytes raw (+4.9%) but only +3,409 bytes gzipped (+1.0%), and it is not JavaScript socheck:bundle-budgetnever sees it. The real cost is roughly 37,000 lines of git churn per data revision, counting the content-addressed twin — which is why fix: remediate the PR #1489 review findings #1532 read as 42,071 insertions when only 381 were hand-written. Set against reviewable diffs on a 205-record clinical dataset, keeping it is probably right; the point of the row is that the format should be a decision rather than a side effect.#180— the same change made the generator write its curated output back over the file it reads assource. It is stable only becausecuratedModalityis a fixed point. It matters because#175asks someone to hand-curate modality values in exactly that file, and the next generator run could discard that edit with no gate to catch it:--checkcompares the file against what the generator would produce, so a clobbered hand edit reads as current.Verification
npm run check:outstanding-issues—178 rows (61 open, 117 archived), unique ids, next-id=181 above the highest, no merge driver, no ids deleted from base 6c505965e163npx prettier --check docs/outstanding-issues.md—All matched files use Prettier code style!Verification not run: npm run verify:pr-local— the diff is a single append-only markdown file with no code, test, config or schema change; the ledger's own gate plus the format check are the checks that apply to it.Risk and rollout
Notes
#175–#178had already been written, which is why they are a separate append rather than edits to those rows.#175was re-checked and is still accurate as written: all three payloads (full, index, home) now carry a curatedmodality, so its statement that the detail and recommend chips no longer render holds.#155.