feat(scoring): persist PostgreSQL version-pinned request identity - #56
Conversation
|
Warning Review limit reached
Next review available in: 4 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
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 |
d871ed2 to
fa65609
Compare
ScoringRequest existed only in memory. Persist the dispatch identity under READ COMMITTED so exact replay is idempotent and rebinding snapshot or measurement-version evidence fails closed. Kernels stay in fast-mlsirm.
fa65609 to
2fb6706
Compare
Fold landed consent-ownership authorization into Implemented and keep **Active PR** #56 as the named scoring-request persistence slice, not protected-main truth.
Why
ROADMAP Continuous rank 1 is the unfinished participant journey. Open persist PRs occupy snapshots (#55), events (#53), results (#51), and session bind (#47). Version-pinned
ScoringRequestidentity still exists only in memory, so a completed snapshot cannot be dispatched after process restart.What
migrations/0011_scoring_request.sqlfor immutablescoring_requestsrc/postgres_scoring_request.rspersists a domainScoringRequestunderREAD COMMITTEDDoes not overlap #55 (response snapshots), #51 (result snapshots), or #43 (digest validation). Does not recreate fast-mlsirm kernels.
Test plan
TEST_DATABASE_URLpersistence + error-contract testscargo clippy --all-targets -- -D warningscargo llvm-covlines 3642/3642; nightly--branch562/562