Skip to content

Conversation

@infrahub-github-bot-app
Copy link
Contributor

Merging stable into develop after merging pull request #617.

gmazoyer and others added 30 commits July 17, 2025 10:44
- Add find_repository_config_file() function to search for both .yml and .yaml extensions
- Update all modules to use dynamic config file discovery
- Prefer .yml over .yaml when both exist for backward compatibility
- Update pytest plugin to support both extensions
- Improve error messages to mention both possible file extensions
develop -> infrahub-develop
Support infrahub.yml or infrahub.yaml configuration files
Merge 'develop' into 'infrahub-develop'
Merge develop into infrahub-develop
…ict-20251007

Fix merge conflict between `develop` and `infrahub-develop`
*Also fix typo which probably has been there for a while
Merge develop into infrahub-develop
Merge develop into infrahub-develop
Merge develop into infrahub-develop
Add flags to `CoreGeneratorDefinition` to control when each generator should be executed
Merge develop into infrahub-develop
* Replace strategy in object file with parameters section

* Implement code rabbit suggestions

* implement logic directly in process_data

* Patricks suggestion

* Fix default parameter initialization for InfrahubObjectFileData

* Refactor InfrahubObjectFileData to allow optional parameters initialization

---------

Co-authored-by: Alex Gittings <agitting96@gmail.com>
Merge develop into infrahub-develop
Merge develop into infrahub-develop
Merge develop into infrahub-develop
@github-actions github-actions bot added the type/documentation Improvements or additions to documentation label Nov 11, 2025
@coderabbitai
Copy link

coderabbitai bot commented Nov 11, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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

@cloudflare-workers-and-pages
Copy link

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: d9ead2d
Status: ✅  Deploy successful!
Preview URL: https://34bef335.infrahub-sdk-python.pages.dev

View logs

@codecov
Copy link

codecov bot commented Nov 11, 2025

Codecov Report

❌ Patch coverage is 68.62124% with 198 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/ctl/graphql.py 35.78% 61 Missing ⚠️
infrahub_sdk/graphql/plugin.py 50.98% 24 Missing and 1 partial ⚠️
infrahub_sdk/schema/__init__.py 52.77% 15 Missing and 2 partials ⚠️
infrahub_sdk/graphql/utils.py 20.00% 16 Missing ⚠️
infrahub_sdk/ctl/repository.py 25.00% 12 Missing and 3 partials ⚠️
infrahub_sdk/ctl/schema.py 46.15% 11 Missing and 3 partials ⚠️
infrahub_sdk/pytest_plugin/utils.py 30.00% 10 Missing and 4 partials ⚠️
infrahub_sdk/client.py 79.06% 5 Missing and 4 partials ⚠️
infrahub_sdk/spec/range_expansion.py 88.57% 5 Missing and 3 partials ⚠️
infrahub_sdk/spec/object.py 76.92% 6 Missing ⚠️
... and 7 more
@@             Coverage Diff             @@
##           develop     #619      +/-   ##
===========================================
- Coverage    75.94%   75.46%   -0.49%     
===========================================
  Files          101      113      +12     
  Lines         8977     9512     +535     
  Branches      1772     1893     +121     
===========================================
+ Hits          6818     7178     +360     
- Misses        1677     1834     +157     
- Partials       482      500      +18     
Flag Coverage Δ
integration-tests 34.90% <33.75%> (+0.21%) ⬆️
python-3.10 48.76% <51.18%> (+0.06%) ⬆️
python-3.11 48.74% <51.18%> (+0.04%) ⬆️
python-3.12 48.72% <51.18%> (+0.07%) ⬆️
python-3.13 48.74% <51.18%> (+0.06%) ⬆️
python-3.9 47.43% <49.76%> (+0.08%) ⬆️
python-filler-3.12 24.29% <15.05%> (-0.61%) ⬇️

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

Files with missing lines Coverage Δ
infrahub_sdk/branch.py 56.37% <100.00%> (+2.47%) ⬆️
infrahub_sdk/ctl/branch.py 77.46% <100.00%> (+0.32%) ⬆️
infrahub_sdk/ctl/generator.py 50.90% <100.00%> (-0.88%) ⬇️
infrahub_sdk/generator.py 79.06% <100.00%> (+1.56%) ⬆️
infrahub_sdk/graphql/__init__.py 100.00% <100.00%> (ø)
infrahub_sdk/graphql/constants.py 100.00% <100.00%> (ø)
infrahub_sdk/graphql/query.py 100.00% <100.00%> (ø)
infrahub_sdk/graphql/renderers.py 98.68% <100.00%> (ø)
infrahub_sdk/protocols.py 100.00% <100.00%> (ø)
infrahub_sdk/pytest_plugin/plugin.py 85.10% <100.00%> (+0.66%) ⬆️
... and 21 more

... 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.

@ogenstad ogenstad merged commit 7d3878c into develop Nov 11, 2025
31 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.

8 participants