Skip to content

Merge stable into develop#1121

Merged
ajtmccarty merged 1 commit into
developfrom
stable
Jul 1, 2026
Merged

Merge stable into develop#1121
ajtmccarty merged 1 commit into
developfrom
stable

Conversation

@infrahub-github-bot-app

@infrahub-github-bot-app infrahub-github-bot-app Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Merging stable into develop after merging pull request #1119.


Summary by cubic

Adds exhaustive path search and truncation reporting to infrahub_sdk graph traversal. Introduces shortest_paths_only on traverse_paths and surfaces truncated_at_depth in results, with docs and tests.

  • New Features
    • traverse_paths (async and sync): new optional shortest_paths_only; when False, return all loopless paths (exhaustive). Omitted by default to use the server default.
    • PathTraversalResult: new truncated_at_depth field; None when the search completes within budget. GraphQL selection and parsing updated.
    • Docs: guide and SDK reference updated with examples for shortest_paths_only and how to check truncated_at_depth.

Written for commit 0828e6d. Summary will update on new commits.

Review in cubic

* support for truncated_at_depth and shortest_paths_only

* docs formatting update
@infrahub-github-bot-app infrahub-github-bot-app Bot requested a review from a team as a code owner July 1, 2026 14:42
@github-actions github-actions Bot added the type/documentation Improvements or additions to documentation label Jul 1, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0828e6d
Status: ✅  Deploy successful!
Preview URL: https://71aa1663.infrahub-sdk-python.pages.dev

View logs

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@           Coverage Diff            @@
##           develop    #1121   +/-   ##
========================================
  Coverage    82.16%   82.16%           
========================================
  Files          138      138           
  Lines        11896    11897    +1     
  Branches      1784     1784           
========================================
+ Hits          9774     9775    +1     
  Misses        1572     1572           
  Partials       550      550           
Flag Coverage Δ
integration-tests 41.17% <0.00%> (-0.02%) ⬇️
python-3.10 55.26% <0.00%> (-0.01%) ⬇️
python-3.11 55.26% <0.00%> (-0.01%) ⬇️
python-3.12 55.26% <0.00%> (+0.01%) ⬆️
python-3.13 55.26% <0.00%> (+0.01%) ⬆️
python-3.14 55.26% <0.00%> (-0.01%) ⬇️
python-filler-3.12 22.75% <100.00%> (+<0.01%) ⬆️

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

Files with missing lines Coverage Δ
infrahub_sdk/client.py 75.54% <ø> (ø)
infrahub_sdk/graph_traversal/models.py 96.82% <100.00%> (+0.05%) ⬆️
infrahub_sdk/graph_traversal/query.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ajtmccarty ajtmccarty merged commit 9b9fd26 into develop Jul 1, 2026
37 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.

1 participant