Skip to content

Testing

RONL Business API is an npm-workspaces monorepo with five tested packages: the Express/TypeScript backend on Jest, and four on Vitest โ€” the caseworker portal (packages/frontend) with React Testing Library, the Public Affairs cockpit (packages/pa-cockpit), the public cockpit demo (packages/pa-demo) and the public search site (packages/public-site) with jsdom. All five run with coverage by default.

Figures on this page are measured, not estimated

Every unit-test count and percentage below was measured. For v2026.11.7 (main at 9e8d9ec) the backend was re-run on 28 November 2026, at f267d7a, whose tree is identical to 9e8d9ec: 115 files and 2932 tests, all passing, the same all-files coverage to the second decimal, in Time: 220.168 s. The other four workspaces were not re-run on 28 November, because no test file changed between 7416c65 and 9e8d9ec; their figures are those of 27 November 2026, against v2026.11.6 (main at 7416c65), measured at aa68931, whose tree is identical to 7416c65. Both days used Node 24.22.2. Each workspace was run on its own, one after another, serially: the backend as npx jest --coverage --runInBand followed by node scripts/check-conformance-coverage.cjs โ€” exactly what its test:serial script runs โ€” and each Vitest workspace with coverage and --no-file-parallelism, which is what its npm run test:serial runs. All five collect coverage, as their npm test counterparts do. Rerun the commands in Running the tests to reproduce them.

v2026.11.7 added no test file and no test: 359 files and 5695 tests, as for v2026.11.6. No *.test.ts(x), e2e spec, helper or Playwright configuration changed between 7416c65 and 9e8d9ec: the release moved the toolchain to Node 24 and refreshed the lockfile. The backend duration in the table is 27 November's.

v2026.11.6 added 7 test files and 253 tests: 359 files and 5695 tests, from 352 and 5442. The backend gained 4 files and 178 tests and the frontend 3 files and 75, nearly all of it the Infra-board's linked eDOCS documents; pa-cockpit, pa-demo and the public site did not change โ€” set out below the table. v2026.11.5 and its hot fix had added one test file net and 8 tests to the 351 and 5434 of v2026.11.4, which had added no file and 17 tests to the 351 and 5417 of v2026.11.3.

The frontend's figures come from its parallel run, and the serial run is not a finding. The serial npm run test:serial run (707.29s) collected 146 files and 1847 tests, all passing, and then failed the per-file branch floor for src/pages/ChangelogPanelContent.tsx (77.63% against 80%) โ€” because Vitest could not start a worker for src/pages/ChangelogPanel.test.tsx ("Failed to start forks worker โ€ฆ Timeout waiting for worker to respond"), so that file's 15 tests never ran and the component lost their coverage. A default parallel npm test --workspace=@ronl/frontend run (211.92s) collected all 147 files and 1862 tests, with one timing failure in that same file ("Unable to find role="dialog""); run on its own, the file passed 15 of 15. CI's frontend job at the same tree, Deploy Frontend to ACC #1081, ran the 147 files green with the floor. A parallel-run failure is not a finding until it fails in isolation, and this one did not: the frontend is 147 files and 1862 tests, all passing, with no defect, and the floor holds when every file runs. Its row below and its coverage on Coverage are the parallel run's. The same file is now #504: in the developer's full parallel run on 28 November it timed out at 60 s, and run alone it passed 15 of 15 in 19.9 s. It renders every release in changelog-data.ts, which grows with each one.

The method is that of the passes since 3 October. The counts do not depend on it. The durations do, heavily โ€” see the footnote under the table โ€” and the frontend's coverage can move in the second decimal with it, which Coverage explains. Where this page compares against an earlier release it names the date that figure was taken, because not every figure here has been re-measured on every pass.

The runtime: the runs used Node 24.22.2; .nvmrc names Node 24.22.3 since v2026.11.7 (22.23.4 until then), so the measuring Node is one patch behind the pinned one, on the same major and the same npm 11.19.1. The SBOM check below was run on 18 November with npm 11.19.1.

The Playwright suites were not re-run for this page on 18, 27 or 28 November. Their figures are carried forward from the run of 14 November for v2026.11.3: no spec, helper or Playwright configuration changed between 67bac28 and 9e8d9ec, but the application under them did, and Playwright itself moved to 1.65.1 in v2026.11.7. For v2026.11.7, promotion #510 reports the developer's own runs, not repeated here: against localhost with the new RIP models, 65 of 67 passed, with one known failure and #508; against ACC at f267d7a, all passed except the known accessibility failures on the Keycloak login pages (#497). The R2.1 journey stalling is what v2026.11.6 named as a risk: R2.1 now declares a linked document, which rip-r21-journey.spec.ts does not link โ€” see Infra-board. That 14 November run was against the full local stack the developer had running โ€” the frontend on :5173, the backend on :3002, Keycloak on :8080 and the Linked Data Explorer backend on :3001, with the bes test users present; nothing was started or stopped for it. Frontend 60 passed, 7 skipped across eighteen specs, pa-demo 11 passed, public-site 6 passed with one worker after two timeouts in its parallel run โ€” 84 tests, see E2E & live smoke. The inventory is still twenty specs: eighteen frontend, plus pa-demo/e2e/plato-demo and public-site/e2e/publiek. The live-smoke shell scripts remain described from their configuration only.

npm run test:perf was not re-run on 27 November; on 18 November it was 1 file ยท 1 test ยท passing, 1.28s. Because vite.config.ts excludes src/**/*.perf.test.ts, that one test is not part of the 147 frontend files or the repository-wide 359 / 5695 below. Wherever this page states a repository-wide file count, that count excludes the performance spec โ€” and the self-contained script tests under scripts/, which no workspace runner collects. All twelve ran on 28 November and passed. v2026.11.7 added two and extended two: cooldown-proof.test.mjs (25 checks) and dependency-gate.test.mjs (130) are new, dependency-review.test.mjs went from 24 to 49 and lockfile-diff.test.mjs from 77 to 84. The other eight are unchanged: write-sbom.test.mjs (7), check-upstream-certs.test.mjs (22), the two stylelint rule tests under scripts/stylelint/ through npm run test:stylelint โ€” selector-root-class.test.mjs (18) and summary.test.mjs (12) โ€” keycloak-add-lde-clients.test.mjs (24), promotion-targets.test.mjs (8), keycloak-restrict-rba-client.test.mjs (22) and keycloak-add-brp-raadpleger.test.mjs (12); see CI. cooldown-proof.mjs itself, which installs from the npm registry, is not a unit test and was not run for this page.

The root gates were last run on 18 November, for v2026.11.5, and all exited 0; they were not re-run on 27 or 28 November. type-check, lint, check-format, check-shared (13 files), check-supply-chain (45 pinned references), check-swimlane-fixtures (14 fixtures match) and audit:signatures (1452 registry signatures and 225 attestations verified) โ€” see Linting, formatting, git hooks, and CI. The SBOM check, node scripts/write-sbom.mjs --check under npm 11.19.1 โ€” the npm CI uses โ€” passed: "docs\sbom\ronl-business-api-2026.11.5.cdx.json matches the lockfile". It was not run on npm 10.9.9; in the v2026.11.3 pass it exited 1 there, which is not a defect: the committed SBOM is written with npm 11.19.1, and npm 10 resolves the tree differently. lint:openapi was not re-run. The backend's test:contract and test:openapi-coverage were not run on their own; their scope is contained in the full backend run.

At a glance:

Package Runner Files Tests Result Durationยน Statements Branches Functions Lines
packages/backend Jest + ts-jest 115 2932ยฒ all passing 306.30s 98.81% 94.86% 97.80% 99.22%
packages/frontend Vitest + RTL 147 1862 all passingยณ 211.92sยณ 95.69% 93.39% 92.24% 96.14%
packages/pa-cockpit Vitest + RTL 43 516 all passing 117.40s 92.61% 93.89% 89.57% 93.13%
packages/pa-demo Vitest + jsdom 19 109 all passing 93.32s 93.75% 96.15% 85.00% 93.10%
packages/public-site Vitest + jsdom 35 276 all passing 112.53s 96.68% 97.41% 95.09% 97.23%

359 files ยท 5695 tests, all passing, nothing skipped. The serial runs took 306.30s, 117.40s, 93.32s and 112.53s of runner-reported time for the backend, pa-cockpit, pa-demo and the public site; the frontend took 707.29s serially, on the 146 files that run collected, and 211.92s in the parallel run its row reports (see ยณ). Wall clock per command was not recorded on 27 November. The v2026.11.5 pass on 18 November took 808.16s of runner-reported time and 15 minutes 0 seconds of wall clock, the v2026.11.4 pass on 14 November 628.66s and 11 minutes 41 seconds, and the v2026.11.3 pass that morning 804.8s and 15 minutes 23 seconds: the spread is the machine, not the suite. One performance spec runs separately and is excluded from both the 147 and the 359 โ€” 5696 in total. See Coverage for what those percentages mean and where the remaining gaps are.

v2026.11.7 changed no count: the backend's 28 November run matched 27 November's, and no other workspace's tests changed. Against v2026.11.5 plus hot fix #473, measured on 18 November: +7 files and +253 tests โ€” the backend +4 files and +178 tests, the frontend +3 files and +75, pa-cockpit, pa-demo and the public site unchanged. Against v2026.11.4 (14 November): +8 files and +261 tests. Against the 11 October measurement of v2026.10.2 โ€” nine releases ago โ€” that is +28 files and +621 tests. Written out:

30 Sep ยท v2026.09.15 3 Oct ยท v2026.10.0 9 Oct ยท v2026.10.1 11 Oct ยท v2026.10.2 7 Nov ยท v2026.11.1 and 12 Nov ยท v2026.11.2 14 Nov ยท v2026.11.3 14 Nov ยท v2026.11.4 18 Nov ยท v2026.11.5 + #473 27 Nov ยท v2026.11.6 ฮ” since v2026.11.5
packages/backend 97 files ยท 2370 100 ยท 2457 105 ยท 2633 105 ยท 2638 109 ยท 2681 111 ยท 2737 111 ยท 2753 111 ยท 2754 115 ยท 2932 +4 ยท +178
packages/frontend 120 files ยท 1318 124 ยท 1378 130 ยท 1540 130 ยท 1540 143 ยท 1738 144 ยท 1781 144 ยท 1782 144 ยท 1787 147 ยท 1862 +3 ยท +75
packages/pa-cockpit 43 files ยท 515 43 ยท 515 43 ยท 515 43 ยท 515 43 ยท 515 43 ยท 515 43 ยท 515 43 ยท 516 43 ยท 516 โ€”
packages/pa-demo 19 files ยท 106 19 ยท 106 19 ยท 106 19 ยท 106 19 ยท 109 19 ยท 109 19 ยท 109 19 ยท 109 19 ยท 109 โ€”
packages/public-site 33 files ยท 265 34 ยท 275 34 ยท 275 34 ยท 275 34 ยท 275 34 ยท 275 34 ยท 275 35 ยท 276 35 ยท 276 โ€”
Total 312 ยท 4574 320 ยท 4731 331 ยท 5069 331 ยท 5074 348 ยท 5318 351 ยท 5417 351 ยท 5434 352 ยท 5442 359 ยท 5695 +7 ยท +253

