diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cd96ed8..e8ed0073 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -317,7 +317,7 @@ jobs: !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && needs.files-changed.outputs.python == 'true' - needs: ["prepare-environment", "files-changed", "yaml-lint", "python-lint"] + needs: ["prepare-environment", "files-changed", "yaml-lint", "python-lint", "unit-tests"] runs-on: group: "huge-runners" timeout-minutes: 40 @@ -355,7 +355,7 @@ jobs: # !contains(needs.*.result, 'cancelled') && # needs.files-changed.outputs.python == 'true' && # (github.base_ref == 'stable' || github.base_ref == 'develop') - # needs: ["prepare-environment", "files-changed", "yaml-lint", "python-lint"] + # needs: ["prepare-environment", "files-changed", "yaml-lint", "python-lint", "unit-tests"] # runs-on: # group: "huge-runners" # timeout-minutes: 30 diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e6a7ac0..3ff41d50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,13 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang +## [1.23.1](https://github.com/opsmill/infrahub-sdk-python/tree/v1.23.1) - 2026-08-28 + +### Fixed + +- Fixed `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. ([#1263](https://github.com/opsmill/infrahub-sdk-python/issues/1263)) +- The queries generated by `all()`, `filters()`, `get()` and relationship `fetch()` no longer request `count` on cardinality-many relationships. The SDK never read that value, and Infrahub resolved it with one extra database query per returned node and per relationship, on top of preventing the peer reads of those nodes from being batched into a single query. + ## [1.23.0](https://github.com/opsmill/infrahub-sdk-python/tree/v1.23.0) - 2026-08-19 ### Removed diff --git a/changelog/+relationship-peer-count.fixed.md b/changelog/+relationship-peer-count.fixed.md deleted file mode 100644 index 66b4a048..00000000 --- a/changelog/+relationship-peer-count.fixed.md +++ /dev/null @@ -1 +0,0 @@ -The queries generated by `all()`, `filters()`, `get()` and relationship `fetch()` no longer request `count` on cardinality-many relationships. The SDK never read that value, and Infrahub resolved it with one extra database query per returned node and per relationship, on top of preventing the peer reads of those nodes from being batched into a single query. diff --git a/changelog/1263.fixed.md b/changelog/1263.fixed.md deleted file mode 100644 index f2a23fd7..00000000 --- a/changelog/1263.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fixed `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.