docs(server): plain wording in the comments and test titles this change added

Comments and test titles added on this branch cited review labels and
planning documents that do not exist in the repository, and some used
dashes as separators. They now say what the code does and why in plain
sentences, and the Postgres lane's suites share one header format. Test
ids stay as they were.
This commit is contained in:
Maurice
2026-11-18 13:20:09 +01:00
parent e3d195896c
commit 21f4f7d5de
12 changed files with 13 additions and 14 deletions
@@ -1,5 +1,5 @@
/**
* PGSEM-101..105 — answers that differ by engine although every statement is
* PGSEM-101..105: answers that differ by engine although every statement is
* accepted, so the probe cannot see them; checked here against the real app
* on the lane's Postgres database:
* a booking linked to a stay as '14.0' still shows the stay in the public
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* PARITY-PG — the schema a Postgres database ends with after its bootstrap
* PARITY-PG-001: the schema a Postgres database ends with after its bootstrap
* (the baseline, then every migration after its cut) is the schema the
* entities describe, as scripts/generate-pg-baseline.ts writes it for
* Postgres (src/db/engine/postgres/schema-adjust.ts). MikroORM's comparator
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* PGSEM-001..002 — what SQLite gives for free and Postgres only through the
* PGSEM-001..002: what SQLite gives for free and Postgres only through the
* engine, against the real app on the lane's Postgres database:
* writes in a UnitOfWork run one at a time, as on SQLite's single writer, so
* a read-then-insert never races; counts come back as numbers; and a search
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* PGROLE-001..006 — the check that refuses a restore (and warns at boot) for a
* PGROLE-001..006: the check that refuses a restore (and warns at boot) for a
* role that could reach the database host from SQL
* (src/db/engine/postgres/server-checks.ts), evaluated by the real server as
* each kind of role. Roles belong to the whole server, so this suite creates