History, 27 November: what v2026.11.6 changed, by workspace โ€” per-file counts from the runners' own JSON reports of the measured runs (Jest's --json, Vitest's json reporter), which sum to each runner's total; the earlier count of each file is the 18 November figure:

  • Backend, four new files and +75 in existing ones. services/rip-documents/rip-documents.service.test.ts (45) and services/rip-documents/logic.test.ts (35), the documents of a RIP instance, linking and uploading one, and the completion check; rip-swimlane/linked-docs.test.ts (16) and rip-swimlane/document-spec.test.ts (7), reading the linked documents a model declares. In existing files: routes/rip.routes.test.ts 47 โ†’ 77, services/edocs.service.test.ts 81 โ†’ 96, services/operaton.service.test.ts 218 โ†’ 227, services/externalTaskWorker.service.test.ts 36 โ†’ 42, routes/edocs.access.test.ts 17 โ†’ 23, routes/task.routes.test.ts 58 โ†’ 63 (422 LINKED_DOCUMENT_MISSING), rip-swimlane/bpmn-swimlane.test.ts 201 โ†’ 204 and rip-swimlane/doc-label.test.ts 5 โ†’ 6; utils/config.test.ts changed and kept its 42. See Backend suite.
  • Frontend, three new files and +19 in existing ones. In the new shared components/rip-documents/: TaskCompletion.test.tsx (23), model.test.ts (23) and DocumentsPanel.test.tsx (10). In existing files: CaseworkerDashboard/TaskFormViewer.test.tsx 14 โ†’ 21, InfraBoardDashboard/PhaseDetail.test.tsx 31 โ†’ 35, CaseworkerDashboardV2/TakenInbox.test.tsx 32 โ†’ 34, InfraBoardDashboard/ProjectDetail.test.tsx 27 โ†’ 29, services/keycloak.test.ts 8 โ†’ 10 (logoutTo), LoginChoice/AccessDeniedDialog.test.tsx 11 โ†’ 12 and pages/login-choice/boards.config.test.ts 9 โ†’ 10, its boards with an Entra role now four, Woo included. Five more were edited and kept their count: pages/LoginChoice.test.tsx (28), pages/infra-board/rip-model.test.ts (26), css-colour.test.ts (33), css-tokens.test.ts (25) and WooDashboard/WooNoAccessPanel.test.tsx (1). See Infra-board and Caseworker.
  • pa-cockpit, pa-demo and the public site: no test change. pa-cockpit's package.json moved vite from ^6.4.5 to ^6.4.6.

History, 18 November: what v2026.11.5 and hot fix #473 changed, by workspace โ€” the earlier count of each file is the 14 November figure, less the change git diff 67bac28 1784a72 shows in it:

  • Backend, one file in, one out, +1 test. New: auth/brp-access.test.ts (19), who may look up whom in the BRP (#319). Removed with the European Parliament scrape (#57): pa-monitoring/sources/ep-texts-submitted.client.test.ts (24). In existing files: routes/brp.routes.test.ts 12 โ†’ 20, pa-monitoring/curation.service.test.ts 61 โ†’ 53, auth/tenant-access.test.ts 29 โ†’ 31, routes/validsign.routes.test.ts 123 โ†’ 125, routes/process.routes.test.ts 134 โ†’ 135 and auth/jwt.middleware.test.ts 25 โ†’ 26. See Backend suite.
  • Frontend, no new file, +5 tests. services/infra.api.test.ts 38 โ†’ 41 (the shared Infra-board data under its provider, #78), InfraBoardDashboard/InfraCommandPalette.test.tsx 9 โ†’ 10 (a project waiting between phases, #382), signing/SigningPanel.test.tsx 16 โ†’ 17 (a signer who is the ValidSign sender), services/keycloak.test.ts 7 โ†’ 8 (PKCE with S256), css-tokens.test.ts 24 โ†’ 25 (every var(--v2-*) without a fallback is declared) and services/bsn.mapping.test.ts 5 โ†’ 3, the username table gone: the BSN now comes from the token alone. See Infra-board.
  • pa-cockpit, no new file, +1 test. components/PADashboardV2/BronnenSection.test.tsx 7 โ†’ 8: a disabled flag shows as uitgeschakeld. See PA cockpit.
  • Public site, one new file, +1 test. scripts/prerender.guard.test.ts (1): importing prerender.ts starts nothing (#290). See Public site suite.
  • pa-demo: no test change. Only the version in its package.json moved.

History, 14 November: what v2026.11.4 added, by workspace โ€” per-file counts from the runners' own JSON reports of the measured runs, which sum to each runner's total:

  • Backend, +16 in three existing files. services/operaton.service.test.ts 210 โ†’ 218 (getHistoryVariables parsing the Json values of an ended instance from their text, matched by row id; Object variables kept deserialised; getVariableHints reading without deserialising; a malformed Json value kept as text and logged), utils/operaton-variables.test.ts 11 โ†’ 15 (fromJsonVariableText) and utils/starter-groups.test.ts 14 โ†’ 18 (hasStartForm counting a formKey). See Backend suite.
  • Frontend, +1 in one existing file. CaseworkerDashboardV2/ProcesStartenSection.test.tsx 17 โ†’ 18: the button reads Start proces, and keeps its visible text in its accessible name while starting, Bezigโ€ฆ. See Caseworker.
  • pa-cockpit, pa-demo and the public site: no test change.

History, 14 November: what v2026.11.3 added, by workspace:

  • Backend, two new files and +35 in existing ones. utils/starter-groups.test.ts (14), which groups may start a process and whether it has a start form, and services/brp-upstream.test.ts (7), the BRP upstream's health probe. In existing files: routes/process.routes.test.ts 117 โ†’ 134 (the candidate-starter check at start, and GET /v1/process/startable), services/operaton.service.test.ts 203 โ†’ 210, routes/health.routes.test.ts 22 โ†’ 26 (the BRP upstream under dependencies), utils/operaton-variables.test.ts 7 โ†’ 11, routes/brp.routes.test.ts 10 โ†’ 12 and routes/task.routes.test.ts 57 โ†’ 58. See Backend suite.
  • Frontend, one new file and +26 in existing ones. components/CaseworkerDashboardV2/ProcesStartenSection.test.tsx (17), the caseworker's Proces starten section. In existing files: components/LoginChoice/SingleBoardLanding.test.tsx 18 โ†’ 27, pages/login-choice/tenants-landing.test.ts 26 โ†’ 33, pages/caseworker-v2/modes.config.test.ts 24 โ†’ 27, services/tenant.test.ts 46 โ†’ 49, vite-plugin-tenant-pages.test.ts 20 โ†’ 22, CaseworkerDashboardV2/SectionRouter.test.tsx 31 โ†’ 32 and services/bsn.mapping.test.ts 4 โ†’ 5 โ€” the new organisation bes (Caribisch Nederland) and its landing page, and the section's place in the caseworker's Werk rail. See Caseworker.
  • pa-cockpit, pa-demo and the public site: no test change. v2026.11.3 changed only the version in the first two's package.json.

History, 7 November: what v2026.10.3 to v2026.11.1 added, by workspace:

  • Backend, four new files and +24 in existing ones. utils/engine-segment.test.ts (8), the encoding of every value placed in an engine URL path; utils/operaton-auth.test.ts (5), the worker's credentials; services/llm/StubLlmProvider.test.ts (3) and utils/config.llmStub.test.ts (3), the E2E suite's stub model and its refusal in production. In existing files: services/operaton.service.test.ts 197 โ†’ 203 (firstDocumentRef, engineSegment, the decision definition the decision route now reads), routes/rip.routes.test.ts (47, with GET /v1/rip/phases/completed), services/externalTaskWorker.service.test.ts (36, credentials on every call), services/mcp/CprmvMcpProvider.test.ts (17, the fastmcp-4 names and the missing-tool warning), a failed-connect case in each of the other four providers and in McpRegistry.test.ts (15), utils/config.test.ts (42, the production credential rule) and routes/decision.routes.test.ts (11). See Backend suite.
  • Frontend, thirteen new files. Six in components/process/ for ProcessView โ€” processMarks.test.ts (21), ProcessView.test.tsx (6), ProcessVarsDisclosure.test.tsx (3), process-view-guard.test.ts (3), status.test.ts (3) and useViewer.test.ts (3) โ€” and seven at src/ for the colours: css-colour.test.ts (33), css-move.test.ts (32), css-tokens.test.ts (24), tailwind-palette.test.ts (6), inline-colours.test.ts (5), keycloak-theme.test.ts (5) and css-hex.test.ts (2). Together 146; the other +52 went into existing files, the largest PhaseSwimlane.test.tsx 38 โ†’ 48, ProjectDetail.test.tsx (27, the Infra-board on ProcessView), infra-board.data.test.ts (45, the waiting projects) and ProcessOverlay.test.tsx 13 โ†’ 17.
  • pa-demo, +3 in src/demo/shims/tenant.test.ts (6), which keeps the demo's tenant marker equal to the frontend's.
  • pa-cockpit and the public site: no test change. v2026.11.0 moved pa-cockpit's colours onto the tokens and its shared chrome into v2-chrome.css; its 515 tests did not move.

History, 11 October: what v2026.10.2 added, by workspace:

  • Backend, no new file and +5 in one existing one: services/operaton.service.test.ts 192 โ†’ 197, all in getDecisionDocument. Since v2026.10.2 that returns the decision document of the path the case took (sgort/linked-data-explorer#246), where it used to take the first ronl:documentRef in the BPMN. The five cases: on the ordinary path, the document of the signing task; after escalation, the authority's document, even though the signing task ran first; canceled task instances skipped; the first entry of a documentRef list; and the fallback to the first documentRef when no completed task carries one. The other backend test changes moved no count: v2026.10.2 refreshed five Awb fixtures and the two declared ones under rip-swimlane/__fixtures__/, and bpmn-swimlane.test.ts lost one line of an expected mapping for the HR capacity claim and kept its 201 tests. See Backend suite.
  • Frontend, pa-cockpit, pa-demo and the public site: no test change. The one change in any of the four packages is the frontend's changelog-data.ts, the in-app release notes.

History, 9 October: what v2026.10.1 added, by workspace:

  • Backend, five new files and +108 in existing ones. The new files are auth/entra-token.service.test.ts (24), the stored Entra ID token a person reaches eDOCS with; routes/edocs.access.test.ts (17), who may use /v1/edocs and as whom; services/edocs-author.test.ts (11), the edocsAuthor and edocsAuthorName stamp; auth/citizen-services.test.ts (10), which services a citizen is offered; and utils/config.edocs.test.ts (6), the Entra settings a live eDOCS connection requires. The largest growth in existing files is services/edocs.service.test.ts 49 โ†’ 81, routes/process.routes.test.ts 104 โ†’ 117, routes/task.routes.test.ts 47 โ†’ 57, services/operaton.service.test.ts 182 โ†’ 192, mcp-servers/edocs/index.test.ts 16 โ†’ 25 and routes/edocs.routes.test.ts 36 โ†’ 44. See Backend suite.
  • Frontend, eight new files and two removed. New: pages/login-choice/tenants-landing.test.ts (26), vite-plugin-tenant-pages.test.ts (20, at the package root), components/LoginChoice/SingleBoardLanding.test.tsx (18), services/board-request.test.ts (12), components/LoginChoice/AccessDeniedDialog.test.tsx (11), pages/login-choice/landing-login.test.tsx (5), services/landing.test.ts (5) and pages/citizen/citizenServices.test.ts (3) โ€” the organisation landing pages, the no-access dialog and the citizen services. Removed with the DVTP sections: CaseworkerDashboard/DvtpStartSection.test.tsx (5) and DvtpTakenSection.test.tsx (7). The largest growth in existing files is services/tenant.test.ts 12 โ†’ 39, pages/LoginChoice.test.tsx 8 โ†’ 27, pages/Dashboard.test.tsx 32 โ†’ 45 and pages/AuthCallback.test.tsx 18 โ†’ 24.

Vitest's console reports only package totals, and Jest's default reporter prints no per-file counts either. On 11 October the backend's per-file counts were read from Jest's JSON report of the measured run (--json), which lists every test of every file: the 105 files sum to the runner's 2638, with operaton.service.test.ts at 197 and bpmn-swimlane.test.ts at 201. Every 9 October per-file figure above is counted from the source at ebec288 and at 0625d48, by parsing each test file with the TypeScript compiler and expanding every .each table and for โ€ฆ of loop whose table is a literal in the file. Six tables are not literals, and were resolved by hand: in the backend, SHELLS.slice(1) in bpmn-swimlane.test.ts (2 cases, not 1) and the router's route layers in public.routes.security.test.ts (16, not 1); in the frontend, boards.config.test.ts's boards with an Entra role (3 then; 4 since v2026.11.6, which gave the Woo board one) and the five tenants.json-driven tables in tenants-landing.test.ts (25 cases, not 5). With those, the parse gives 2633, 1540, 515, 106 and 275 โ€” each runner's total exactly โ€” and, at 0625d48, 2457 and 1378, the 3 October totals.

History, 3 October: the eight files v2026.10.0 added, by workspace:

  • Backend, three: middleware/error.middleware.test.ts (8) for the 404, catch-all and rate-limit handlers that now answer RFC 9457 problem details, utils/problem.test.ts (13) for sendProblem and the title derived from a code, and routes/besluitvorming.routes.test.ts (10) for GET /v1/besluitvorming/active and /completed. The other +56 went into existing files: rip-swimlane/bpmn-swimlane.test.ts +27 (process-declared phases, and the Gedelegeerd besluit and HR capacity claim BPMNs as fixtures), services/operaton.service.test.ts +11, routes/m2m.routes.test.ts +10 (the reserved-variable refusals, POST history and the deprecated GET), and +4 each in routes/validsign.routes.test.ts and services/validsignCompletion.service.test.ts (signing state per task, archive names). See Backend suite.
  • Frontend, four: CaseworkerDashboard/BesluitOverzichtSection.test.tsx (7) and BesluitStartSection.test.tsx (3) for Besluitvorming, components/signing/useTaskSignature.test.ts (5), and src/utils/problem.test.ts (23), the response interceptor's mapping of a problem back onto ApiResponse. SigningPanel.test.tsx (15 โ†’ 16) and resolveSigningUrl.test.ts (4) are not new: they moved from InfraBoardDashboard/ to the shared components/signing/. The largest growth in existing files is TakenInbox.test.tsx +4 โ€” the signing panel in the caseworker inbox โ€” and modes.config.test.ts, SectionRouter.test.tsx and ProcessWhere.test.tsx +3 each.
  • Public site, one: src/lib/problem.test.ts (9), which reads a problem's detail; lib/api.test.ts gained one.

On 3 October the backend's per-file figures were the 30 September run's JSON counts plus the parsed change in each touched file; the 9 October parse at 0625d48, described above, reproduces every one of them.

History, 30 September: the twelve files v2026.09.14 and v2026.09.15 added, by workspace:

  • Backend, one: openapi/testing/conformance.test.ts (20 tests), for the helper that checks a real response against the documented schema (#269) โ€” see Backend suite. The other +148 backend tests went into existing files, most of them in the route suites (+46), rip-swimlane (+56, the parser that now reads any laned process and its Awb phases) and services (+29); openapi/coverage.test.ts shrank from 7 tests to 3 when the pending list it policed was emptied and deleted.
  • Frontend, ten: seven in the new components/process/ directory โ€” the caseworker's process view โ€” plus PaletteActions.test.tsx, StartFailureNotice.test.tsx and src/indexHtml.test.ts, the link-preview tags per build mode. An eighth file in components/process/, PhaseSwimlane.test.tsx, is not new: it moved there from InfraBoardDashboard/ and grew from 22 tests to 38. The directory holds 119 tests across those eight. Vitest's console reports only the package total, so these per-file figures are counted from the source by parsing every test file with .each tables expanded โ€” a method that reproduces the runner's total exactly, 1318 at ae06c9e and 1122 at 963fe24.
  • Public site, one: src/indexHtml.test.ts, its own link-preview check, 23 tests across four build modes.

pa-cockpit gained 39 tests and no file in that window, all from the two branch-margin commits (see Coverage): 391b1a8 added four to DossierRow.test.tsx, and 73a6764 the other 35 โ€” pages/public-affairs-v2/Monitoring.test.tsx (+16) and services/pa.api.test.ts (+13) above all.

ยฒ The backend reported 2011 for several releases, of which 2008 ran and three were permanently skipped; those three went with the unreachable PHASE_NOT_MODELLED branch they guarded (issue #85). The 2932 measured here is growth on top of that 2008 โ€” 2011 โ†’ 2008 โ†’ 2028 โ†’ 2072 โ†’ 2198 โ†’ 2202 โ†’ 2370 โ†’ 2457 โ†’ 2633 โ†’ 2638 โ†’ 2681 โ†’ 2737 โ†’ 2753 โ†’ 2754 โ†’ 2932 โ€” and no workspace skips anything. The 27 November run ended with "โœ“ all 141 documented operations were checked against a real response": three more than on 18 November, for GET /v1/rip/instances/{instanceId}/workspace and the link and upload of a RIP document, which v2026.11.6 added and documented. The 18 November run ended with 138, as on 14 November. v2026.11.4 documented no new operation; it reworded one description in openapi.yaml. The v2026.11.3 run ended with "โœ“ all 138 documented operations were checked against a real response", the conformance-coverage step npm test and test:serial carry after Jest: one more than on 12 November, for GET /v1/process/startable, which v2026.11.3 added and documented. On 7 and 12 November it was 137, one more than on 11 October, for GET /v1/rip/phases/completed, which v2026.10.3 added and documented. On 11 October it was 136, as on 3 and 9 October: v2026.10.2 documented no operation and removed none; it changed the description of two. On 9 October it was the same number for two opposite reasons: v2026.10.1 documented GET /v1/process/available and removed the deprecated GET spelling of /v1/m2m/process/history. See Backend suite.

ยณ The frontend's row is its default parallel run of 27 November, 211.92s: the 147 files and 1862 tests, with one timing failure in pages/ChangelogPanel.test.tsx that passed 15 of 15 run on its own, and CI green on the same tree. Its serial run that day (707.29s) could not start a worker for that file and so collected 146 files and 1847 tests, all passing โ€” see the measured box at the top. On 18 November the frontend was 1787/1787 green in its serial run. No default parallel run was made on 7, 12, 14 or 18 November; the one before 27 November, on 11 October, was 1540/1540 green in 116.45s, with pa-cockpit, pa-demo and the public site green beside it โ€” the first parallel frontend run measured since 30 September, when it was 1318/1318 green. The file that failed under load in four of the five passes before that, ChangelogPanel.variants.test.tsx, was fixed at its own boundary in afc2001, which closed issue #199 on 28 September โ€” see A parallel failure is not a finding.

A coverage campaign, and every workspace moved at once

v2026.09.2 extended the backend-only coverage push to all five workspaces that have a test runner, against a per-file 80% branch floor: 53 files were below it, and none are now. Every package gained on every measure, which is unusual โ€” the previous release's figures moved in one package and held to the decimal in the others.

Branches moved furthest, which is the point of a branch floor, and the 27 November figures hold the gain: public-site 70.39% โ†’ 97.41%, pa-cockpit 75.55% โ†’ 93.89%, frontend 80.33% โ†’ 93.39%, backend 90.01% โ†’ 94.86%, pa-demo 86.95% โ†’ 96.15%.

The floor is a gate, and it is per file. v2026.09.6 configured it in all five runner configs โ€” a glob key './src/**/*.ts': { branches: 80 } in packages/backend/jest.config.js, and thresholds: { branches: 80, perFile: true } in the four Vitest configs โ€” so one file dropping below 80% branches exits the run non-zero and names that file. The five thresholds are unchanged at 7416c65. On 27 November the frontend's serial run named one file, pages/ChangelogPanelContent.tsx at 77.63%, because the test file that covers it never started (see the measured box at the top); the parallel run and CI, in which every file ran, named none. Reading every file entry in the five workspaces' coverage reports โ€” the frontend's from its parallel run โ€” finds zero of 358 files below 80% branches in any workspace.

The floor is still 80, and the 85 margin still fails in the same two places. On 30 September every file cleared 85, after 391b1a8 (#256) and 73a6764 had lifted the files at or near the line. v2026.10.0 brought two new frontend files in below it, and no release since has moved either; v2026.11.6 brought a third, in the backend. Restated from the 27 November coverage reports, every file below 85% branches in the repository:

Workspace File Branches
frontend components/CaseworkerDashboard/BesluitOverzichtSection.tsx 80.43 (37/46)
frontend components/process/phaseSet.ts 83.33 (10/12)
backend rip-swimlane/document-spec.ts 84.21 (16/19) โ€” new in v2026.11.6

No other file in any workspace is below 85. The lowest file per workspace on 11 October โ€” the same five files as on 3 and 9 October, at the same figures:

Workspace Lowest file by branches Branches
backend pa-monitoring/pa-cache.ts, services/llm/OpenAILlmProvider.ts 86.36
frontend components/CaseworkerDashboard/BesluitOverzichtSection.tsx 80.43
pa-cockpit services/dossierbeheer.api.ts 85.10
pa-demo demo/changelog/DemoChangelogPanel.tsx 87.50
public-site lib/useQueryState.ts, pages/herkomst/HerkomstTrace.tsx 87.50

BesluitOverzichtSection.tsx โ€” the Lopende and Afgeronde besluiten list โ€” still passes the gate with 37 of 46 branches, half a point clear: one more uncovered branch there fails a required check. Of the files v2026.10.1 changed, the nearest to the margin are SigningPanel.tsx at 85.93%, the new routes/edocs.access.ts at 89.28% and routes/brp.routes.ts at 89.47% (91.66% on 14 November, 89.28% on 18 November, 25 of 28, after v2026.11.5 added the access check). Of the files v2026.11.3 changed or added, the nearest were routes/brp.routes.ts, utils/starter-groups.ts and services/api.ts in the frontend, each at 91.66%; v2026.11.4 took starter-groups.ts to 92.85%. The one source file under coverage that v2026.10.2 changed, services/operaton.service.ts, reads 92.78%. Of the files v2026.11.6 added, besides document-spec.ts, the nearest are the frontend's rip-documents/DocumentsPanel.tsx at 91.25% and TaskDocuments.tsx at 92.69%; of those it changed, InfraBoardDashboard/PhaseDetail.tsx at 86.78% and routes/rip.routes.ts at 90.66%. It is a margin, not a floor; the configs say 80.

The floor is branches only, deliberately: measured the same way, a functions floor at 80 would now fail 23 files (frontend 8, pa-cockpit 7, pa-demo 5, public-site 3, backend 0) โ€” as on 9 October and 27 November, and one fewer than on 3 October, because DvtpTakenSection.tsx was deleted with the DVTP sections. The configs' own comments were corrected from 31 to 26 in 391b1a8, dated 28 September, and are three high today. See Coverage Floor and Coverage.

ยน These are elapsed times for one npm run test:serial per workspace โ€” Jest's Time: and Vitest's Duration โ€” run one workspace at a time, with file parallelism off. They are not comparable with the parallel figures earlier passes published, and they are not slow suites: on 28 September the frontend took 133.15s parallel and 372.31s under test:serial, about 2.8 times longer, and the serial runs since are the same shape โ€” 589.43s on 1378 tests on 3 October, 418.01s on 1540 on 9 October, 413.76s on the same 1540 on 11 October, against 116.45s for that morning's parallel run of the same tree, about 3.6 times faster, 424.71s on 1738 on 7 November, 745.75s on the same 1738 on 12 November, and 453.73s on 1781 on 14 November for v2026.11.3, 362.97s on 1782 that evening for v2026.11.4, 460.60s on 1787 on 18 November, and 707.29s on the 1847 its serial run collected on 27 November. That the larger suite took less time on 9 October than the smaller one on 3 October says how much of the figure is the machine. Treat them as an order of magnitude rather than a figure to match, and compare like with like. The backend's 110.81s on 11 October against 228.05s on 9 October, on five more tests, is the same lesson; on 7 November it took 137.58s, on 12 November 198.03s on the same 2681 tests, on 14 November 102.29s on 2737 for v2026.11.3 and 127.35s on 2753 for v2026.11.4, on 18 November 131.91s on 2754, and on 27 November 306.30s on 2932. All five durations in the table are the 27 November runs': four serial, and the frontend's parallel (see ยณ).

They are machine-dependent to a degree worth keeping in mind even within one mode: the same parallel backend suite was measured at 118.06s (24 Sep), 59.86s (26 Sep), 94.98s (28 Sep) and 54.67s (30 Sep), and the parallel frontend at 176.97s, 119.31s, 133.15s and 114.82s across the same dates. Spread like that says more about the host than about the suites, which is why nothing on this page is compared on time alone.

Vitest's tests line is not elapsed time

On 30 September the parallel frontend run took 114.82 seconds by Vitest's own Duration, and the same summary block printed tests 286.64s beside it โ€” and environment 588.41s, which is larger still. Those figures sum per-worker time across parallel workers; nobody ever waited for either. Read as elapsed, they turn a two-minute suite into a claimed ten-minute one โ€” which is the most likely origin of the ~444s this table carried for v2026.09.5. (On 11 October the same tree showed both shapes in one morning: the serial run read tests 129.01s and environment 150.33s against a Duration of 413.76s โ€” smaller than elapsed, the other way round โ€” and the parallel run tests 279.81s and environment 637.03s against 116.45s. Neither is quotable.) Quote Duration from Vitest and Time: from Jest, and quote nothing else.

The same trap has a second form in the JSON reporters. Vitest's numTotalTestSuites counts describe blocks, not files โ€” public-site reported 88 against its 32 files on 28 September. The file count is testResults.length, which is what the console's Test Files line shows.


Where to look

Page Covers
Coverage Headline and per-area coverage for all five packages, and why the last two decimals are noise
Backend suite The 115 files and 2932 tests in packages/backend, by area
Public site suite The 35 files and 276 tests in packages/public-site, plus its own Playwright suite
PA-demo suite The 19 files and 109 tests in packages/pa-demo, and the one Playwright suite that runs in CI
Caseworker ยท PA cockpit ยท Infra-board ยท Woo-dashboard The frontend and cockpit suites, split the way the product is โ€” one page per board
E2E & live smoke The Playwright suites, what they need running, and the cross-app shell scripts
Writing tests Conventions for adding tests here, and the traps that have already cost time

The four board pages do not add up to the frontend total, by design

Re-derived on 27 November 2026 from Vitest's JSON report of the measured run, they account for 1096 of the 1862 frontend tests: Caseworker 495, the shared process view in components/process/ 182 (listed on the Caseworker page), Infra-board 260, the shared signing panel in components/signing/ 26 and the shared linked documents in components/rip-documents/ 56 (both listed on the Infra-board page) and Woo-dashboard 77. The PA cockpit's 516 live in their own package and are not part of the 1862. The other 766 are not board-specific โ€” among them v2026.11.0's colour guards at the package root (css-colour, css-move, css-tokens, tailwind-palette, inline-colours, keycloak-theme, css-hex: 108 tests) and the tenant and API services.

v2026.11.6 moved four and added one: Caseworker 486 โ†’ 495 (TaskFormViewer +7, TakenInbox +2), Infra-board 254 โ†’ 260 (PhaseDetail +4, ProjectDetail +2), components/rip-documents/ new at 56, and the rest 762 โ†’ 766 (keycloak +2, AccessDeniedDialog +1, boards.config +1).

v2026.11.5 moved three: Infra-board 253 โ†’ 254 (InfraCommandPalette +1), signing 25 โ†’ 26 (SigningPanel +1) and the rest 759 โ†’ 762 (infra.api +3, css-tokens +1, keycloak +1, bsn.mapping โˆ’2).

v2026.11.4 moved one: Caseworker 485 โ†’ 486, on ProcesStartenSection 17 โ†’ 18.

v2026.11.3 moved both sides: Caseworker 464 โ†’ 485 on Proces starten (ProcesStartenSection 17, modes.config +3, SectionRouter +1), and the rest 737 โ†’ 759 on the bes landing page (SingleBoardLanding +9, tenants-landing +7, tenant +3, vite-plugin-tenant-pages +2, bsn.mapping +1).

History, 9 October: they accounted for 923 of the 1540 โ€” Caseworker 464, process view 123, Infra-board 234, signing 25, Woo 77. Per-file frontend counts were then taken from the source, with .each tables expanded, because Vitest's console reports only the package total; summed, they reproduced that total exactly. Caseworker is down 11 on 3 October: the two DVTP section files (12) went, and CaseworkerDashboardV2.test.tsx gained one. The other 617 are not board-specific and so have no board page to live on โ€” and v2026.10.1's growth, the organisation landing pages and the citizen services, landed entirely here:

  • 304 in src/services (207), the three root test files (38 โ€” App.test.tsx, indexHtml.test.ts, pa-cockpit-class-coverage.test.ts), vite-plugin-tenant-pages.test.ts at the package root (20), src/hooks (5) and src/utils (34, of which problem.test.ts is 23)
  • 102 in shared widgets reused across boards โ€” ProcessStartFormViewer, TimeLine, DecisionViewer, StartFailureNotice, AltchaWidget, SessionExpiryWarning, PersonalDataPanel and the four LoginChoice components (38: SingleBoardLanding and AccessDeniedDialog new beside BoardCard and BoardPreview)
  • 40 in the frontend's host side of the PA cockpit โ€” components/PADashboardV2 (30), PaCockpitRoute and pa-cockpit-host (5 each)
  • 171 in pages that belong to no board โ€” the citizen's Dashboard (45) and pages/citizen (3), LoginChoice (27) and pages/login-choice (40), AuthCallback (24), ChangelogPanel and its variants (22) and no-eager-changelog (10)

The citizen dashboard and the landing pages have no board page of their own; their end-to-end coverage is tabulated under E2E & live smoke.

Note also that components/CaseworkerDashboard/ is counted under Caseworker but is the shared section-component library, reused across three of the four V2 dashboards. Its 239 tests protect more than that one board โ€” and components/process/ is shared the same way, since the Infra-board's ProjectDetail draws its phase stepper and swimlane with the same PhaseStepper and PhaseSwimlane the caseworker's process overview uses. Since v2026.10.0 so is components/signing/: the caseworker inbox and the Infra-board both render the same SigningPanel through useTaskSignature โ€” and since v2026.11.6 components/rip-documents/, whose TaskCompletion both render.


Running the tests

Run from the repository root after npm install (node_modules must already be installed in every workspace).

Command Scope Files Tests
npm test Every workspace with a test script (see below) 359 5695
npm run test:serial The same, without file parallelism โ€” what the 27 November figures were measured with, one workspace at a time, the frontend's excepted (see ยณ above) 359 5695
npm test --workspace=@ronl/backend Backend only (Jest, coverage on by default), then the conformance-coverage check 115 2932
npm run test:contract --workspace=@ronl/backend src/openapi and src/routes โ€” the OpenAPI gates plus every route suite, coverage off 25 827
npm run test:openapi-coverage --workspace=@ronl/backend src/openapi only โ€” the coverage gate, the conformance helper and their helpers, coverage off 4 43
npm run lint:openapi --workspace=@ronl/backend Builds openapi/openapi.json and lints it with Spectral against the NL API Design Rules 2.2.1 ruleset, failing on error โ€” โ€”
npm test --workspace=@ronl/frontend Frontend only (Vitest, coverage on by default) 147 1862
npm test --workspace=@ronl/pa-cockpit The cockpit package 43 516
npm test --workspace=@ronl/pa-demo The public demo 19 109
npm test --workspace=@ronl/public-site Public site only (Vitest, coverage on by default) 35 276
npm run test:perf --workspace=@ronl/frontend The wall-clock budget, run without file parallelism 1 1
# Everything
npm test

# Everything, serially โ€” see the warning below
npm run test:serial

# One workspace
npm test --workspace=@ronl/backend
npm test --workspace=@ronl/pa-cockpit

# Single file / pattern
npx jest --config packages/backend/jest.config.js --no-coverage --testPathPattern=rules
npx vitest run --config packages/frontend/vite.config.ts session
npx vitest run --config packages/public-site/vite.config.ts SectionIndex

To reproduce the figures in the table above, rather than just run the suites, ask each runner for machine-readable output and read the counts from that instead of from the console:

# Backend โ€” Jest
npm test --workspace=@ronl/backend -- --json --outputFile=<OUT>/backend.json \
  --coverageReporters=json-summary --coverageReporters=text-summary

# Each Vitest workspace: frontend, pa-cockpit, pa-demo, public-site
npm test --workspace=@ronl/<pkg> -- --reporter=default --reporter=json \
  --outputFile.json=<OUT>/<pkg>.json \
  --coverage.reporter=json-summary --coverage.reporter=text

--outputFile.json resolves against the workspace, not the repo root

npm test --workspace=โ€ฆ runs with the cwd set to the package directory, so a relative --outputFile.json=../out/frontend.json lands in packages/ rather than where you meant. Give it an absolute path. Jest's --outputFile has the same behaviour. This cost a stray directory inside the clone during the 28 September pass, which is why it is written down.

Read the file count from testResults.length and the coverage figures from each workspace's coverage/coverage-summary.json โ€” never by grepping the console output, and never from numTotalTestSuites, which counts describe blocks (see the warning above).

lint:openapi was run on its own on 9 October and passed, with "No results with a severity of 'error' found!"; it was not re-run on 11 October, after a release that changed two operations' descriptions and nothing else in the document. The two contract test scripts were not run on their own on either date: their counts in the table are the 27 November full run's src/routes (21 files, 784 tests) and src/openapi (4 and 43), which is exactly what they select; neither script was run on its own that day either. When they were last run on their own, on 30 September, they reported 23 suites ยท 668 tests and 4 suites ยท 43 tests, reconciling with that day's full run the same way. The two test scripts are subsets of the backend's own npm test, which runs the same files with coverage on โ€” they exist to check the contract quickly, not as extra gates โ€” and, being filtered Jest runs, neither ends with the conformance-coverage check that npm test runs after Jest; see Backend suite. lint:openapi is the one that is not covered by npm test: both backend workflows run it as its own step, before the tests.

Reach for test:serial, not for a flag

This repository runs two test runners behind one command shape โ€” the backend on Jest, the other four on Vitest. Any serial flag you reach for is right in four places and wrong in the fifth: --no-file-parallelism is Vitest's, --runInBand is Jest's, and Jest rejects the Vitest flags outright. Every workspace defines a test:serial script for exactly this reason, so the runner's identity stops being something the caller has to know.

Note that a parallel-run failure is not a finding until it fails serially. The flakiness chased through August turned out to be timeouts at Vitest's 5000ms default under machine load, not a defect in the code under test; testTimeout is now 20s in all four Vitest workspaces.

A parallel failure is not a finding

The 24 September pass is the worked example of the rule above. The same file was the one to go red under load in four of five passes โ€” one test on 20 September, five on 24 September, none on 26 September, one again on 28 September โ€” which is what made the mechanism worth publishing rather than merely noting. On 30 September, at v2026.09.15, the frontend's default parallel run was 1318/1318 green, the first measured pass since the file was fixed at its own boundary in afc2001, which closed issue #199 on 28 September. One green run does not prove a fix; what the fix changed, and why it removes the cause rather than widening a timeout, is set out below. The 3 and 9 October passes ran every unit suite serially, so they add no parallel evidence either way. On 11 October, at v2026.10.2, a default parallel run was green again โ€” 1540/1540 in 116.45s โ€” beside the serial run the figures come from: the second measured parallel pass since the fix, and the second green one. The accounts that follow are history, kept as they were measured.

3 and 9 October: the rule applied to a Playwright suite

The same rule decided the one red result of the 3 October pass, and of the 9 October pass again. The public-site Playwright suite, run with its config's default parallel workers (six on that machine), came back 4 passed, 2 failed both times: both search-journey tests (publiek.spec.ts:6 and :27) timed out after 10s waiting for the search-result filter checkbox. Re-run serially with --workers=1, against the same running backend, it passed 6/6 โ€” in 7.8s on 3 October and 6.4s on 9 October. Recorded as 6/6 serially; 2 timeouts in the parallel run โ€” not as a defect. Two identical parallel results a week apart make the 10-second wait under six workers worth fixing at the spec's own boundary before the suite goes into CI, but they are still not a failure on its own. See E2E & live smoke.

History, 28 September: one failure, and it is contention โ€” established, not assumed

The v2026.09.13 pass ran the frontend's default parallel npm test and got 110 files ยท 1122 tests ยท 1121 passed ยท 1 failed ยท 133.15s. The failure was in ChangelogPanel.variants.test.tsx again, and again on findByRole('dialog'):

FAIL  src/pages/ChangelogPanel.variants.test.tsx >
      ChangelogPanel with an empty changelog >
      opens without expanding anything, rather than throwing on a missing first entry
TestingLibraryElementError: Unable to find role="dialog"

Two checks before drawing any conclusion, in this order, exactly as the rule requires:

  1. The file on its own โ€” npx vitest run --config packages/frontend/vite.config.ts --coverage.enabled=false src/pages/ChangelogPanel.variants.test.tsx โ†’ exit 0, 1 file ยท 7 tests ยท passing ยท 2.55s.
  2. The whole suite serially โ€” npm run test:serial --workspace=@ronl/frontend โ†’ exit 0, 110 files ยท 1122 tests ยท passing ยท 372.31s.

Then, for good measure, two further parallel runs of the whole suite, one with coverage off and one with it on: 1122/1122 green both times, in 69.40s and 45.02s, with the variants file taking 930ms in the second.

So it is contention, not a defect โ€” and the circumstance is worth recording because it is the same one every time. The failing run was the first of the five workspace runs after the backend's Jest suite, on a machine that had not yet quietened down; the three green runs came later, on a host with less on it. A contention failure needs contention.

That run did not close issue #199, and was not meant to. The fix landed the same evening, in afc2001 โ€” see Why this file.

The 24 September account, kept as it was measured. The frontend's default npm test came back 1112 passed, 5 failed, every one of them in the same file and with the same Unable to find role="dialog" error. The file on its own passed 7/7 twice in a row, in 5.32s and 3.70s; run from packages/frontend the command is npx vitest run --config vite.config.ts --coverage.enabled=false src/pages/ChangelogPanel.variants.test.tsx, and from the repository root npx vitest run --config packages/frontend/vite.config.ts ChangelogPanel.variants โ€” setupFiles resolves against the config rather than the cwd, so both work. The whole suite serially was 110 files ยท 1117 tests ยท passing ยท 408.71s, with the file taking 654ms inside that run against 7225ms inside the parallel one.

So the honest way to publish the frontend, through 28 September, was all green serially, with contention-only failures in the default parallel run in a file that passes in isolation. On 30 September it was simply all green, and on 3 and 9 October, run serially, it was again โ€” and on 11 October it was green both ways.

Why this file, and why the count moves

Closed โ€” issue #199, fixed in afc2001

Opened 24 September 2026 on the evidence below and closed on 28 September by afc2001, "stop the changelog variants test loading the real history", which reached production with v2026.09.14. The diagnosis below is kept as history, because the mechanism is not the one most people reach for and the same shape can recur in any test that awaits a lazy chunk.

What four passes showed was the shape of the symptom. One failing test, then five, then none, then one again โ€” and on 28 September two of the three parallel runs of the same suite on the same commit were green. The failure was intermittent and load-dependent, not the reliable, worsening one the 24 September reading suggested: the kind of check CI teaches people to re-run rather than read, which is why it was fixed rather than lived with.

The mechanism, as diagnosed before the fix:

  • ChangelogPanel is a lazy() + Suspense shim, split so the changelog data does not ship in the entry chunk. Its content therefore resolves asynchronously, and every test in ChangelogPanel.variants.test.tsx opens with await screen.findByRole('dialog') for exactly that reason โ€” the file's own comment says so, and warns that dropping those awaits would make the negative assertions pass against an empty DOM.
  • findBy* does not use testTimeout. It uses testing-library's own async-util timeout, which defaults to 1000 ms and is configured nowhere in this package. So the config's testTimeout: 20000 โ€” the setting that fixed the August flakiness โ€” has no bearing on this failure at all. A dynamic import slower than one second fails the assertion rather than extending it, and the error reads "Unable to find role=dialog" against an empty body rather than as a timeout.
  • The module it waits on keeps growing. changelog-data.ts was 572,299 bytes at v2026.09.9, 612,980 at v2026.09.11 (+7.1%), 648,881 at v2026.09.12, and 659,684 bytes at v2026.09.13 โ€” up 46,704 bytes, +7.6%, in the four days since v2026.09.11. Over the same window neither the test nor the component moved at all: git diff --name-status 86af73e 963fe24 -- 'packages/frontend/src/pages/ChangelogPanel*' returns nothing. It has kept growing since: 689,070 bytes at v2026.09.15, 701,168 at v2026.10.0, 735,513 at v2026.10.1 and 741,165 at v2026.10.2.

The test did not get worse. The module it waited on got bigger, and the one-second budget it was measured against did not move โ€” though four passes showed not a clean upward trend in failures, but an intermittent one whose count tracked how busy the machine was. The growth was real and monotonic; the failure count was not.

The fix was at the file's own boundary, and it stopped the clock rather than widening the budget. The issue had carried three candidates: an explicit findByRole('dialog', { timeout }) in that file, a package-wide configure({ asyncUtilTimeout }) in src/test/setup.ts, or decoupling the test from the real module. afc2001 took the third, and in doing so corrected the diagnosis above in one respect. This page had said the file "already mocks ./changelog-data"; it did, but through importActual, spreading the real module before overriding changelog, its only runtime export โ€” so every run loaded the whole release history inside the lazy() import the first findByRole waited on, only to throw the data away. The commit:

  • mocks ./changelog-data without importActual, so the real history is never loaded by this file at all; and
  • resolves the lazy ChangelogPanelContent chunk once in a beforeAll, under the hook timeout, so no findBy* pays for an import.

By the commit's own measurement the first test dropped from 409โ€“662 ms to 99โ€“125 ms on an idle machine, and it no longer grows with the changelog. Neither timeout was raised, and parallelism was not touched.

Its sibling was left as it is, deliberately

ChangelogPanel.test.tsx renders every real version entry and does not fail โ€” but on 28 September it took 44.1 seconds in the measured parallel run, and 30.4s in another run of the same suite on the same commit. It passes because testTimeout was raised to 20s package-wide and this file was given 60s on top of that. afc2001 left it alone on purpose: it imports the data and the content module statically, so its findBy* never waits on an import, and its real-history rendering is what its own 60s timeout is for. It still carries the changelog's growth; its time was not re-measured on 30 September or on 3, 9 or 11 October, because Vitest's console does not print per-file times.

This class of failure is not a surprise here; packages/frontend/vite.config.ts already documents it in the comment above testTimeout: 20000, which records the suite as green in five consecutive parallel runs on an idle machine and producing 8โ€“16 timeout failures under concurrent load, across a file set that changes with how busy the machine is. ChangelogPanel.test.tsx is named in that same comment as a file needing more headroom still. What that comment does not cover, and what every one of the variants file's failures was, is the other timeout โ€” the one testing-library owns rather than Vitest.

The fix is not to turn parallelism off

Disabling file parallelism globally would make the symptom go away and take the signal with it. It diverges local runs from CI, where the gating suites still run parallel; it costs real time on every later run โ€” 372.31s against 133.15s on this suite alone, as measured on 28 September, and 408.71s against 176.97s on 24 September; and flakiness under parallelism is usually a genuine defect worth finding, in shared module state, an unisolated temp directory or a port collision. test:serial exists to diagnose a suspect failure, not to become the default. Where a suite really is parallelism-sensitive, fix it at its own boundary โ€” the *.perf.test.ts convention and the per-file timeouts below are both that pattern.

What npm test at the root actually runs. The root script is npm run test --workspaces --if-present, fanning out over every package under packages/*. Five of the six have a test script โ€” @ronl/backend, @ronl/frontend, @ronl/pa-cockpit, @ronl/pa-demo, @ronl/public-site โ€” and --if-present silently skips the sixth, @ronl/shared, which has no test script at all (only build, prepare, clean, type-check). That is expected, not a gap: shared is a types-only package with nothing to unit test.

Clear the Jest cache before trusting a green backend run

ts-jest caches type diagnostics per file, so a warm cache can skip re-checking a file that no longer compiles and report the suite green. That is not hypothetical: nine backend test files were latently broken for weeks โ€” every top-level declaration landing in the global scope, colliding across files โ€” while npm test passed locally every time. The first CI run on a cold runner failed immediately.

npx jest --config packages/backend/jest.config.js --clearCache

Which files fail also varies between runs, because it depends on the order the type program reaches them. See Writing tests.

The performance budget

simEngine.ts carries a real budget: run(cfg) must process the default 3,150-application population in under 250ms. Its source comment is emphatic that if the assertion ever fails the threshold must not be loosened โ€” the intended remedy is a web worker, not a bigger number.

The problem was never the threshold. A single performance.now() call measures the machine as much as the engine: on a contended host the assertion was observed at 302ms, then 837ms, then 1297ms across three consecutive runs, and inside a full npm test โ€” where Vitest saturates every core with 133 parallel test files โ€” even the fastest of three CPU-time samples came out at 468ms, against ~100ms in isolation. Wiring the CI test gate would have made that a permanently red pipeline.

So the budget moved rather than moved up:

  • The assertion lives in simEngine.perf.test.ts, still asserting < 250ms, now with a warm-up run and the fastest of three samples so a JIT pause or a stray GC cannot decide it.
  • vite.config.ts excludes src/**/*.perf.test.ts from the default run.
  • vitest.perf.config.ts mirrors it โ€” same plugins, aliases and setup, but the perf specs are the only thing included, and fileParallelism is off. It spreads and overrides the base test block rather than using mergeConfig, which concatenates arrays and would have kept the base exclude, hiding the perf specs from their own run.
  • npm run test:perf runs it, and both frontend workflows run that as their own blocking CI step. Re-run on 18 November 2026: 1 file ยท 1 test ยท passing ยท Duration 1.28s, of which the test itself took 568ms and the setup 127ms, with coverage off (14 November, for v2026.11.4: about 1.08s; that morning, for v2026.11.3: Duration 1.89s, of which the test itself took 1.04s and the setup 271ms; 12 November: 1.91s; 7 November: 1.56s; 11 October: 1.98s; 9 October: 5.80s, 4.02s of it setup; 3 October: 1.18s in all; 12 September: 1.04s). Because vite.config.ts excludes src/**/*.perf.test.ts, the frontend's 147 files and 1862 tests above do not include it, and neither does the repository-wide 359 files / 5695 tests โ€” it is the one frontend test that has to be counted separately.

ChangelogPanel.test.tsx was the other casualty of the same contention: its 15-second timeout sufficed in isolation but not inside a full run, where it was observed taking 22s. changelog-data.ts renders every real version entry, so the test is genuinely slow rather than unreliable โ€” and a timeout exists to catch a hang, not to assert a speed. It was raised to 60s, which costs no coverage; the perf spec remains the one place a real budget is asserted. It was green in the 24 September serial run at 22.66s, which is the same figure that prompted the raise and a reminder of how little headroom 15s left.

On 28 September it took 44.1 seconds in the measured parallel run, and 30.4s in another parallel run of the same suite on the same commit. That is double the 24 September figure and three quarters of the 60s ceiling, on a file whose only input that changed is changelog-data.ts. It still passes, and it is the clearest quantity on this page for how fast that module is growing. It was not timed on 30 September or on 3, 9 or 11 October: the suite was run with Vitest's default console reporter, which prints no per-file times.

Its sibling ChangelogPanel.variants.test.tsx is the file that failed under parallel load on 20 September, five times over on 24 September, not at all on 26 September and once again on 28 September โ€” same component, same growth, but a different timeout. What it needed was not testTimeout, which is what was raised for this file, and it did not get a bigger budget of any kind: afc2001 stopped it loading the real history at all, closing issue #199. See Why this file, and why the count moves.


Linting, formatting, git hooks, and CI

All the root gates were run again on 18 November 2026, at the same tree as the suites above, and all exited 0 โ€” all but lint:openapi, which was not re-run (see Running the tests). One output moved since 14 November: audit:signatures verifies 1452 registry signatures, 22 fewer. Times are wall clock on 18 November, counting npm's start-up, where the row gives one without a date.

Command What it does Result (measured 18 Nov)
npm run type-check npm run type-check --workspaces --if-present โ€” the fifth step of pre-push exit 0 (80s; 179s on 14 Nov, 117s on 12 Nov)
npm run lint npm run lint --workspaces --if-present โ€” eslint . in backend, frontend, pa-cockpit, pa-demo and public-site exit 0, no errors (77s; 122s on 14 Nov, 97s on 12 Nov)
npm run check-format prettier --check "**/*.{ts,tsx,json,md}" --ignore-path .gitignore --ignore-path .prettierignore โ€” one repo-wide glob, not a per-workspace fan-out All matched files use Prettier code style! (26s; 42s on 14 Nov, 32s on 12 Nov)
npm run lint:css stylelint "**/*.css" โ€” no hex colours, no duplicate selectors, no !important, and the custom rba/selector-root-class rule โ€” new in v2026.10.3, report-only: warnings, in no workflow or hook Not run; a hex colour is gated instead by css-hex.test.ts in the frontend suite, which CI runs
npm run lint:openapi --workspace=@ronl/backend Builds openapi/openapi.json, then spectral lint against the NL API Design Rules 2.2.1 ruleset with --fail-severity error โ€” new in v2026.09.12 Not re-run; on 9 Oct No results with a severity of 'error' found!
npm run check-shared node scripts/check-shared-declarations.mjs โ€” what stands in for tests in packages/shared check-shared-declarations: 13 file(s) in packages/shared/src/ โ€” declarations and constant data only. (13 on 9 and 11 Oct and 7, 12 and 14 Nov; the stylesheets in packages/shared/styles/ are outside src/ and not checked; 12 on 3 Oct, before citizen-services.ts; 11 on 20 Sep)
npm run check-supply-chain node scripts/check-supply-chain.mjs โ€” every action pin against its version comment and the register 45 pinned reference(s) across 6 action(s) in .github/workflows/ โ€ฆ OK โ€” digests, version comments and the register all agree. (45 on 14 Nov; 43 on 12 Nov, before the two in upstream-certs.yml, and on 11 Oct and 7 Nov โ€” v2026.11.1 moved three of the six actions to new digests without adding a reference; 41 on 9 Oct, before dependency-review.yml; 39 on 3 Oct, before the two lockfile-review jobs; 31 across 5 on 20 Sep, before the two workflows added in v2026.09.12)
npm run check-swimlane-fixtures node scripts/check-swimlane-fixtures.mjs โ€” the parser's RIP and declared-phase fixtures against their fingerprints (see Git hooks) โœ“ 14 swimlane fixtures match their fingerprints; 14 compared against ..\linked-data-explorer. (14 on 9 Oct and 7, 12 and 14 Nov, 12 on 3 Oct)
npm run audit:signatures bash scripts/audit-signatures.sh โ€” npm audit signatures over the installed tree: the registry signature of every package, and the provenance attestation of those that have one (#249) โ€” new in v2026.10.2 1452 packages have verified registry signatures, 225 packages have verified attestations (94s; 1474 and 225 on 12 and 14 Nov, 86s on 14 Nov; 1635 and 223 on 7 Nov, 1575 and 213 on 11 Oct)

The SBOM check passed on 18 November โ€” run with npm 11.19.1

node scripts/write-sbom.mjs --check, the check behind npm run sbom:check, run under npm 11.19.1, the npm sbom.yml uses: "docs\sbom\ronl-business-api-2026.11.5.cdx.json matches the lockfile". That committed file lists 471 components, against 493 for v2026.11.3 and v2026.11.4. It was not run on npm 10.9.9; the warning below, from the v2026.11.3 pass, still describes what to expect there.

npm run sbom:check failed locally on 14 November for v2026.11.3 โ€” the npm in this directory, not the SBOM

Run beside the gates above, sbom:check exited 1 again: "docs\sbom\ronl-business-api-2026.11.3.cdx.json does not match the current lockfile. Run: npm run sbom". As on 7 and 12 November, the npm this directory resolves is 10.9.9, where the committed file was written with npm 11.19.1 โ€” the npm sbom.yml uses โ€” and records it in metadata.tools; npm 10 resolves the tree differently besides (on 7 November it generated 505 components against the 487 of the v2026.11.1 file). Re-run with npm 11.19.1 on PATH, the check passed: "docs\sbom\ronl-business-api-2026.11.3.cdx.json: 493 components". Not a defect; run the strict check with the npm CI uses. Since v2026.10.4 /bump-release generates the release SBOM under the Node sbom.yml pins, so the committed file carries CI's npm by construction.

History: npm run sbom:check failed locally on 11 October โ€” a check, not a test, and only the npm version

sbom:check (node scripts/write-sbom.mjs --check), a root script since v2026.10.1, regenerates the release SBOM from package-lock.json and compares it with the committed docs/sbom/ronl-business-api-<version>.cdx.json. Run beside the gates above, it exited 1: "docs\sbom\ronl-business-api-2026.10.2.cdx.json does not match the current lockfile. Run: npm run sbom". Neither the lockfile nor any component is the cause. The committed file records in its metadata.tools the npm that CI uses, 11.19.0 โ€” 3f9c3a3 regenerated it with that npm deliberately โ€” while the local npm is 11.21.0, and --check compares everything but serialNumber and metadata.timestamp, the npm version included. With the two versions set equal, all 487 components and the rest of the document match exactly. It moves no test count on this page, and it is not in pre-push or the audit job.

On 9 October the cause was larger: the v2026.10.1 file had been generated with npm 10.9.9 and listed 423 components, where npm 11 generated 409 from the same lockfile. v2026.10.2 also stopped relying on npm sbom --omit=dev, which dropped production packages such as react, and reads the production set from the lockfile instead (#368).

In CI the comparison can now fail. Until v2026.10.2 sbom.yml ran Generate the SBOM โ€” which rewrites the file in the runner's workspace โ€” before its --check and --verify-release steps, so each compared the freshly written file with itself and could not fail (issue 354). Since v2026.10.2 it tests the generator first, then runs --verify-release on a push to main and --check on a release pull request, and only then generates and uploads the SBOM โ€” so both checks compare the committed file. See CI/CD.

npm run lint skips @ronl/shared the same way test does โ€” no lint script there. npm run check-format, by contrast, is not scoped by workspace scripts at all: it is a single Prettier invocation over the whole tree (minus .gitignored paths), so it reaches packages/shared too even though shared defines no format-check script of its own. The second ignore file is new in v2026.09.14 (96fabb6): .prettierignore holds one pattern, *-handoff/, keeping design handoff folders โ€” scratch input that is never committed โ€” out of the check.

packages/shared has no test script, and that is the design

It defines build, prepare, clean and type-check and nothing else, so --if-present skips it. What polices it instead is check-shared, which asserts that every file under packages/shared/src/ holds declarations and constant data only โ€” no runtime behaviour, hence nothing to unit test. It runs in the audit job, a required check on both acc and main, so the package with no tests is in fact the one whose rule is enforced on every pull request.

Git hooks

Hook Runs Scope
pre-commit npx lint-staged Staged files only
pre-push npm run deps:check โ†’ build @ronl/shared โ†’ npm run check-swimlane-fixtures โ†’ npm run type-check โ†’ npm run lint โ†’ npm run check-format All workspaces (type-check, lint) / whole tree (check-format) / the fourteen BPMN fixtures (check-swimlane-fixtures)

The hooks do not run the tests

Re-read against .husky/pre-push at ae06c9e on 30 September 2026, and .husky/ is unchanged at 1784a72, so still true: pre-commit runs npx lint-staged and nothing else, and pre-push runs the six commands above in that order. Neither invokes any test script, so nothing client-side stops a push that breaks a suite โ€” run npm test yourself before pushing anything nontrivial.

check-swimlane-fixtures is the sixth, and it is third in the order โ€” between the @ronl/shared build and the type check. These pages said five until 28 September 2026; the step was added without this table following. It does not weaken the claim above: it compares packages/backend/src/rip-swimlane/__fixtures__/'s twelve RIP phase BPMNs, and since v2026.10.1 the two under __fixtures__/declared/, against sha256 fingerprints committed identically in this repository and in linked-data-explorer, and byte-for-byte against the real files when that checkout is alongside. A fixture edited here fails it, because the edit belongs upstream. That is a file comparison, not a suite. Since v2026.09.14 (97e0534, #268) the check tells the two directions of drift apart from the fingerprint file: a fixture that disagrees with its fingerprint is stale and --sync fixes it, while one that agrees but differs from the linked-data-explorer checkout means that checkout is out of step โ€” and --sync now refuses to copy from it unless --force is given. The seven Awb fixtures added under __fixtures__/awb/ in the same release are not part of it: those seven are exercised by the parser's tests but not drift-checked against linked-data-explorer. The two fixtures v2026.10.0 added under __fixtures__/declared/ โ€” GedelegeerdBesluitProcess and ManagementCapacityClaimProcess, the HR capacity claim, whose copy here lost its .nl suffix in the same change โ€” were in the same position on 3 October, when the run reported twelve. v2026.10.1 brought them under contract (#312 item 3): a fingerprint entry's source now says where upstream a model lives, so the declared ones need not sit in a rip-phase-NN folder, and the 9 and 11 October runs report fourteen. The same check also runs in the audit job, between Verify registry signatures and Verify @ronl/shared holds no logic.

deps:check is new at the front of pre-push, and it is there for a reason the hook file records: on 14 September 2026 a clone still on Prettier 3.8.1, after the lockfile had moved to 3.9.6, failed check-format on seven correctly-formatted files and nothing said why. Running it first means a push from an install that no longer matches package-lock.json stops with the fix named โ€” npm ci โ€” rather than the later checks running against the wrong tool versions.

What has changed is on the server. Since 20 August 2026 each deploy workflow runs the suite of the package it ships; since v2026.09.6 the frontend workflows also run @ronl/pa-cockpit's; and since v2026.09.7 the backend suite runs on the pull request rather than only on the merge. As of 19 September 2026 those runs also gate on acc โ€” see What actually gates a merge.

CI

Fifteen workflows under .github/workflows/. v2026.11.7 added none and edited seven โ€” git diff --name-status 7416c65 9e8d9ec -- .github/ lists only modifications โ€” and changed no unit-test step of the five workspaces. What changed around the suites:

  • dependency-audit.yml gained the Cooldown proof step, node scripts/cooldown-proof.test.mjs && node scripts/cooldown-proof.mjs, before the audit, and its pull-request paths gained both files; see CI/CD.
  • zizmor.yml's required lockfile-review gained Test the dependency gate โ€” node scripts/dependency-gate.test.mjs, then node scripts/dependency-gate.mjs --check-register โ€” before the comparison, and the job gained issues: read and pull-requests: read for the gate; see CI/CD.
  • dependency-review.yml's pull-request paths gained scripts/dependency-gate.mjs and dependency-register.json.
  • The tooling Node literal went from 24.22.2 to 24.22.3 in dependency-audit.yml, dependency-review.yml, sbom.yml, upstream-certs.yml and both zizmor.yml jobs, and zizmorcore/zizmor-action to v0.8.1. The two azure-backend-* edits are comments only.

History, 18 November: v2026.11.5 added none and edited one, zizmor.yml โ€” git diff --stat 67bac28 1784a72 -- .github/ lists that one file โ€” and changed no unit-test step of the five workspaces. Its required audit job gained two steps beside the other script tests, each with if: always() so one failure does not hide the next:

  • Test the ronl-business-api client restriction โ€” node scripts/keycloak-restrict-rba-client.test.mjs: the script must refuse a wildcard or a path in its origins (#188).
  • Test the BRP role and bsn script โ€” node scripts/keycloak-add-brp-raadpleger.test.mjs: the script must refuse a TEST_BSN outside the reserved 99999xxxx range (#319).

Both stop before any network call. scripts/promotion-targets.sh also gained keycloak-themes/ in its frontend pattern, because the theme's guard tests run in the frontend suite, so a theme-only promotion runs that suite on main as it did on acc (#457); promotion-targets.test.mjs gained the case.

History, 14 November: v2026.11.4 added none and edited one, zizmor.yml โ€” git diff --stat f54e4f0 67bac28 -- .github/ lists that one file โ€” and changed no unit-test step of the five workspaces. Its required audit job gained three steps after Check formatting, each with if: always():

  • Test the stylelint rules โ€” npm run test:stylelint, the two tests under scripts/stylelint/, which import stylelint and so run here, after the job's npm ci (#433). Until v2026.11.4 nothing ran them.
  • Test the Keycloak production guard โ€” node scripts/keycloak-add-lde-clients.test.mjs, new in v2026.11.4: the script refuses its test accounts on production by host name (#445).
  • Test the promotion targets โ€” node scripts/promotion-targets.test.mjs, new in v2026.11.4: the table of cases for scripts/promotion-targets.sh, which decides which production deploys a promotion runs (#354). The same release added package-lock.json and package.json to the frontend, pa-demo and public-site patterns there, as the backend's already had, so a promotion that changes only the lockfile now deploys, and tests, all four.

History, 14 November: v2026.11.3 added upstream-certs.yml and edited no other workflow โ€” git diff --stat ad0fd62 f54e4f0 -- .github/ lists that one file โ€” and changed no unit-test step:

  • upstream-certs.yml is new: a daily check of the TLS certificate of each upstream the API depends on but does not host โ€” that it validates for its hostname and does not expire within 14 days โ€” written after the BRP mock's proxy served a certificate for another host on 13 November 2026. It runs on a clock โ€” cron 41 5 * * *, 05:41 UTC daily โ€” on workflow_dispatch, and on a pull request that touches the workflow, scripts/check-upstream-certs.mjs or its test. Its first step runs the script's own test, scripts/check-upstream-certs.test.mjs; then it checks the certificates and opens, updates or closes a tracking issue โ€” a step skipped on a pull request, and the reason the job holds issues: write.

Fourteen from v2026.10.2 to v2026.11.2. v2026.10.3 to v2026.11.1 edited twelve of them โ€” git diff --stat 7117914 35fb3a8 -- .github/ โ€” and changed no unit-test step: actions/setup-node 7.1.0, actions/upload-artifact 7.0.2 and zizmorcore/zizmor-action 0.8.0 at new digests, the tooling Node literal 24.21.0 โ†’ 24.22.1 in dependency-audit.yml, dependency-review.yml, sbom.yml and zizmor.yml, and keycloak-themes/** added to azure-frontend-acc.yml's path filter, because the login theme's guard tests (keycloak-theme.test.ts, css-hex.test.ts) run in the frontend suite. v2026.11.2 edited four more โ€” the tooling Node literal 24.22.1 โ†’ 24.22.2 in the same four workflows (git diff --stat 35fb3a8 ad0fd62 -- .github/) โ€” and again changed no test step. css-hex.test.ts is the one colour rule CI enforces: a new hex colour in a stylesheet fails the frontend job. Stylelint itself (npm run lint:css) runs in no workflow.

History, 11 October: v2026.10.2 added one workflow and edited two โ€” git diff --name-status ebec288 c51ec0a -- .github/ โ€” and changed no unit-test step. What changed were the checks and script tests around the suites:

  • dependency-review.yml is new: a quarterly review that every direct dependency is still maintained (ICTU recommendation 11, #250). It runs on a clock โ€” cron 23 6 2 1,4,7,10 *, 06:23 UTC on the second day of each quarter โ€” on workflow_dispatch, and on a pull request that touches the workflow, scripts/dependency-review.mjs or scripts/lockfile-diff.mjs. Its first step runs the script's own test, scripts/dependency-review.test.mjs; then it gathers the evidence and opens the quarter's review issue, a step skipped on a pull request.
  • zizmor.yml's audit job gained an eleventh step, Verify registry signatures โ€” npm run audit:signatures, after Check formatting. Since audit is required on both branches, every pull request now fails on a package whose registry signature is invalid or missing.
  • sbom.yml now tests its generator first โ€” node scripts/write-sbom.test.mjs โ€” and runs its two checks before generating the file, so they compare the committed SBOM and can fail; see the warning under the gates table above.

That makes twelve self-contained script tests since v2026.11.7 outside the five workspaces' runners โ€” no test runner, a pass count, exit 1 on any failure โ€” none of them part of the 359 files. All twelve run in a workflow: six in the workflow that uses their script (lockfile-diff and dependency-gate in lockfile-review, dependency-review, write-sbom, check-upstream-certs and cooldown-proof), and six in zizmor.yml's required audit job โ€” the two stylelint ones, new in v2026.10.3 and run by nothing but npm run test:stylelint by hand until v2026.11.4, the two added in v2026.11.4 and the two added in v2026.11.5. All twelve ran and passed on 28 November:

Script test Result, 28 Nov Runs in
scripts/lockfile-diff.test.mjs PASS: 84 checks (77 on 18 Nov) zizmor.yml, job lockfile-review, before it compares package-lock.json with the base (since v2026.10.1)
scripts/dependency-gate.test.mjs PASS: 130 checks zizmor.yml, job lockfile-review, before --check-register and the comparison (new in v2026.11.7)
scripts/dependency-review.test.mjs PASS: 49 checks (24 on 18 Nov) dependency-review.yml, before the review (new in v2026.10.2)
scripts/cooldown-proof.test.mjs PASS: 25 checks dependency-audit.yml, the Cooldown proof step, before cooldown-proof.mjs (new in v2026.11.7)
scripts/write-sbom.test.mjs PASS: 7 checks sbom.yml, before the two checks (new in v2026.10.2)
scripts/check-upstream-certs.test.mjs PASS 22 upstream-certs.yml, before the certificate check (new in v2026.11.3)
scripts/stylelint/selector-root-class.test.mjs 18 PASS, 0 FAIL zizmor.yml, job audit, through npm run test:stylelint since v2026.11.4 (new in v2026.10.3; no workflow or hook ran it before)
scripts/stylelint/summary.test.mjs 12 PASS, 0 FAIL zizmor.yml, job audit, through npm run test:stylelint since v2026.11.4 (new in v2026.10.3; no workflow or hook ran it before)
scripts/keycloak-add-lde-clients.test.mjs 24 PASS, 0 FAIL zizmor.yml, job audit (new in v2026.11.4)
scripts/promotion-targets.test.mjs 8 PASS, 0 FAIL (7 on 14 Nov) zizmor.yml, job audit (new in v2026.11.4)
scripts/keycloak-restrict-rba-client.test.mjs 22 PASS, 0 FAIL zizmor.yml, job audit (new in v2026.11.5)
scripts/keycloak-add-brp-raadpleger.test.mjs 12 PASS, 0 FAIL zizmor.yml, job audit (new in v2026.11.5)

See CI/CD.

History, 9 October: v2026.10.1 edited five workflows and added none โ€” git diff --name-status 0625d48 ebec288 -- .github/ listed only modifications โ€” and no unit-test step changed:

  • zizmor.yml gained two jobs, lockfile-review and lockfile-review-comment. The first runs scripts/lockfile-diff.test.mjs and then compares package-lock.json with the base branch; the second posts the result as a pull-request comment. That test file was then the one test in the repository outside the five workspaces' runners.
  • The three acc site workflows โ€” frontend, pa-demo, public-site โ€” added package-lock.json and package.json to their path filters, as the backend's already had, so a lockfile-only change is built and tested.
  • azure-pa-demo-acc.yml bounds Install Playwright browser with timeout-minutes: 10, after an unanswering Ubuntu mirror hung the step for over ten minutes on 7 October. The E2E step itself is unchanged.
  • sbom.yml gained the release-pull-request --check โ€” which, as the warning above explains, could not yet fail in CI.

Re-read at ae06c9e on 30 September against 2443adc, the last full reading before that: no workflow was added or removed, and no test step changed. What did change then is a node scripts/check-og.mjs acceptance|production check of the built link-preview tags inside the build step of the four frontend and public-site deploy workflows, and Node 24.22.1 in dependency-audit.yml and sbom.yml.

The fifteen are an acc/prod pair per deployable package, the supply-chain audit gate, the Semgrep scan job added in v2026.09.7, the promotion orchestrator added since v2026.09.9, two added in v2026.09.12 โ€” a daily dependency audit and a release SBOM โ€” the quarterly dependency review added in v2026.10.2 and the daily upstream-certificate check added in v2026.11.3:

Workflow Lint Type-check Tests E2E Perf budget Build Deploys?
azure-backend-acc.yml / -prod.yml โœ… + OpenAPI (lint:openapi) โ€“ โœ…, with the conformance-coverage check โ€“ โ€“ โœ… Yes โ€” over OIDC since v2026.09.10, then a liveness check and a check that /v1/health reports the deployed commit; the acc workflow skips all three on a pull request
azure-frontend-acc.yml / -prod.yml โœ… โ€“ โœ… ร—2 โ€” pa-cockpit, then frontend โ€“ โœ… โœ… Yes
azure-pa-demo-acc.yml / -prod.yml โœ… โœ… โœ… โœ… (acc only) โ€“ โœ… Yes
azure-publicsite-acc.yml / -prod.yml โœ… โœ… โœ… โ€“ โ€“ โœ… Yes
promote-to-production.yml โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ Orchestrates the four -prod workflows in order
zizmor.yml โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ No โ€” the required audit gate, which since v2026.09.12 also checks that the lockfile matches package.json and since v2026.10.2 verifies registry signatures, and which runs the stylelint and promotion-targets script tests and the three Keycloak script tests (keycloak-add-lde-clients, keycloak-restrict-rba-client, keycloak-add-brp-raadpleger); and lockfile-review, required on acc, which runs lockfile-diff.test.mjs, dependency-gate.test.mjs and the register check first
semgrep.yml โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ No โ€” scan, required on acc and, since the end of September, on main
dependency-audit.yml โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ No โ€” a daily scheduled audit of the dependency tree; with dependency-review and upstream-certs, one of the three checks here that run on a clock rather than a commit; runs cooldown-proof.test.mjs and the npm cooldown proof first (since v2026.11.7)
dependency-review.yml โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ No โ€” the quarterly maintenance review of every direct dependency, which opens an issue; runs dependency-review.test.mjs first. New in v2026.10.2
sbom.yml โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ No โ€” tests the generator (write-sbom.test.mjs), checks the committed release SBOM, then generates and uploads it on a push to main
upstream-certs.yml โ€“ โ€“ โ€“ โ€“ โ€“ โ€“ No โ€” the daily check of each upstream's TLS certificate, which opens, updates or closes a tracking issue; runs check-upstream-certs.test.mjs first. New in v2026.11.3

None of the four workflows added since v2026.09.12 โ€” dependency-audit, sbom, dependency-review and upstream-certs โ€” is a required check: the first three in the rules as read on 11 October, and upstream-certs is not among the checks the acc ruleset requires (see What actually gates a merge).

The backend's contract is now linted before its tests run. Both backend workflows gained a Lint the OpenAPI document step in v2026.09.12, placed before Unit tests so a document that breaks the NL API Design Rules ruleset fails fast and names the rule. The checks that the document matches the routes actually served, and that every documented operation's response was compared against its schema, are not separate steps: they are src/openapi/coverage.test.ts and the conformance-coverage script that the backend's ordinary npm test runs after Jest โ€” see Backend suite.

The four -prod.yml workflows no longer trigger themselves

Read at 86af73e and still so at 2443adc: all four declare on: workflow_call and workflow_dispatch only. A push to main no longer starts them โ€” it starts promote-to-production.yml, which decides what changed and calls them in order, backend first so the three sites never deploy against a backend that has not been promoted yet. The test steps inside each of them are unchanged; what moved is who invokes them. See CI/CD.

Every deployable package has had a real CI test step since 20 August 2026 โ€” a failing test fails the pipeline in all eight Azure workflows. Public-site had one already. Backend CI runs Jest alongside its existing lint step; frontend CI before that ran neither lint nor test, going straight from npm ci to vite build.

@ronl/pa-cockpit was the package that phrasing missed. It is a library with no deploy workflow of its own, so until v2026.09.6 nothing triggered its suite and its tests ran nowhere in CI โ€” a suite third in size only to the backend's and the frontend's (515 tests on 11 October), covered locally and only locally. Both frontend workflows now run it, as a step placed before the frontend's own, because the frontend imports it: there is no point testing the consumer while the library is broken. The pa-demo workflows consume the cockpit too, and watch packages/pa-cockpit/** in their path filters, but run only pa-demo's own suite.

The backend suite now runs before a merge, not only after one. Both backend workflows triggered on push alone, so a backend pull request reached acc with audit as its only check and the backend suite ran retrospectively โ€” including, after v2026.09.6, the per-file branch floor it carries. A pull_request trigger on azure-backend-acc.yml closed that in v2026.09.7 (issue #87), and both path filters gained package-lock.json and package.json, so a lockfile-only change โ€” Renovate's above all โ€” is no longer built and tested by nothing. A concurrency group keyed on the pull-request number keeps a twice-pushed branch from running the suite twice. It paid for itself immediately: an axios 1.18 security bump broke the backend build on the pull request, 1859 tests passing and one suite failing to compile against a widened header type. azure-backend-prod.yml has no pull_request trigger, deliberately โ€” main is promoted from acc, where that same suite has already run.

What actually gates a merge

This changed on 19 September 2026, and the two branches are deliberately different. Read from the repository rulesets (gh api repos/sgort/ronl-business-api/rulesets) on 20 September 2026, not re-read on 24, 26 or 28 September, re-read on 30 September, not re-read on 3 October, and re-read on 9 and 11 October as the rules in force per branch (gh api repos/sgort/ronl-business-api/rules/branches/<branch>) โ€” a gating claim is only as current as the last time somebody ran that command:

Branch Ruleset Required status checks
acc acc supply-chain gate audit, scan, build, Build and Deploy ACC Frontend, Build and Deploy ACC PA Demo, Build and Deploy ACC Public Site, lockfile-review
main main promotion gate audit, scan

Unchanged on 11 October. acc has also required lockfile-review, the job v2026.10.1 added to zizmor.yml, since that release; its other six checks are unchanged since 20 September. main requires scan as well as audit since the end of September, where the 20 September reading had audit alone. v2026.10.2 added no required check, but it widened one: audit now also verifies registry signatures, so that verification gates every pull request to either branch. Re-checked on 11 October, both rulesets are active and neither branch carries classic branch protection โ€” gh api repos/sgort/ronl-business-api/branches/<branch>/protection answers Branch not protected for both, as on 30 September โ€” so the rulesets are the whole of the gate.

So on acc a red suite now does block the merge. build is azure-backend-acc.yml's build job, which runs the backend's npm test; the three Build and Deploy ACC โ€ฆ contexts are the frontend, pa-demo and public-site deploy jobs, each of which runs its package's suite โ€” and the frontend's runs @ronl/pa-cockpit's first. Between them, every one of the five suites is now a required check on acc. scan โ€” Semgrep โ€” became required in the same change; test files remain excluded from its Code scanning, a fixture credential not being a leaked one. Both rulesets also forbid deletion and non-fast-forward pushes, and require a pull request to change the branch at all โ€” merged with a merge commit, the only method either allows, and with no approving review required.

main requiring no suite is not an oversight

No production workflow has a pull_request trigger. A check that never runs on the pull request cannot be required of it: adding one would block every promotion forever. main is promoted from acc, where those same suites have already run and now also gate. audit and scan are the two workflows that do trigger on any pull request, which is what makes them requirable there โ€” and both now are.

This is now doubly true. Read at 86af73e, at 2443adc and again at ae06c9e, the four -prod.yml files have no push trigger either โ€” they are workflow_call and workflow_dispatch only, invoked by promote-to-production.yml. Through v2026.09.9 they fired on push to main, which is what this note used to say.

This page said the opposite until 20 September 2026

Through v2026.09.7 these pages stated that audit was the only required check on both branches and that "a suite that runs is not a suite that gates". That was true when written and is now false for acc. The claim outlived the ruleset by a day; a gating claim is only as current as the last time somebody read the rulesets, which is why the command to do so is quoted above rather than described.

azure-pa-demo-acc.yml is the only workflow that runs an end-to-end suite โ€” the first Playwright in CI anywhere in this repository. See PA-demo suite.

The backend workflows deploy too, since v2026.09.10. Until then they ended at Create deployment zip โ†’ Upload deployment artifact, and the artifact was deployed separately, from a developer machine โ€” which is what this paragraph still said through the 28 September pass, although the change (e3c7dd6, 20 September) was already in the 2443adc reading above. They now log in to Azure over OIDC, run az webapp deploy, poll /v1/health/live for liveness, and then fail the job unless /v1/health reports the commit that was just deployed as its build.sha โ€” a liveness check alone passes against the previous build while Azure starts the new one. On azure-backend-acc.yml all of that is skipped on a pull request, so build can stay a required check without a pull request shipping anything. See CI/CD and the supply-chain gate.

The coverage gap closed differently from the test gap. Gating on coverage while it was still climbing was judged theatre โ€” the same call the Linked Data Explorer made and has since reversed for the same reason โ€” so there is still no coverage job in any workflow, and there does not need to be.

It closed from the other direction rather than by adding a coverage job. Since v2026.09.6 the per-file branch floor lives in the five runner configs and npm test already runs with coverage, so coverage is checked wherever the suites run โ€” in CI and on a developer's machine, by the same command, with no separate step to keep in step.


Roadmap

E2E CI wiring is done for one of the three Playwright suites. The PA-demo suite runs as a blocking step of azure-pa-demo-acc.yml, which was possible because that demo needs no backend, database or Keycloak โ€” Playwright starts its own dev server and that is the whole environment.

The other two still run locally only. The frontend suite needs a webServer-style auto-boot for Keycloak/Postgres/Redis/backend/LDE-backend โ€” its playwright.config.ts declares no webServer at all, and there is no human to start the stack manually in CI โ€” plus an unbounded local-Operaton-history-growth gap to close first. The public-site suite has no such blocker and is the obvious next candidate: it already declares its own webServer and needs only the backend. One thing to settle first: on 3 and 9 October and again on 14 November its two search-journey tests timed out under six parallel workers and passed serially (see E2E & live smoke), so the 10-second wait for the filter checkbox is the first thing a CI run would test.

The Node v24-on-Windows exit crash that used to be listed here as a third blocker is fixed, and e2e/global-setup.ts records how: AbortSignal.timeout() left its internal timer uncleaned before the fetch settled, tripping a libuv UV_HANDLE_CLOSING assertion on process exit. A manually managed AbortController with an explicit clearTimeout replaced it.

One board has no end-to-end coverage. Woo-dashboard is well covered by unit tests and has no Playwright spec at all. That is a gap rather than a decision โ€” the PA cockpit work showed exactly which class of defect unit tests cannot see, and the Woo-dashboard has the same shape.

The Infra-board was in that sentence and should not have been: two specs driving it landed on 24 August 2026, and this roadmap item kept naming it through two subsequent syncs. E2E coverage per board is now tabulated on E2E & live smoke, which is the place to check it rather than this paragraph.

Doccle has no live-tested results yet. test-doccle-live.sh exists and is ready to run, but every run so far has been in DOCCLE_STUB_MODE=true โ€” see Doccle โ€” Live Testing.

Branch-coverage depth is the natural next target across the frontend and public site: defensive guards and catch-block edges inside already-tested files, not new files to reach. The two frontend files v2026.10.0 left below 85% branches โ€” BesluitOverzichtSection.tsx at 80.43% and phaseSet.ts at 83.33% โ€” are still the only two in the repository on 14 November, and the nearest such targets.

Deliberately out of scope for now: visual regression and screenshot diffing, a cross-browser matrix (Chromium only in both Playwright suites), and parallel or sharded E2E execution tuning โ€” none are blockers at current suite size.