Skip to content

docs: open with the live-server verification, drop a brittle count - #1

Merged
sonukhobragade merged 1 commit into
mainfrom
docs/lead-with-verification
Sep 2, 2026
Merged

sonukhobragade merged 1 commit into
mainfrom
docs/lead-with-verification

Conversation

@sonukhobragade

Copy link
Copy Markdown
Owner

Moves the real-database verification to the first screen — it is the repo's best argument and sat at line 141 of 247.

Also: the transcript claimed slowQueries 2 rows; an actual run against the fixture gives 0, because the count depends on what pg_stat_statements has seen. Corrected and annotated so the incidental numbers are not read as assertions. Verified by running docker compose -f docker-compose.test.yml up -d && node server/scripts/verify-queries.js — 10 queries, 0 checks failed.

Gate passes.

The strongest argument here is that the queries are checked against a real
PostgreSQL with an awkward fixture rather than mocked, including real sessions
made to block each other. That was at line 141 of 247.

The transcript also asserted 'slowQueries 2 rows'. A real run gives 0 -- the
count depends on what pg_stat_statements has observed. Corrected, and noted
that the PASS lines are the assertions while the counts beside them are not.
@sonukhobragade
sonukhobragade merged commit 0fe4026 into main Sep 2, 2026
@sonukhobragade
sonukhobragade deleted the docs/lead-with-verification branch September 2, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant