Repository navigation
review gate: don't block a PR for hits already on main - #75
Merged
Merged
Conversation
… not a block Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NCnrCZ6kWmagfJjoK8jVGQ
Owner
Author
|
duckstack/rules: success
duckstack review queue, rule gate (hooks/hook_checks.sql) |
asubbarao
enabled auto-merge
October 19, 2026 07:42
Owner
Author
|
duckstack/review: failure
Opus 5.5, duckstack review queue (duckstack-review skill) |
…les and old_lines read it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NCnrCZ6kWmagfJjoK8jVGQ
Owner
Author
|
duckstack/rules: success
duckstack review queue, rule gate (hooks/hook_checks.sql) |
Owner
Author
|
duckstack/review: failure
Opus 5.5, duckstack review queue (duckstack-review skill) |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NCnrCZ6kWmagfJjoK8jVGQ
Owner
Author
|
duckstack/rules: success
duckstack review queue, rule gate (hooks/hook_checks.sql) |
Owner
Author
|
duckstack/review: failure
Opus 5.5, duckstack review queue (duckstack-review skill) |
…ey tuple Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NCnrCZ6kWmagfJjoK8jVGQ
Owner
Author
|
duckstack/rules: success
duckstack review queue, rule gate (hooks/hook_checks.sql) |
Owner
Author
|
duckstack/review: success No findings. Opus 5.5, duckstack review queue (duckstack-review skill) |
asubbarao
added a commit
that referenced
this pull request
Oct 19, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NCnrCZ6kWmagfJjoK8jVGQ
asubbarao
added a commit
that referenced
this pull request
Oct 19, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NCnrCZ6kWmagfJjoK8jVGQ
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.
The rules gate runs every check on the whole changed file, so a check that already fires on main blocks any PR that touches the file. #65 is held by
sql_new_table_in_filefor fs.dirs and fs.filelist, tables that exist on main and were approved.Now the queue also reads each modified file as it is on main (
pr_base_files), the gate runs the checks on both, and a hit main's copy already has is reported asexistinginstead of its action. Onlyblockfails the status, so existing hits no longer block; new ones still do.Tested by running gate.sql locally:
existing, none block.LIMIT 1beside an old file that already had it: the new file isblock, the old oneexisting.Limit, noted in the code: matched per file and check, so a second hit of a check the file already has passes the gate; the Opus review still sees the added lines.
🤖 Generated with Claude Code
https://claude.ai/code/session_01NCnrCZ6kWmagfJjoK8jVGQ