Skip to content

Regenerate the Management API client - #91

Merged
curquiza merged 1 commit into
mainfrom
regenerate-management-client
Nov 9, 2026
Merged

curquiza merged 1 commit into
mainfrom
regenerate-management-client

Conversation

@curquiza

@curquiza curquiza commented Nov 9, 2026

Copy link
Copy Markdown
Member

What

Regenerate the Management API client with pnpm gen:management.

The Management API document changed the description of GET /api/v2/resources: "Lists the active resources of active regions and their plan pricing". The only change is this comment in src/lib/clients/management/generated/sdk.gen.ts. CI fails on every pull request while the committed client differs from the document, for example on #90.

Contract

No command changes in this pull request.

  • The command name and flags derive from its routes by the naming rules of docs/contract/commands.md: no command changed
  • Output goes through src/lib/output.ts, errors through src/lib/errors.ts: no command changed
  • The command never waits for a human: no command changed
  • The description starts with one short sentence: no command changed
  • What the user types sends analytics (rule 18): no command changed
  • The command never speaks HTTP itself: no command changed

Tests

  • --help snapshot added or updated on purpose: none changed
  • JSON output snapshot for one success case per route and one error case: no command changed
  • Integration test added (Meilisearch API commands only): no command changed
  • pnpm lint, pnpm typecheck, pnpm test pass locally: lint, typecheck and the unit and contract suites pass. The integration suite could not run locally, because another Meilisearch holds localhost:7700. CI runs it.

Simplicity

  • Nothing in the diff exists for a case the API cannot produce, a caller that does not exist, or a generality nobody asked for (rule 16)
  • Anything shared lives in src/lib/, is used by this command, and is named below: nothing shared added

Docs

  • docs/contract/ updated for every name, flag, variable or code this change adds or renames, or nothing to update: nothing to update
  • The ADRs that touch this change were read; what they decide still holds, or a new ADR says what changed
  • No accepted ADR was edited. A new ADR was added if a decision changed.
  • New or changed prose follows the writing style of rule 17 of CLAUDE.md

Housekeeping

  • oclif.manifest.json regenerated: no command changed
  • Changeset added by the rules of .changeset/README.md, or the change is invisible to users of the package: a comment of the generated client
  • New dependency justified below, or none added: none added

Notes for the reviewer

Generated file only. Merge it first, then #90 is rebased on it.

The description of GET /api/v2/resources changed in the Management API
document. CI fails while the committed client differs from it.
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1

  • src/lib/clients/management/generated/sdk.gen.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: Essentials
  • Run ID: 95ca00f8-299b-4c45-9105-36de73a793d4

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

@curquiza
curquiza merged commit f8c68af into main Nov 9, 2026
3 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.

1 participant