Skip to content

Conversation

@wvandeun
Copy link
Contributor

@wvandeun wvandeun commented Oct 20, 2025

Summary by CodeRabbit

Release Notes

  • New Features

    • Added GraphQL CLI commands to export schema and generate Pydantic types from queries
    • Added object type conversion capability via convert_object_type method
    • Added range expansion support in object files for pattern-based data expansion
  • Documentation

    • New guide for generating Pydantic models from GraphQL queries
    • New documentation for GraphQL commands and range expansion feature
  • Changes

    • Deprecated raise_for_error parameter; use try/except pattern instead
    • Replaced toml dependency with tomllib/tomli for improved Python compatibility
  • Bug Fixes

    • Improved schema error handling to be more graceful

@wvandeun wvandeun changed the base branch from stable to infrahub-develop October 20, 2025 12:53
@coderabbitai
Copy link

coderabbitai bot commented Oct 20, 2025

Caution

Review failed

Failed to post review comments

Walkthrough

This pull request introduces multiple infrastructure, SDK, and feature updates. GitHub Actions workflows are bumped to newer minor versions with updated Python dependency handling. A pre-commit configuration is added with hooks for code formatting and linting. The SDK gains new GraphQL CLI commands for schema export and type generation, an object-type conversion method, and range expansion support for object files. Supporting modules are added for GraphQL code generation, AST transformations, and range pattern expansion. Configuration file discovery is enhanced to support alternative naming schemes. Protocol definitions are extended with new fields and entity types. Comprehensive test coverage is added for new functionality.

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 25.84% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The pull request title "Prepare release 1.15.0b1" directly and clearly reflects the primary objective of the changeset. The version is explicitly bumped from 1.14.0 to 1.15.0b1 in pyproject.toml, and the PR includes comprehensive release preparation work: multiple changelog entries documenting new features (GraphQL commands, object type conversion, range expansion), workflow updates, schema changes, documentation additions, and test coverage. The title accurately captures the main intent without being vague or generic, and it is specific enough that a teammate scanning the history would immediately understand this prepares and releases version 1.15.0b1.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch wvd-20251020-prep-release-1.15.0b1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@wvandeun wvandeun requested a review from a team October 20, 2025 12:53
@wvandeun wvandeun self-assigned this Oct 20, 2025
@cloudflare-workers-and-pages
Copy link

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7a7104c
Status: ✅  Deploy successful!
Preview URL: https://35c3788c.infrahub-sdk-python.pages.dev
Branch Preview URL: https://wvd-20251020-prep-release-1.infrahub-sdk-python.pages.dev

View logs

@codecov
Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@                 Coverage Diff                  @@
##           infrahub-develop     #584      +/-   ##
====================================================
- Coverage             75.27%   75.25%   -0.03%     
====================================================
  Files                   108      108              
  Lines                  9375     9375              
  Branches               1864     1864              
====================================================
- Hits                   7057     7055       -2     
- Misses                 1823     1824       +1     
- Partials                495      496       +1     
Flag Coverage Δ
integration-tests 34.99% <ø> (ø)
python-3.10 48.45% <ø> (ø)
python-3.11 48.45% <ø> (-0.03%) ⬇️
python-3.12 48.43% <ø> (-0.03%) ⬇️
python-3.13 48.43% <ø> (ø)
python-3.9 47.08% <ø> (-0.03%) ⬇️
python-filler-3.12 24.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 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.

@wvandeun wvandeun merged commit 2dcc1db into infrahub-develop Oct 20, 2025
20 checks passed
@wvandeun wvandeun deleted the wvd-20251020-prep-release-1.15.0b1 branch October 20, 2025 22:02
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