Crafter.Review/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf e8a58f893f
feat(sql): the database helper and the TOTP helper, as subcommands
`crafter-review sql` hands the SQL to the driver's broker named in
REVIEW_GATES_DB; the broker runs it as one transaction, rolled back, and
streams the lines back with the exit code last. The client speaks protocol
3.0 over Crafter.Network's TCP client: cleartext, MD5 and SCRAM-SHA-256,
one Parse per statement, the transaction status as the backstop. The
splitter, the refusals, the table layout and every message work on code
points; connect and socket errors read "[Errno 111] Connection refused"
or "timed out". `crafter-review totp` prints "123456 (valid 17s)".

No sleep after the last connect attempt; TOTP reads the clock once; a
broker token that is no string gets the NO DATABASE answer and the exit
mark.

The goldens add the splitter, the comment stripping, the fingerprint, the
refusals, the first words, the headline, the cell, table, error and notice
layouts, the run's refusals and limits and 40 TOTP codes (2774 checks
now). tests/PgWire runs the helper over a Postgres stand-in and compares
its output with the goldens, line for line, plus the broker's protocol.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 07:20:00 +01:00
..
CodeKeys test(pipeline): the checks of the pure pipeline 2026-10-31 06:56:09 +01:00
CommitsMode test(pipeline): the checks of the pure pipeline 2026-10-31 06:56:09 +01:00
Config test(pipeline): the checks of the pure pipeline 2026-10-31 06:56:09 +01:00
Crypto feat: the crafter-review skeleton, and its semantics for text, JSON and crypto 2026-10-31 05:29:18 +01:00
Dispositions test(pipeline): the checks of the pure pipeline 2026-10-31 06:56:09 +01:00
Freeze feat(freeze): crafter-review freeze, and --verify that names a git upgrade 2026-10-31 07:03:48 +01:00
Goldens feat(sql): the database helper and the TOTP helper, as subcommands 2026-10-31 07:20:00 +01:00
Merge test(pipeline): the checks of the pure pipeline 2026-10-31 06:56:09 +01:00
Normalize test(pipeline): the checks of the pure pipeline 2026-10-31 06:56:09 +01:00
PgWire feat(sql): the database helper and the TOTP helper, as subcommands 2026-10-31 07:20:00 +01:00
Platform feat(platform): processes that never outlive their pass, shared files, the board identity 2026-10-31 05:49:46 +01:00
Process feat(platform): processes that never outlive their pass, shared files, the board identity 2026-10-31 05:49:46 +01:00
Stream test(pipeline): the checks of the pure pipeline 2026-10-31 06:56:09 +01:00
Text feat: the crafter-review skeleton, and its semantics for text, JSON and crypto 2026-10-31 05:29:18 +01:00