Skip to content

Merge stable into develop#1018

Merged
ajtmccarty merged 13 commits into
developfrom
stable
May 14, 2026
Merged

Merge stable into develop#1018
ajtmccarty merged 13 commits into
developfrom
stable

Conversation

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

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

Merging stable into develop after merging pull request #1016.


Summary by cubic

Fixes infrahubctl schema load to render errors from extensions: entries as clear one-line messages instead of crashing, and adds integration tests for the renderer. Also updates Python SDK doc links, bumps ujson to 5.12.1, and hardens docs-site deps via docs/package.json overrides with a regenerated lockfile; raises dev requests to >=2.33.0 to address security advisories.

Written for commit 0e08c56. Summary will update on new commits.

petercrocker and others added 8 commits May 7, 2026 21:15
- Add npm overrides in docs/package.json for 12 vulnerable transitive deps
  (postcss, follow-redirects, lodash, path-to-regexp, serialize-javascript,
  node-forge, picomatch, rollup, markdown-it, ajv, qs, webpack) and
  regenerate docs/package-lock.json against current registry.
- Bump requests dev dependency floor to >=2.33.0 to clear
  GHSA-gc5v-m9x4-r6x2 (Insecure Temp File Reuse in extract_zipped_paths).

Resolves the 27 currently open Dependabot alerts. `npm audit` reports
0 vulnerabilities after the lockfile regeneration.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ests

  Replace patch()-heavy unit tests for display_schema_load_errors with integration
  tests that exercise the real server response → renderer path, so we catch any
  drift between the schema-load endpoint's error shape and CLI handling
  (particularly for extensions paths). Add an optional  Console parameter
  to display_schema_load_errors so tests can capture rendered output via
  dependency injection instead of patching the module-level console. Keep
  valid_error_path covered as a fast parametrized unit test with no patchin
  Replace  on  with a  Literal of
  nodes, generics, relationships so the accepted values are explicit at the
  type level. Matches the set already enforced at runtime by valid_error_path
…notate _render_schema_error parsing branches
* docs: adjust links following doc migration

* docs: further adjust
@github-actions github-actions Bot added the type/documentation Improvements or additions to documentation label May 12, 2026
iddocohen and others added 3 commits May 12, 2026 21:13
…le.capture() and hoist SchemaContainer alias
Bumps [ujson](https://github.com/ultrajson/ultrajson) from 5.12.0 to 5.12.1.
- [Release notes](https://github.com/ultrajson/ultrajson/releases)
- [Commits](ultrajson/ultrajson@5.12.0...5.12.1)

---
updated-dependencies:
- dependency-name: ujson
  dependency-version: 5.12.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
chore(deps): bump ujson from 5.12.0 to 5.12.1
@ogenstad ogenstad requested a review from a team as a code owner May 13, 2026 10:36
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 13, 2026

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0e08c56
Status: ✅  Deploy successful!
Preview URL: https://3f0e72ba.infrahub-sdk-python.pages.dev

View logs

@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

❌ Patch coverage is 86.33540% with 22 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/ctl/schema.py 70.49% 11 Missing and 7 partials ⚠️
infrahub_sdk/node/node.py 94.80% 0 Missing and 4 partials ⚠️
@@             Coverage Diff             @@
##           develop    #1018      +/-   ##
===========================================
+ Coverage    81.41%   81.54%   +0.13%     
===========================================
  Files          134      134              
  Lines        11347    11467     +120     
  Branches      1703     1735      +32     
===========================================
+ Hits          9238     9351     +113     
- Misses        1566     1569       +3     
- Partials       543      547       +4     
Flag Coverage Δ
integration-tests 41.71% <21.11%> (-0.14%) ⬇️
python-3.10 54.57% <69.56%> (+0.20%) ⬆️
python-3.11 54.59% <69.56%> (+0.22%) ⬆️
python-3.12 54.57% <69.56%> (+0.20%) ⬆️
python-3.13 54.57% <69.56%> (+0.20%) ⬆️
python-3.14 54.57% <69.56%> (+0.22%) ⬆️
python-filler-3.12 22.66% <14.28%> (-0.09%) ⬇️

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/checks.py 70.19% <ø> (ø)
infrahub_sdk/client.py 74.58% <ø> (ø)
infrahub_sdk/config.py 91.13% <ø> (ø)
infrahub_sdk/convert_object_type.py 84.00% <ø> (ø)
infrahub_sdk/ctl/branch.py 81.48% <ø> (ø)
infrahub_sdk/ctl/check.py 26.44% <ø> (ø)
infrahub_sdk/ctl/cli_commands.py 72.33% <ø> (ø)
infrahub_sdk/ctl/config.py 67.27% <ø> (ø)
infrahub_sdk/ctl/formatters/__init__.py 100.00% <ø> (ø)
... and 46 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

iddocohen and others added 2 commits May 14, 2026 07:50
fix(ctl): handle extensions paths in display_schema_load_errors (#1007)
chore(deps): patch transitive vulns in docs and bump requests dev floor
@ajtmccarty ajtmccarty merged commit 2de8b09 into develop May 14, 2026
39 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.

5 participants