Merge develop into infrahub-develop - #1239
Merged
Merged
Conversation
…ame (#1233) The marker was registered as `infrahub_integraton`, with a missing `i`, but the loader applies `infrahub_integration`. So the marker we really use was never registered, and the one we registered was never used. The description carried the same kind of typo, `Integation`. Integration tests raised a `PytestUnknownMarkWarning` on every run, and collection failed under `--strict-markers`. `pytest --markers` also listed a marker that nothing applies, which misleads anyone selecting tests by marker. Turn on `--strict-markers` for our own test run so an unregistered marker fails the build instead of passing with a warning nobody reads. Two tests guard the marker names. The type markers are applied while collecting, so `--strict-markers` rejects an unregistered one. The resource markers cannot be checked that way: `MARKER_MAPPING` is built when the loader is imported, so those marks exist before a config is attached, and `MarkGenerator` only validates a mark once it has one. Those are compared against the registered list instead, with the expected names taken from `MARKER_MAPPING`, so a new resource marker is covered on its own. Fixes #1231
…docs docs: update compatibility matrix
Merge stable into develop
Deploying infrahub-sdk-python with
|
| Latest commit: |
3c833c6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4af37cc6.infrahub-sdk-python.pages.dev |
| Branch Preview URL: | https://develop.infrahub-sdk-python.pages.dev |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## infrahub-develop #1239 +/- ##
====================================================
+ Coverage 85.09% 85.18% +0.09%
====================================================
Files 147 147
Lines 15784 15786 +2
Branches 2710 2707 -3
====================================================
+ Hits 13431 13447 +16
+ Misses 1683 1673 -10
+ Partials 670 666 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 4 files with indirect coverage changes 🚀 New features to boost your workflow:
|
infrahub-github-bot-app
Bot
merged commit Aug 12, 2026
c248995
into
infrahub-develop
51 of 52 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging develop into infrahub-develop after merging pull request #1238.
Summary by cubic
Fixes
pytestmarker registration by correctly registeringinfrahub_integration, removing UnknownMark warnings and preventing collection failures under strict marker checks. Also updates the SDK compatibility matrix for Infrahub 1.10.7.Bug Fixes
infrahub_integrationmarker with the correct name and description.--strict-markersin tests to fail on unregistered markers.Docs
Written for commit 3c833c6. Summary will update on new commits.