Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(testing): note the dashboard audit and Python SDK type check

Yudhi Armyndharisca17beb9a639
diff --git a/docs/09-testing-strategy.md b/docs/09-testing-strategy.md
index ee0836144..26320e0c1 100644
--- a/docs/09-testing-strategy.md
+++ b/docs/09-testing-strategy.md
@@ -257,7 +257,7 @@ request's superseded run; push runs on `main` are never cancelled or queued behi
| Job | Checks |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `lint` | backend ESLint, full-program TypeScript check, formatting, version consistency, .dockerignore context, OpenAPI snapshot, SDK routes and webhook events against the contract, contract coverage per SDK, SDK docs against the shipped client surface, client wire shapes (`check:contract-shapes` — the JavaScript SDK's, dashboard's, Python's, Go's and Java's hand-written types against the OpenAPI schemas; the PHP client returns untyped arrays and has no types layer to gate) |
-| `audit` | dependency security audit of BOTH npm trees (root and `dashboard/`); when npm's audit endpoint cannot answer, the root audit skips with a warning annotation here, while the release gate and the weekly scan fail (`CHECK_AUDIT_REQUIRED=1`) |
+| `audit` | dependency security audit of BOTH npm trees (root and `dashboard/`); when npm's audit endpoint cannot answer, the root audit skips with a warning annotation here while the dashboard audit, a plain `npm audit`, fails closed, so the job still goes red until a re-run; the release gate and the weekly scan fail (`CHECK_AUDIT_REQUIRED=1`) |
| `test` | backend coverage run, repo-file drift gates (`test:docs`), script unit tests (node:test), e2e smoke tests |
| `test-postgres` | real PostgreSQL 16 service, backend build, migration smoke, and the PostgreSQL specs (FTS provider, boot-migration lock, message list ordering, entity synchronize, UTC pin) |
| `dashboard` | dashboard install, lint, formatting, type-check, i18n parity, build, unit tests |
@@ -272,7 +272,7 @@ contract surfaces that SDKs mirror (`src/**/dto/**`, `src/**/*.controller.ts`, `
re-runs the SDK suites. It runs:
- JavaScript SDK tests, type-check, build, and dual CJS/ESM smoke test on Node 18 (the `engines` floor) and 22.
-- Python SDK tests with `pytest`.
+- Python SDK type check with `mypy` and tests with `pytest` on Python 3.9 and 3.12.
- PHP SDK tests with PHPUnit.
- Java SDK tests with Maven.
- Go SDK formatting, `go vet`, and race-enabled tests at the declared Go floor.