Skip to content

test(contract): refresh vendored swagger from k8s-stack-manager v0.3.1#105

Merged
omattsson merged 1 commit into
mainfrom
chore/refresh-swagger-v0.3.1
Jun 18, 2026
Merged

test(contract): refresh vendored swagger from k8s-stack-manager v0.3.1#105
omattsson merged 1 commit into
mainfrom
chore/refresh-swagger-v0.3.1

Conversation

@omattsson

Copy link
Copy Markdown
Owner

Pins the contract tests to the v0.3.1 schema before tagging stackctl v0.3.0. Diff is the new endpoints landed in v0.3.1: WebSocket subprotocol auth (#262), OIDC loopback (#249), inline-charts envelope on POST /templates (#264).

Local: go test ./cli/test/contract/... passes.

Pins the contract tests against the just-published v0.3.1 schema so
this stackctl release ships with a vendored copy of the exact backend
contract it depends on. Diff covers backend changes since 0.3.0:
WebSocket subprotocol auth (#262), OIDC loopback (#249), and the
inline-charts envelope on POST /templates (#264).

Verified: go test ./cli/test/contract/... passes against the new
schema.
@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • cli/test/contract/testdata/swagger.json is excluded by !**/testdata/**

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

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 35604985-2ba3-4792-a3dd-3ce7360812a4

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/refresh-swagger-v0.3.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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@omattsson omattsson merged commit f1e4ba7 into main Jun 18, 2026
8 checks passed
@omattsson omattsson deleted the chore/refresh-swagger-v0.3.1 branch June 18, 2026 06:43
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