Structsยง
- Cleanup
Outcome ๐ - Compat
Command - Run compatibility tests in bare mode.
- Compat
Profiles ๐ - Deterministically ordered compatibility profiles.
- Etcd
Guard ๐ - Guard that stops/removes Docker etcd on drop (panic or early exit). Disarm before normal cleanup to avoid double-cleanup.
- Overlay
Profile ๐Group - Parsed
Statement ๐ - A parsed SQL statement with sqlness comments and interceptors.
- Profile
Outcome ๐ - Profile
Progress ๐ - Pure compatibility profile progress policy, independent of process ownership.
- Profile
RunConfig ๐ - Profile
State ๐Guard - Owns one profile state directory until normal cleanup or unwind finalization.
Enumsยง
- Compat
Phase ๐ - Phase of compat execution.
- Compat
Profile ๐ - Cases sharing one old-stage datanode configuration lifecycle.
- Compat
Topology ๐
Constantsยง
- COMMENT_
PREFIX ๐ - INTERCEPTOR_
PREFIX ๐ - QUERY_
DELIMITER ๐
Functionsยง
- cleanup_
profile ๐ - create_
interceptor_ ๐registry - Create an interceptor registry matching the ordinary sqlness runner.
- default_
compat_ ๐case_ dir - Default case directory:
tests/compatibility/casesrelative to workspace root. - emit_
protected_ ๐path_ warnings - format_
protected_ ๐path_ warning - parse_
sql_ ๐file - Parse a SQL file into statements using the same sqlness comment/interceptor conventions as the ordinary runner.
- prepare_
compat_ ๐profiles - resolve_
bins ๐ - Resolve binary directory: explicit path takes priority, then version (pulls if needed), otherwise default to current debug build.
- run_
compat_ ๐phase - Run a single compat phase (setup or verify) for one case.
- run_
namespace_ ๐prelude - Execute the namespace prelude (CREATE DATABASE IF NOT EXISTS + USE) for a case. This is NOT written into verify.result.
- run_
profile ๐ - simple_
diff ๐ - Generate a simple line-based diff between expected and actual.
- trim_
trailing_ ๐blank_ lines - Keep generated snapshots compatible with
git diff --checkby avoiding a trailing blank line at EOF while preserving the final newline.