chore(rivetkit): note duplicate admission logic#4948
Conversation
Code Review: chore(rivetkit): note duplicate admission logicOverviewThis small chore PR does two things:
Code Quality
Concerns / Suggestions1. No issue link on the TODOs The TODOs flag a real duplication risk — a change to admission policy in one location will not automatically be reflected in the other — but without a linked ticket they are easy to lose. Consider 2.
3. Admission guard semantics diverge between the two sites
SummaryThe TODOs are well-placed and correctly identify a maintenance risk. Main gaps: no issue link to track the refactor, unexplained asymmetry of the test-only helper, and diverging admission-guard semantics between the two sites. Low risk overall, but the duplication is a latent bug surface worth consolidating soon. |
0b1e417 to
da325d9
Compare
81c9b4d to
cc49ff7
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: