From 9a59703a3481d410aad4c6cc0269de11a565e81f Mon Sep 17 00:00:00 2001 From: Maurice Date: Tue, 20 Oct 2026 08:27:01 +0200 Subject: [PATCH] docs(ci): complete the job list in test.yml and follow the renamed parity job The list at the top of test.yml now names every step group its jobs hold, the contributing guide names the parity job as it is called now, and db-mock.ts says test-db reaches the auth controller only when a rate limit is reset. --- .github/workflows/test.yml | 20 ++++++++++++-------- server/tests/helpers/db-mock.ts | 5 +++-- wiki/Contributing.md | 2 +- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd4017d46..ee8f2a547 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,18 +15,22 @@ permissions: # Repo: Changed Areas decides what the change needs to run (below) # Shared: i18n Parity every locale has en's files and keys # Shared: Coverage shared's tests with coverage -# Server: Types builds shared and the server, typechecks src, -# tests and scripts, the strict ratchet, the -# generated entities and Kysely types +# Server: Types builds shared and the server, typechecks shared, +# the server's src, tests and scripts, smokes the +# production require chain, the strict ratchet, +# the generated entities and Kysely types # Server: Lint ESLint (typed), errors and warning counts -# Server: Checks Prettier, the plugin facts, the source ratchets -# (size, boundaries, dialect, tx, test SQL/mocks, -# query API, MCP zod, error envelopes, response -# contracts), open request schemas, knip +# Server: Checks Prettier, the plugin facts, the DB call graph, +# the shared ratchet code, the source ratchets +# (size, boundaries, dialect, tx, test SQL, test +# mocks, hand-built services, query API, MCP zod, +# error envelopes, response contracts), open +# request schemas, knip # Server: Tests n/7 one slice of the server suite, with coverage # Server: Coverage merges the slices, checks the per-domain # thresholds, uploads lcov -# Server: S3 Contract the storage driver against MinIO +# Server: S3 Contract (MinIO) +# the storage driver against MinIO # Server: Postgres Probe the repository SQL against Postgres # Client: Types typecheck and the strict ratchet # Client: Lint ESLint (typed), errors and warning counts diff --git a/server/tests/helpers/db-mock.ts b/server/tests/helpers/db-mock.ts index bd1b53dc3..f929a30b1 100644 --- a/server/tests/helpers/db-mock.ts +++ b/server/tests/helpers/db-mock.ts @@ -4,8 +4,9 @@ * its mock is still being built and capture the real module. * * `tests/helpers/test-db.ts` used to define `createSnapshotTestDb`/`buildDbMock` - * itself, but it also imports `AuthPublicController` (for `resetRateLimits`), - * which drags in the whole auth graph — including `jwt-verify.ts`, which + * itself, but it also reaches `AuthPublicController` (for `resetRateLimits`, + * imported when that helper runs, statically before), which drags in the + * whole auth graph — including `jwt-verify.ts`, which * imports `../../db/database`. A `vi.mock('../../src/db/database', async () => * { const { createSnapshotTestDb, buildDbMock } = await import('../helpers/ * test-db'); ... })` factory that re-enters `db/database` while building its diff --git a/wiki/Contributing.md b/wiki/Contributing.md index 35672af81..199a38d9e 100644 --- a/wiki/Contributing.md +++ b/wiki/Contributing.md @@ -64,4 +64,4 @@ See the [[Development Environment|Development-environment]] page for the full se Documentation changes go to `wiki/`. The same pages ship inside the app: the in-app help reads them (served under `/api/help`) and links into them, and the MCP help tools search them, so a wiki edit reaches users with the next release as well as the GitHub wiki. -Every translation key must exist in all 27 locales — the `i18n Key Parity` CI job fails on drift, so run `npm run i18n:parity:strict --workspace=shared` before pushing. Two directory names differ from the language they hold: Brazilian Portuguese is `br`, Greek is `gr`. +Every translation key must exist in all 27 locales — the `Shared: i18n Parity` CI job fails on drift, so run `npm run i18n:parity:strict --workspace=shared` before pushing. Two directory names differ from the language they hold: Brazilian Portuguese is `br`, Greek is `gr`.