ci(spec): fix oasdiff smoke test to use --version flag - #53
Conversation
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_df627d77-22b9-456b-80fe-252647df3c6d) |
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 48 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. 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: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Comment |
| # v1.28.0 has no `version` subcommand (exits 100); the flag form is correct. | ||
| oasdiff --version |
There was a problem hiding this comment.
🔍 Smoke-test flag form should be confirmed against the pinned oasdiff release
The only change swaps the smoke test from oasdiff version to oasdiff --version for the pinned v1.28.0 binary, with a comment asserting the subcommand form exits 100. Since the step runs under bash -e, a wrong flag form would fail the whole breaking-change job before the actual diff step; worth confirming the flag is supported by the exact pinned release (the comment is the only evidence in-repo). Note this step is purely a smoke test — dropping it entirely would also be an option if the CLI surface is unstable across versions.
Was this helpful? React with 👍 or 👎 to provide feedback.
PR Summary by QodoFix oasdiff CI smoke test to use --version flag
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
There was a problem hiding this comment.
Risk: low. Left a non-blocking comment — Cursor Bugbot and Cursor Security Agent both skipped (Bugbot hit a usage limit), so the required automated review signals did not complete successfully and this cannot be auto-approved. Human review is needed; no reviewers were assigned because the only assignable user is the PR author.
Sent by Cursor Approval Agent: Pull Request Router and Approver
ApprovabilityVerdict: Approved fa6673e Minor CI workflow fix changing a smoke test CLI flag from You can customize Macroscope's approvability policy. Learn more. |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can group findings by type and pick your Finding display, from Minimal to Full |
Qodo FixerNo findings are available for this PR yet. Findings appear here once Qodo has reviewed the PR. |


The breaking-change gate merged in #49 fails on every PR before it can diff anything: its install step's smoke test invokes
oasdiff version, but the pinned v1.28.0 binary has noversionsubcommand and exits 100 (verified against the exact release tarball; the flag form printsoasdiff version 1.28.0and exits 0).Also verified
oasdiff breaking --fail-on ERRstill exits 0 comparing this branch's spec against main, so the gate goes green once the smoke test passes.Note
Low Risk
One-line CI smoke-test fix with no impact on gate logic, auth, or the OpenAPI contract itself.
Overview
Fixes the breaking-change gate install smoke test, which was failing on every PR before any diff ran.
Pinned
oasdiffv1.28.0 has noversionsubcommand (exits 100), so the check now usesoasdiff --versioninstead.Reviewed by Cursor Bugbot for commit fa6673e. Configure here.
Note
Fix oasdiff smoke test to use
--versionflag instead ofversionsubcommandThe
oasdiff versionsubcommand does not exist in v1.28.0 and exits with code 100, causing the install verification step to fail. Updates foundation-gate.yml to useoasdiff --versioninstead.Macroscope summarized fa6673e.