Skip to content

Lint and test runner tools with auto-detection - #10

Merged
tjdoomer merged 2 commits into
mainfrom
feature/lint-test-feedback
Apr 2, 2026
Merged

tjdoomer merged 2 commits into
mainfrom
feature/lint-test-feedback

Conversation

@tjdoomer

@tjdoomer tjdoomer commented Apr 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • lint tool: auto-detect and run project linter, return structured diagnostics
  • run_tests tool: auto-detect and run project tests, return structured results
  • projectDetector.ts: scans for package.json, pyproject.toml, Cargo.toml, go.mod, Gemfile, Makefile
  • outputParsers.ts: parse TypeScript, generic file:line:col formats

Test plan

  • All 1873 tests pass, type-check clean

Auto-detect project lint/test commands, structured diagnostic parsing,
and optional auto-run-after-edit for self-correcting feedback loops.
Auto-detect lint/test commands from project config files:
- package.json scripts, eslint, tsconfig (JS/TS)
- pyproject.toml, ruff, pytest (Python)
- Cargo.toml, clippy (Rust)
- go.mod, golangci-lint (Go)
- Gemfile, rubocop (Ruby)
- Makefile targets

Structured diagnostic parsing for file:line:message output.
@tjdoomer
tjdoomer merged commit 13effb1 into main Apr 2, 2026
@coderabbitai

coderabbitai Bot commented Apr 2, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@tjdoomer has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 4 minutes and 22 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 4 minutes and 22 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1beb00a5-e9a9-4eb8-a696-ad84414eb837

📥 Commits

Reviewing files that changed from the base of the PR and between 617d7e6 and 3c1367c.

📒 Files selected for processing (6)
  • docs/roadmap/09-lint-test-feedback.md
  • packages/core/src/config/config.ts
  • packages/core/src/tools/diagnostics/outputParsers.ts
  • packages/core/src/tools/diagnostics/projectDetector.ts
  • packages/core/src/tools/lint.ts
  • packages/core/src/tools/runTests.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/lint-test-feedback

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants