Skip to content

Merge develop into infrahub-develop#947

Merged
ajtmccarty merged 1 commit intoinfrahub-developfrom
develop
Apr 14, 2026
Merged

Merge develop into infrahub-develop#947
ajtmccarty merged 1 commit intoinfrahub-developfrom
develop

Conversation

@infrahub-github-bot-app
Copy link
Copy Markdown
Contributor

Merging develop into infrahub-develop after merging pull request #942.

The point of upserting an object is to let the API server in charge of
deciding what to do. Trying to find if a node is going to be created or
updated just for a `print()` seems to be excessive.

The node not found error should be raised without needing to call `get`
and trigger an API server query/response.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 14, 2026

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0233b90
Status: ✅  Deploy successful!
Preview URL: https://53fb41b9.infrahub-sdk-python.pages.dev
Branch Preview URL: https://develop.infrahub-sdk-python.pages.dev

View logs

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

Codecov Report

❌ Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/ctl/object/delete.py 33.33% 1 Missing and 1 partial ⚠️
@@                 Coverage Diff                  @@
##           infrahub-develop     #947      +/-   ##
====================================================
- Coverage             82.63%   82.36%   -0.27%     
====================================================
  Files                   133      134       +1     
  Lines                 13250    13315      +65     
  Branches               2306     2308       +2     
====================================================
+ Hits                  10949    10967      +18     
- Misses                 1652     1702      +50     
+ Partials                649      646       -3     
Flag Coverage Δ
integration-tests 44.82% <45.45%> (-0.09%) ⬇️
python-3.10 56.56% <63.63%> (-0.15%) ⬇️
python-3.11 56.58% <63.63%> (-0.14%) ⬇️
python-3.12 56.56% <63.63%> (-0.17%) ⬇️
python-3.13 56.56% <63.63%> (-0.17%) ⬇️
python-3.14 58.42% <63.63%> (-0.16%) ⬇️
python-filler-3.12 22.80% <0.00%> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
infrahub_sdk/ctl/object/create.py 97.61% <100.00%> (+5.61%) ⬆️
infrahub_sdk/ctl/object/utils.py 97.29% <100.00%> (-0.86%) ⬇️
infrahub_sdk/ctl/object/delete.py 88.88% <33.33%> (-11.12%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ajtmccarty ajtmccarty merged commit e7c4ee5 into infrahub-develop Apr 14, 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.

2 participants