Skip to content

Merge develop into infrahub-develop#1015

Merged
ogenstad merged 6 commits into
infrahub-developfrom
develop
May 13, 2026
Merged

Merge develop into infrahub-develop#1015
ogenstad merged 6 commits into
infrahub-developfrom
develop

Conversation

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

@infrahub-github-bot-app infrahub-github-bot-app Bot commented May 12, 2026

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


Summary by cubic

Adds SHA‑1–based idempotent file operations for CoreFileObject nodes, letting downloads and uploads short‑circuit when content hasn’t changed. Also improves SDK docs with clearer raised exceptions.

  • New Features

    • download_file(skip_if_unchanged=True) returns 0 when the local file matches the server checksum.
    • matches_local_checksum(source) and upload_if_changed(source, name=None) added; returns UploadResult.
    • New streaming sha1_of_source helper; updated docs with overloads and “Raises”; added unit tests.
  • Dependencies

    • Bumped infrahub-testcontainers to 1.9.3.
    • Bumped urllib3 to 2.7.0.

Written for commit 1733bc0. Summary will update on new commits.

ogenstad and others added 6 commits May 10, 2026 19:27
---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Guillaume Mazoyer <guillaume@opsmill.com>
)

Bumps [infrahub-testcontainers](https://github.com/opsmill/infrahub) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/opsmill/infrahub/releases)
- [Changelog](https://github.com/opsmill/infrahub/blob/stable/CHANGELOG.md)
- [Commits](opsmill/infrahub@infrahub-v1.9.2...infrahub-v1.9.3)

---
updated-dependencies:
- dependency-name: infrahub-testcontainers
  dependency-version: 1.9.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.6.3...2.7.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.7.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add raises section to existing docstrings
Merge stable into develop
@infrahub-github-bot-app infrahub-github-bot-app Bot requested a review from a team as a code owner May 12, 2026 12:28
@github-actions github-actions Bot added the type/documentation Improvements or additions to documentation label May 12, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1733bc0
Status: ✅  Deploy successful!
Preview URL: https://7dcff9ea.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 May 12, 2026

Codecov Report

❌ Patch coverage is 96.00000% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/node/node.py 94.80% 0 Missing and 4 partials ⚠️
@@                 Coverage Diff                  @@
##           infrahub-develop    #1015      +/-   ##
====================================================
+ Coverage             81.43%   81.56%   +0.13%     
====================================================
  Files                   134      134              
  Lines                 11359    11454      +95     
  Branches               1703     1730      +27     
====================================================
+ Hits                   9250     9343      +93     
+ Misses                 1566     1565       -1     
- Partials                543      546       +3     
Flag Coverage Δ
integration-tests 41.55% <0.00%> (-0.35%) ⬇️
python-3.10 54.60% <73.00%> (+0.18%) ⬆️
python-3.11 54.61% <73.00%> (+0.20%) ⬆️
python-3.12 54.61% <73.00%> (+0.22%) ⬆️
python-3.13 54.60% <73.00%> (+0.18%) ⬆️
python-3.14 54.59% <73.00%> (+0.18%) ⬆️
python-filler-3.12 22.69% <23.00%> (-0.04%) ⬇️

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

Files with missing lines Coverage Δ
infrahub_sdk/_importer.py 91.42% <ø> (ø)
infrahub_sdk/client.py 74.58% <ø> (ø)
infrahub_sdk/config.py 91.13% <ø> (ø)
infrahub_sdk/file_handler.py 83.95% <100.00%> (+2.26%) ⬆️
infrahub_sdk/graphql/query_renderer.py 97.70% <ø> (ø)
infrahub_sdk/graphql/utils.py 73.80% <ø> (ø)
infrahub_sdk/node/__init__.py 100.00% <100.00%> (ø)
infrahub_sdk/node/constants.py 100.00% <100.00%> (ø)
infrahub_sdk/node/parsers.py 63.63% <ø> (ø)
infrahub_sdk/node/relationship.py 79.67% <ø> (ø)
... and 10 more

... and 1 file with indirect coverage changes

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

@ogenstad ogenstad merged commit 0597c4f into infrahub-develop May 13, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants