Skip to content

test: add API bootstrap dependency matrix#25

Merged
lan17 merged 1 commit intomainfrom
codex/bootstrap-api-matrix-tests
Feb 19, 2026
Merged

test: add API bootstrap dependency matrix#25
lan17 merged 1 commit intomainfrom
codex/bootstrap-api-matrix-tests

Conversation

@lan17
Copy link
Copy Markdown
Owner

@lan17 lan17 commented Feb 19, 2026

Summary

  • add a new cross-group bootstrap/dependency matrix suite in tests/homesec/test_api_bootstrap_matrix.py
  • validate auth/DB/runtime/media dependency gating across health, config, cameras, runtime, diagnostics, clips, stats, media, and media-token routes
  • assert canonical error_code envelopes on failure paths and DB probe behavior for DB-gated failures

Verification

  • uv run ruff check tests/homesec/test_api_bootstrap_matrix.py
  • uv run ruff format --check tests/homesec/test_api_bootstrap_matrix.py
  • uv run pytest tests/homesec/test_api_bootstrap_matrix.py -q
  • make typecheck

Notes

  • local make check fails in this environment due existing Postgres auth issues in unrelated DB-backed suites (pre-existing), while the new matrix suite passes.

@lan17 lan17 merged commit 06d659c into main Feb 19, 2026
2 checks passed
@lan17 lan17 deleted the codex/bootstrap-api-matrix-tests branch February 19, 2026 18:05
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.92%. Comparing base (956c6e0) to head (ab5126c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   81.91%   81.92%   +0.01%     
==========================================
  Files          93       93              
  Lines        8104     8104              
==========================================
+ Hits         6638     6639       +1     
+ Misses       1466     1465       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant