fix: recognize compiled-language build steps as type-check gates (#473)#483
Conversation
…ient-code#473) Go and Rust compilers are the type checker — go build, make build, and cargo build now satisfy the type-check gate in CIQualityGatesAssessor. Also recognize golangci-lint (bundles type-checking linters) and cargo clippy as a lint gate. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR fixes a bug where AgentReady incorrectly flagged compiled-language repositories (Go, Rust) as missing type-check gates. The fix recognizes that build steps and language-specific linters serve as type checkers in these languages, expanding detection patterns and adding test cases to validate the behavior. ChangesCompiled Language Type-Check Gate Detection
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📈 Test Coverage Report
Coverage calculated from unit tests only |
jwm4
left a comment
There was a problem hiding this comment.
Clean fix, good tests, docs updated.
go build and cargo build genuinely perform type checking since the compiler is the type checker in these languages. golangci-lint dual credit (lint + typecheck) is well-reasoned since it bundles type-checking linters. cargo clippy fills a real gap for Rust lint detection. Tests are solid with realistic CI workflow YAMLs, and the docs update in the same PR follows project conventions.
Reviewed by Bill Murdock with assistance from Claude Code.
|
🎉 This PR is included in version 2.46.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Go and Rust compilers are the type checker, go build, make build, and cargo build now satisfy the type-check gate in CIQualityGatesAssessor. Also recognize golangci-lint (bundles type-checking linters) and cargo clippy as a lint gate.
Description
Type of Change
Related Issues
Fixes #473
Relates to #
Changes Made
3 files changed, 120 insertions, 1 deletion:
src/agentready/assessors/testing.py
tests/unit/test_assessors_testing.py
docs/attributes.md
Testing
Manual verification complete. The full testing checklist for #473:
pytest)Checklist
Screenshots (if applicable)
Additional Notes
Summary by CodeRabbit
Documentation
Bug Fixes