Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(testing): list test:docs and every PostgreSQL spec CI runs

Yudhi Armyndharise5a7e7f4e656
diff --git a/docs/09-testing-strategy.md b/docs/09-testing-strategy.md
index b31887f09..ee0836144 100644
--- a/docs/09-testing-strategy.md
+++ b/docs/09-testing-strategy.md
@@ -38,6 +38,7 @@ npm --prefix dashboard run test:unit
| `npm test -- --runInBand` | Run backend tests serially; useful for local debugging and clean output |
| `npm run test:cov` | Run backend tests with coverage and coverage thresholds |
| `npm run test:e2e` | Run smoke-level e2e tests from `test/` |
+| `npm run test:docs` | Run the docs and manifest drift gates that `npm test` excludes |
| `npm run test:pg-smoke` | Run the PostgreSQL migration and UUID-default smoke test |
| `npm run test:scripts` | Run the repo-level script tests on the Node test runner |
| `npm run build && npm run test:engine-real` | Feed inbound messages through the real Baileys library and built adapter |
@@ -257,8 +258,8 @@ request's superseded run; push runs on `main` are never cancelled or queued behi
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `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`) |
-| `test` | backend coverage run, script unit tests (node:test), e2e smoke tests |
-| `test-postgres` | real PostgreSQL 16 service, backend build, migration smoke, and PostgreSQL FTS provider spec |
+| `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 |
| `scripts-smoke` | shellcheck on `docker-entrypoint.sh` and every `scripts/*.sh`, plus the backup/restore smoke test |
| `chart` | helm lint, helm template with default and fully-toggled values, kubeconform on both renders, the rendered-behaviour check, actionlint on the workflows |