Merge develop into infrahub-release-1.12
Merged
OG
25d ago+1749+1749+0123456789012345678901234567890123456789-57-57-01234567890123456789
Summary
Merges develop into infrahub-release-1.12. Two commits are added: the merge commit and one commit that resolves the conflict. No commits were rebased or rewritten.
- 117950f: the merge commit, with the conflict markers in
infrahub_sdk/spec/object.pyleft in place so that the resolution shows as its own diff - b73a4a4: the commit that resolves the conflict
Conflicts resolved
infrahub_sdk/spec/object.py, imports: infrahub-release-1.12 addedpeers_are_inline_input(from c1cf8e2). develop addedNodeSchemaAPI(from #1432). The resolution keeps both imports. (b73a4a4)infrahub_sdk/spec/object.py,InfrahubObjectFileData.create_node:- develop (#1432) changed the
ONE_REFbranch so it calls_clean_reference(), which resolves HFID references to a generic peer. - infrahub-release-1.12 (c1cf8e2) added an
elif rel_info.peers_are_inline_fields:branch after it. - The resolution keeps develop's body for the
ONE_REFbranch and keeps the release branch's new branch unchanged after it. - The two branches handle different relationship formats, so neither can catch a value meant for the other.
peers_are_inline_fieldsis true only forMANY_OBJ_DICT_LISTandMANY_OBJ_LIST_DICT._clean_reference()handles onlyONE_REFandMANY_REF. - (b73a4a4)
- develop (#1432) changed the
Files merged without a conflict
pyproject.toml: takes develop'sgraphql-core>=3.2.12,<3.3and keeps infrahub-release-1.12's Python version range and optional dependencies.uv.lock: locksgraphql-core3.2.13.uv lock --checkpasses, so the lock file was not regenerated.tests/unit/sdk/spec/test_object.py: has the changes from both #1397 and #1432.- develop removed
normalize_hfid_references(). Nothing in the merged code calls it.
Checks run locally
uv run invoke format lint-code(ruff, ty, mypy): passesuv run pytest tests/unit: 3139 passed, 2 skipped, 1 xfaileduv run invoke docs-validate: passes
I did not run the integration tests locally, because they need a running Infrahub instance. CI runs them. They include the tests #1432 added in tests/integration/test_spec_object.py. Those tests show whether HFID references to a generic peer work against the 1.12 server.
š¤ Generated with Claude Code