refactor(code-review): remove feature flags#2764
Merged
alex-alecu merged 4 commits intomainfrom Apr 27, 2026
Merged
Conversation
When a pull_request.synchronize / merge_request.update event arrives with a merge-commit head (e.g. clicking GitHub's 'Update branch' button), the review was being cancelled before the merge-commit skip check ran, leaving the PR with no active review. Reorder so the merge-commit check runs first and bails out without touching existing reviews. Extract the decision into small pure helpers for unit testing.
b687583 to
4d251cc
Compare
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (2 files)
Reviewed by gpt-5.4-20260305 · 812,131 tokens |
Contributor
Author
|
Manual test passed. Tested:
Verified:
|
markijbema
approved these changes
Apr 27, 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
v2, always include PR gate behavior, and always reuse the last completed review for continuation when available.agent_version, v1 event streaming, and admin reporting paths unchanged.Verification
Visual Changes
N/A (small settings-form visibility change only; no screenshots captured)
Reviewer Notes
agent_versionstorage/admin views and the legacy v1 streaming/event paths are intentionally still present; this PR only removes the feature-flag gates around them.