chore(ai-proxy): remove expired isActiveReviewPromo and related code#1688
Merged
chrarnoldus merged 3 commits intomainfrom Mar 30, 2026
Merged
chore(ai-proxy): remove expired isActiveReviewPromo and related code#1688chrarnoldus merged 3 commits intomainfrom
chrarnoldus merged 3 commits intomainfrom
Conversation
The Sonnet 4.6 free review promo (Feb 18-25, 2026) has ended. Remove all promo logic: the isActiveReviewPromo function, REVIEW_PROMO_* constants, balance gate bypass, cost zeroing, response rewriting, admin stats endpoint, UI '(free)' badge, promo logging, and the test/migration scripts.
Contributor
Author
Code Review SummaryStatus: 3 Issues Found | Recommendation: Address before merge Overview
Fix these issues in Kilo Cloud Issue Details (click to expand)N/A — no new issues were found on lines that are part of the current Other Observations (not in diff)Issues found in merged changes since
Files Reviewed (43 files)
Reviewed by gpt-5.4-20260305 · 2,309,080 tokens |
imanolmzd-svg
approved these changes
Mar 30, 2026
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.
Summary
Remove all Sonnet 4.6 free review promo logic (
isActiveReviewPromo,REVIEW_PROMO_*constants) since the promotion (Feb 18–25, 2026) has ended. This cleans up:code-reviews/core/constants.tsprocessUsage.tsgetReviewPromotionStatstRPC endpointReviewConfigFormprepare-review-payload.tsVerification
grep -rconfirms zero remaining references toisActiveReviewPromo,REVIEW_PROMO_MODEL,REVIEW_PROMO_START, orREVIEW_PROMO_ENDnode_modules/tsgoin CI sandbox — no type errors introduced (pure deletions and import removals)Visual Changes
N/A
Reviewer Notes
Pure deletion PR — no behavior changes for any active code path since the promo already expired (end date was
2026-02-25T14:00:00Z). The migration script (d2026-03-03_migrate-promo-users-to-minimax.ts) was a one-off that has already been run.