Skip to content

feat: recognize bunx oxlint and versioned bunx tsc in single-file verification - #533

Open
YuniorGlez wants to merge 1 commit into
ambient-code:mainfrom
YuniorGlez:feat/single-file-bun
Open

feat: recognize bunx oxlint and versioned bunx tsc in single-file verification#533
YuniorGlez wants to merge 1 commit into
ambient-code:mainfrom
YuniorGlez:feat/single-file-bun

Conversation

@YuniorGlez

@YuniorGlez YuniorGlez commented Aug 8, 2026

Copy link
Copy Markdown

Description

The Single-File Verification assessor missed the two commands Bun-based TypeScript projects actually document:

  • bunx oxlint <file>oxlint (oxc.rs, Rust-based linter) was not in the lint patterns at all.
  • bunx tsc@7 --noEmit <file> — the existing tsc --noEmit <file> pattern requires the literal binary name; TypeScript 7 (the Go port) is invoked versioned as tsc@7 through bunx, so it never matched.

Type of Change

  • New feature (non-breaking change which adds functionality)

Related Issues

No related issues (no existing Bun-support issue found; see sibling PRs #531, #532, #534).

Changes Made

  • New lint pattern: (?:bunx\s+)?oxlint\s+<file>
  • New typecheck pattern: (?:bunx\s+)?tsc@<version>\s+--noEmit\s+<file>
  • Unit tests: bunx oxlint recognition, versioned bunx tsc recognition, and full score when both are documented.

Testing

  • Unit tests pass (pytest) — 21 passed (verification suite), 178 total
  • Manual testing performed — verified against a real Bun repo (Next.js base template, single-file 30/100 → 100/100)
  • No new warnings or errors — ruff clean

Checklist

  • My code follows the project's code style
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

TypeScript 7 (native Go port) is distributed as tsc@7 via bunx/npx, so versioned invocations are the standard form in current TS7 projects.

…ification

Bun-based TypeScript projects document single-file checks as
`bunx oxlint <file>` and `bunx tsc@7 --noEmit <file>` (TS7 ships as
`tsc@7` via bunx). Neither matched the existing patterns:

- `oxlint` was missing from the lint patterns entirely.
- `tsc --noEmit <file>` required the literal `tsc` binary; the
  versioned `tsc@7` form (standard with TS7/Go ports) was missed.

- Add `(?:bunx\s+)?oxlint <file>` lint pattern.
- Add `(?:bunx\s+)?tsc@<version> --noEmit <file>` typecheck pattern.
- Unit tests: bunx oxlint, versioned bunx tsc, and full-score combo.
@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@YuniorGlez, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 58 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 500e5c8a-348d-4d0c-bcf6-7d0542ec696d

📥 Commits

Reviewing files that changed from the base of the PR and between 3f4c01b and 3c35eb1.

📒 Files selected for processing (2)
  • src/agentready/assessors/verification.py
  • tests/unit/test_assessors_verification.py

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.

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.

1 participant