Merge develop into infrahub-develop - #1288
Merged
Merged
Conversation
…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.
Merge stable into develop
Deploying infrahub-sdk-python with
|
| Latest commit: |
0e11153
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5f5d3c97.infrahub-sdk-python.pages.dev |
| Branch Preview URL: | https://develop.infrahub-sdk-python.pages.dev |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## infrahub-develop #1288 +/- ##
====================================================
+ Coverage 84.46% 84.57% +0.11%
====================================================
Files 147 148 +1
Lines 13296 13373 +77
Branches 1930 1953 +23
====================================================
+ Hits 11230 11310 +80
+ Misses 1503 1496 -7
- Partials 563 567 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3 files with indirect coverage changes 🚀 New features to boost your workflow:
|
infrahub-github-bot-app
Bot
merged commit Aug 27, 2026
bbcb11a
into
infrahub-develop
51 of 52 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging develop into infrahub-develop after merging pull request #1287.
Summary by cubic
Merges develop into infrahub-develop, fixing
client.branch.validate()andinfrahubctl branch validateso they no longer request the removedmessagesfield from theBranchValidatemutation and thus no longer raise aGraphQLErroragainst Infrahub 1.1.0 and later.Written for commit 0e11153. Summary will update on new commits.