fix: Batch 1 critical bug fixes (#288, #289, #291)#304
Merged
ajitpratap0 merged 6 commits intomainfrom Feb 15, 2026
Merged
Conversation
added 6 commits
February 15, 2026 21:29
- format command: return error when files fail to format (was silently returning exit code 0 after printing error messages) - lint command: return error when files have read errors (was only checking violation counts, ignoring file-level errors) - Updated lint test to expect error on non-existent file
This was referenced Feb 15, 2026
|
Claude finished @ajitpratap0's task —— View job PR Review - Batch 1 Critical Bug FixesReviewing this PR that addresses three critical bug fixes: Todo List:
🔍 Review SummaryFix #1: INSERT...SELECT Support (#288) ✅Changes Made:
Assessment: Excellent implementation
Fix #2: CLI Exit Codes (#289) ✅Changes Made:
Assessment: Correct implementation
Fix #3: SetLimit Validation Tests (#291) ✅Changes Made:
Assessment: Good test coverage
📊 Code Quality AssessmentStrengths:
Code Style:
Memory Management:
🔒 Security & PerformanceSecurity: ✅ No Issues
Performance: ✅ No Regression
🧪 Test Coverage AnalysisINSERT...SELECT Tests:
CLI Exit Code Tests:
SetLimit Tests:
✅ Final Recommendation: APPROVEThis PR successfully fixes three critical bugs with:
The changes are production-ready and maintain the project's high standards for code quality and reliability. |
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.
Batch 1 — Critical Bug Fixes
Changes
fix(parser): support INSERT ... SELECT syntax (fixes Parser rejects valid INSERT ... SELECT syntax #288)
INSERT INTO ... SELECTin addition toINSERT INTO ... VALUESInsertStatement.Querychanged toStatementinterface for UNION supportfix(cli): return non-zero exit codes on errors (fixes CLI returns exit code 0 on parse/validate/format errors #289)
formatandlintcommands now return non-zero exit codes on failurefix(transform): SetLimit negative validation tests (fixes transform.SetLimit accepts negative and zero values without error #291)
SetLimit(-1),SetLimit(0),SetOffset(0)Fixes #288, fixes #289, fixes #291