Skip to content

test: prune redundant scenarios and consolidate safeguards - #2043

Merged
Sau1707 merged 1 commit into
mainfrom
test/prune-redundant-coverage
Dec 3, 2026
Merged

Sau1707 merged 1 commit into
mainfrom
test/prune-redundant-coverage

Conversation

@Sau1707

@Sau1707 Sau1707 commented Dec 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Remove duplicate assertions, fixture checks, and low-value migration, ORM, connection-retry, hook, and Envoy scenarios. Test-only changes across API, SDK, web, and chart tooling; 401 net lines removed.
  • Consolidate organization reconciliation quota/resize checks and table selection coverage. Retain mixed-checkbox, filtered-empty, server-total, resize-cleanup, and live not-found transition safeguards.
  • Narrow coverage intentionally: remove dedicated positive-production migration forwarding, plain-model commit/reload, injected SQLite retry, same-event pagination batching, blank-title permutations, selection-retention, and 15-row manual-pagination cases. No production behavior or migration changes.

Validation

  • Rebased onto current main; only one test-cleanup commit is included.
  • API: uv run --locked --extra dev pytest -q --maxfail=1 — 921 passed.
  • SDK: uv run --locked --group dev pytest -q --maxfail=1 — 544 passed, 1 skipped.
  • Web: vp test run — 550 passed across 89 files.
  • Chart: uv run --locked python -m unittest discover -s ../.github/scripts -p 'test_*.py' — 13 passed.
  • Ruff lint, full Python type checks, web lint/type checks, changed-file Python formatting, SDK/web formatting, and git diff --check passed.
  • Full API formatting check flags four untouched files: api/alembic/env.py, api/alembic/versions/20261102_0014_organizations.py, api/src/kubernetes/gateway.py, and api/tests/routes/v1/test_health.py. Left unchanged.
  • Warnings: five existing ReUI hook warnings, Ruff docstring-rule conflicts, pytest/AnyIO deprecation, and an aiosqlite background-thread warning (Event loop is closed) during the passing API run.
  • Before rebase, retained tests rejected mutations with incorrect resize CPU values and disabled checkbox indeterminate state.

@Sau1707 Sau1707 added api Related to the control plane refactor Structural improvements without changing intended behavior sdk Related to the applications SDK web Related to the web frontend and runtime labels Dec 3, 2026
@Sau1707
Sau1707 merged commit 8546b65 into main Dec 3, 2026
16 checks passed
@Sau1707
Sau1707 deleted the test/prune-redundant-coverage branch December 3, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Related to the control plane refactor Structural improvements without changing intended behavior sdk Related to the applications SDK web Related to the web frontend and runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant