test: invoke typescript compiler through npx package#719
Conversation
|
Warning Review limit reached
Next review available in: 40 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
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 |
Greptile SummaryFixes the
Confidence Score: 5/5A minimal, targeted one-line fix to a test helper; no production logic is touched and the change directly resolves the documented CI failure. The single-character diff adds No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "test: invoke typescript compiler through..." | Re-trigger Greptile |
### 🐛 Bug Fixes - **(parse)** allow hyphen-prefixed flag values by [@jdx](https://github.com/jdx) in [#715](#715) ### 📚 Documentation - redesign logo as flat vector flag mark by [@jdx](https://github.com/jdx) in [#714](#714) ### 🧪 Testing - invoke typescript compiler through npx package by [@jdx](https://github.com/jdx) in [#719](#719) ### 🔍 Other Changes - **(release)** skip ai reviews for release prs by [@jdx](https://github.com/jdx) in [#718](#718) - schedule releases for Monday morning by [@jdx](https://github.com/jdx) in [#710](#710) - gate autorelease on fix and feat commits by [@jdx](https://github.com/jdx) in [#716](#716)
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [usage](https://github.com/jdx/usage) | patch | `3.5.4` → `3.5.5` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>jdx/usage (usage)</summary> ### [`v3.5.5`](https://github.com/jdx/usage/blob/HEAD/CHANGELOG.md#355---2026-07-13) [Compare Source](jdx/usage@v3.5.4...v3.5.5) ##### 🐛 Bug Fixes - **(parse)** allow hyphen-prefixed flag values by [@​jdx](https://github.com/jdx) in [#​715](jdx/usage#715) ##### 📚 Documentation - redesign logo as flat vector flag mark by [@​jdx](https://github.com/jdx) in [#​714](jdx/usage#714) ##### 🧪 Testing - invoke typescript compiler through npx package by [@​jdx](https://github.com/jdx) in [#​719](jdx/usage#719) ##### 🔍 Other Changes - **(release)** skip ai reviews for release prs by [@​jdx](https://github.com/jdx) in [#​718](jdx/usage#718) - schedule releases for Monday morning by [@​jdx](https://github.com/jdx) in [#​710](jdx/usage#710) - gate autorelease on fix and feat commits by [@​jdx](https://github.com/jdx) in [#​716](jdx/usage#716) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTcuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1Ny4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6cGF0Y2giXX0=-->
Summary
tscfrom the explicitly selectedtypescriptnpm packagenpxfrom treatingtscas a source-file argumentRoot cause
The SDK compile test ran
npx --yes typescript tsc --project .... With the CI runner'snpxbehavior, the extratsctoken was forwarded to the compiler as a source file, which cannot be combined with--projectand caused TS5042 in the test and coverage jobs.Validation
rustup run stable cargo test -p usage-lib --test sdk_compileNote
Low Risk
Test-only change to the
npxargument list; no production or SDK generation behavior is modified.Overview
Fixes the TypeScript SDK compile test on CI by changing how
tscis launched throughnpx.The test now passes
--package,typescriptbeforetsc, sonpxruns the compiler from thetypescriptpackage instead of forwarding a straytsctoken as a source file (which conflicted with--projectand triggered TS5042).Reviewed by Cursor Bugbot for commit 7c6ae85. Bugbot is set up for automated code reviews on this repo. Configure here.