Skip to content

fix(codegen): regenerate commands from latest OpenAPI spec - #32

Merged
cb-logesh merged 1 commit into
mainfrom
fix/codegen-spec-refresh
Nov 13, 2026
Merged

cb-logesh merged 1 commit into
mainfrom
fix/codegen-spec-refresh

Conversation

@cb-muthiahm

@cb-muthiahm cb-muthiahm commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The test / codegen check fails on main (run 43422497507). The public OpenAPI spec changed after #31's CI ran (source sha 480b6b1 → b9bcf89), so bun run generate --refresh no longer matches the committed files. This PR regenerates them. No source changes.

Changes

  • business_entity create: "Create a business_entity" → "Create a business entity"
  • usage create/delete/list/retrieve: the summaries are now just "Create", "Delete", "List" and "Retrieve" (previously "Create a usage" and so on). This comes from the upstream spec. It's worth raising with the spec owners, since the help text is less descriptive now.
  • .openapi-source-sha updated.

Type of change

  • Bug fix (generated code sync)
  • New feature
  • Documentation
  • Refactor / internal
  • Other:

Checklist

  • bun test passes (unit + integration: 1417 pass)
  • bun run typecheck passes
  • If I changed the code generator or SDK version, I ran bun run generate --refresh and committed the regenerated src/commands/generated/*
  • I updated docs / README / skill content where relevant
  • I did not commit any secrets or credentials

Related issues

Fixes the main CI failure after #31.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 3

  • src/commands/generated/.openapi-source-sha is excluded by !**/generated/**
  • src/commands/generated/business_entity.ts is excluded by !**/generated/**
  • src/commands/generated/usage.ts is excluded by !**/generated/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: b3de81d5-cc71-4383-97b0-6941d39b0aea

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@github-actions

Copy link
Copy Markdown
Contributor

Test coverage

✅ Gate passed — all 79 files are at or above the 95% floor.

Status Metric Coverage Threshold
✅ Functions 99.90% 95%
✅ Lines 99.45% 95%

The public OpenAPI spec changed operation summaries for usage and
business_entity after the last regeneration, so the codegen drift check
fails on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cb-muthiahm
cb-muthiahm force-pushed the fix/codegen-spec-refresh branch from db231ff to 6624798 Compare November 13, 2026 12:19
@cb-muthiahm cb-muthiahm changed the title chore(codegen): regenerate commands from latest OpenAPI spec fix(codegen): regenerate commands from latest OpenAPI spec Nov 13, 2026
@cb-logesh
cb-logesh merged commit dd71121 into main Nov 13, 2026
34 checks passed
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