ci: allow merge type in commitlint config#385
Conversation
flow's findMatchingNodes was limited to FUNCTION_KINDS, so `codegraph flow` couldn't trace from interfaces, types, or struct declarations. Pass CORE_SYMBOL_KINDS via opts.kinds override so all 10 core symbol kinds are searchable. Also support opts.kinds array in findMatchingNodes as a general-purpose override alongside the existing opts.kind scalar. Impact: 2 functions changed, 40 affected
Replace manual db.close() calls before each return with a single try/finally block. Ensures the database connection is always released, even if an unexpected error occurs mid-execution. Impact: 1 functions changed, 1 affected
The repo policy is never-rebase-always-merge, so merge commits are inevitable. Add `merge` to the type-enum so they pass validation.
Greptile SummaryThis PR makes three focused changes: (1) adds
All changes are correct and the PR is safe to merge. Confidence Score: 5/5
Last reviewed commit: 159b175 |
Impact: 113 functions changed, 219 affected
Impact: 1 functions changed, 1 affected
|
Claude finished @carlos-alm's task —— View job PR Review CompleteReviewing PR #385: "ci: allow Todo List:
Phase 1: Root Cause Analysis ✅Problem Being Solved: This PR addresses a commitlint validation failure for merge commits. The repository policy is "never-rebase-always-merge", which means merge commits with Why This Approach: Adding However, there's a scope issue: The PR title suggests it only adds Phase 2: Configuration Change Detection ✅Commitlint Config Change (
Risk Assessment: This configuration change is justified and necessary - it's fixing a mismatch between policy and tooling, not hiding problems. Phase 3: Test Integrity ✅No test files modified - All changes are in source files only. No test expectations lowered or assertions weakened. Phase 4: Code Quality ✅Analysis of all changes:
Critical Concerns
However: All changes are beneficial, well-implemented, and thoroughly reviewed by Greptile. The scope issue is procedural, not technical. Final AssessmentRoot Cause AnalysisProblem Being Solved: Legitimate commitlint validation failure due to policy-configuration mismatch Critical ConcernsNone from a technical perspective. Minor procedural concern about mixing objectives in one PR, but all changes are positive. Final Recommendation
Minor deduction for scope mixing, but the technical quality is excellent and all changes move the codebase forward. |
|
Claude finished @carlos-alm's task —— View job Claude finished @unknown's task —— View job PR Review CompleteReviewing PR #385: "ci: allow Todo List:
Phase 1: Root Cause Analysis ✅Problem Being Solved: This PR addresses a commitlint validation failure for merge commits. The repository policy is "never-rebase-always-merge", which means merge commits with Why This Approach: Adding However, there's a scope issue: The PR title suggests it only adds Phase 2: Configuration Change Detection ✅Commitlint Config Change (
Risk Assessment: This configuration change is justified and necessary - it's fixing a mismatch between policy and tooling, not hiding problems. Phase 3: Test Integrity ✅No test files modified - All changes are in source files only. No test expectations lowered or assertions weakened. Phase 4: Code Quality ✅Analysis of all changes:
Critical Concerns
However: All changes are beneficial, well-implemented, and thoroughly reviewed by Greptile. The scope issue is procedural, not technical. Final AssessmentRoot Cause AnalysisProblem Being Solved: Legitimate commitlint validation failure due to policy-configuration mismatch Critical ConcernsNone from a technical perspective. Minor procedural concern about mixing objectives in one PR, but all changes are positive. Final Recommendation
Minor deduction for scope mixing, but the technical quality is excellent and all changes move the codebase forward. |
Summary
mergeto the commitlinttype-enumlistmerge:prefix are expected and should pass validationTest plan
merge:type no longer fail validation