Skip to content

Merge stable into develop - #1287

Merged
infrahub-github-bot-app[bot] merged 1 commit into
developfrom
stable
Aug 26, 2026
Merged

Merge stable into develop#1287
infrahub-github-bot-app[bot] merged 1 commit into
developfrom
stable

Conversation

@infrahub-github-bot-app

@infrahub-github-bot-app infrahub-github-bot-app Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Merging stable into develop after merging pull request #1279.


Summary by cubic

Fixes client.branch.validate() and infrahubctl branch validate, which raised a GraphQLError against every supported Infrahub server because the mutation requested a messages field that was removed from BranchValidate in Infrahub 1.1.0. The mutation now requests only the ok field, and tests were added to cover both async and sync clients.

Written for commit 5bbf34c. Summary will update on new commits.

Review in cubic

…messages field (#1279)

* fix: stop client.branch.validate() requesting removed BranchValidate.messages field

The BranchValidate mutation stopped exposing the messages field in
Infrahub 1.1.0, but both validate() variants still requested it (plus an
unused object selection), so every call raised a GraphQLError against any
supported server. Request only ok, which is the single field the method
returns.

Adds a unit regression test asserting the rendered mutation no longer
contains messages, and integration coverage for both client variants on
the existing branch test classes.

* test: validate sync-branch01 in sync branch.validate integration test

The sync test class's base_dataset creates sync-branch01, not branch01;
the test referenced the async class's branch name and failed with
BRANCH_NOT_FOUND.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5bbf34c
Status: ✅  Deploy successful!
Preview URL: https://a642e98a.infrahub-sdk-python.pages.dev

View logs

@infrahub-github-bot-app
infrahub-github-bot-app Bot merged commit 0e11153 into develop Aug 26, 2026
36 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