Merge develop into infrahub-develop - #1322
Merged
polmichel merged 9 commits intoSep 4, 2026
Merged
Conversation
Add unit-tests to the needs list of integration-tests-latest-infrahub so the expensive huge-runner integration job is skipped when any unit-test matrix leg fails, instead of running in parallel with failing unit tests.
ci: gate integration tests on unit-test success
Merge stable into develop
Build the 1.23.1 changelog section from the two pending towncrier fragments and remove them. The package version is derived from the git tag by hatch-vcs, so there is nothing to bump in pyproject.toml or uv.lock - tagging v1.23.1 after this merges is what sets the version. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Build the 1.23.1 changelog section from the two pending towncrier fragments and remove them. The package version is derived from the git tag by hatch-vcs, so there is nothing to bump in pyproject.toml or uv.lock - tagging v1.23.1 after this merges is what sets the version. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Infrahub declares a `refresh_tokens` relationship on CoreGenericAccount, so that the delete of an account also removes its refresh tokens. This file is generated from that schema, so it needs the same relationship.
Merge stable into develop
…-infrahub-develop-1315 # Conflicts: # infrahub_sdk/protocols.py
infrahub-develop regenerated infrahub_sdk/protocols.py wholesale against a newer core schema (typed RelationshipManager[...], alphabetical ordering). develop's only substantive change was #1307 adding refresh_tokens to the account, generated against the older schema shape. protocols.py is generated (never hand-merged), so accept the destination's regenerated output; the older-schema account shape (tokens/refresh_tokens/external_identities) is superseded by the newer generation (member_of_groups/subscriber_of_groups). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Deploying infrahub-sdk-python with
|
| Latest commit: |
2b66d9f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d83f06ff.infrahub-sdk-python.pages.dev |
| Branch Preview URL: | https://merge-develop-into-infrahub.infrahub-sdk-python.pages.dev |
polmichel
marked this pull request as ready for review
September 4, 2026 07:40
ogenstad
approved these changes
Sep 4, 2026
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.
Supersedes #1315, which was blocked on merge conflicts.
Summary
Merges
developintoinfrahub-develop. All of develop's changes except one were already present ininfrahub-develop; the merged tree is byte-identical toinfrahub-develop.Why the net diff is empty
GitHub shows 0 files changed — this is expected, not a mistake. Relative to the merge base,
developtouches only 5 files, and 4 are already byte-identical oninfrahub-develop(absorbed via earlierstable → develop → infrahub-developsyncs):.github/workflows/ci.yml,CHANGELOG.md(1.23.1 notes),changelog/1263.fixed.md,changelog/+relationship-peer-count.fixed.md— already present.infrahub_sdk/protocols.py— the only real delta (refresh_tokensfrom Add the refresh tokens relationship to the account protocols #1307), resolved to the destination's regenerated output (see below).Once that conflict resolves to the regenerated version, no content difference remains. The merge only reconciles history (marking
developas merged intoinfrahub-develop); it carries no new content.Per commit that
developbrings in (not oninfrahub-develop), here is where its content already lives — or why it's moot:developinfrahub-developby4cac0c5ci: gate integration tests on unit-test success7bd5c94— identical change9b39ab4chore(release): 1.23.1 notes1f11b06— same release (adds## [1.23.1], consumes the fragments)bfdcefechore(release): 1.23.1 notes (duplicate)1f11b06— same release66a2543Add refresh_tokens to the account (#1307)49d47b8(#1285): the regeneration droppedtokens/external_identities(internal peers, never exposed by/api/schema);refresh_tokensis the same category and is excluded by the current generator4eb1b35Merge #1283 (pipeline-fail-fast)4cac0c5ontodevelop)7c9d15fMerge #1302 from stablede1ad7eMerge #1314 from stableConflicts resolved
infrahub_sdk/protocols.py—CoreGenericAccount/CoreGenericAccountSync.infrahub-develophad already regenerated the whole file (49d47b8, feat(protocols): regenerate protocols with peer-typed relationships [IFC-3054] #1285) against a newer core schema (typedRelationshipManager[CoreGroup], alphabetical ordering,member_of_groups/subscriber_of_groups). develop (via Add the refresh tokens relationship to the account protocols #1307) addedrefresh_tokensto the account in the older generated shape (tokens/refresh_tokens/external_identities). Sinceprotocols.pyis generated and never hand-merged, took the destination's regenerated output; the older-schema account shape is superseded by the newer generation. (2b66d9f)Conflicts raised for review
49d47b8) intentionally droppedtokens/external_identities— "their peers are internal, so/api/schemanever exposed them and nothing consumes them."refresh_tokens(Add the refresh tokens relationship to the account protocols #1307) is the same kind of internal-peer relationship, so the current generator legitimately excludes it too.Generated files regenerated
infrahub_sdk/protocols.pyis generated by the main Infrahub backend (invoke backend.generate); no live Infrahub/schema is available in this repo, so the destination's existing regeneration was accepted rather than re-run.Validation
protocols.pyparses;ruff+tyclean.tests/unit/sdk/test_protocols_generator.py— 19/19 pass.psutil.cpu_freq()crash in thepytest-infrahub-performance-testplugin on Python 3.14/macOS — environment bug, runs on Linux in CI).Summary by cubic
Merges
developintoinfrahub-develop; the result is byte-identical toinfrahub-develop.The only conflict was in
infrahub_sdk/protocols.py. Took the destination's regenerated output, which supersedes the older-schema account shape fromdevelop(#1307) that addedrefresh_tokens. The file is generated and never hand-merged.Written for commit 2b66d9f. Summary will update on new commits.