Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions crates/bashkit/tests/integration/sqlite_differential_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,14 @@ macro_rules! require_sqlite3 {
/// Run `sqlite3 :memory: <sql>` with the given flags. Returns stdout
/// (errors go through `unwrap` since we control the inputs).
fn run_real_sqlite3(flags: &[&str], sql: &str) -> String {
let mut child = Command::new("sqlite3")
.args(flags)
let mut command = Command::new("sqlite3");
command.args(flags);
// Newer host shells default CSV rows to CRLF. Pin our LF contract
// without normalizing embedded newlines inside quoted field values.
if flags.contains(&"-csv") {
command.args(["-cmd", r#".separator , "\n""#]);
}
let mut child = command
.arg(":memory:")
.stdin(Stdio::piped())
.stdout(Stdio::piped())
Expand Down
6 changes: 6 additions & 0 deletions knowledge/operations/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,12 @@ Quarterly import process:
4. CI runs the same feature-complete, network-free lane. Schema, provenance,
unique IDs, classifications, and limitation references are test-enforced.

## SQLite CLI Differential Tests

CSV comparisons explicitly set the host CLI row separator to LF. SQLite
shell releases differ in their default CSV row endings (LF versus CRLF);
field contents, including embedded newlines, remain compared byte-for-byte.

## Differential Fuzzing

Grammar-based property testing using proptest generates random valid bash
Expand Down
8 changes: 4 additions & 4 deletions supply-chain/audits.toml
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ notes = "Reviewed the 0.8.0-pre.14 -> 0.8.1 delta: the published source trees ar
who = "Mykhailo Chalyi <mike@chaliy.name>"
criteria = "safe-to-deploy"
delta = "0.8.1 -> 0.8.2"
notes = "Reviewed published 0.8.1 -> 0.8.2 source delta. Core CDC insert/update/delete emission now uses ColumnLayout physical register offsets and skips virtual columns, preventing virtual-column values from being read as physical registers; record sizing uses non-virtual columns. No new unsafe, ambient IO, execution, or dependencies. Extension, macros and parser source unchanged; manifests update package and sibling versions only."
notes = "Reviewed complete published package diff. Only Rust change fixes CDC UPDATE register indexing for virtual generated columns: skip virtual columns, use ColumnLayout.to_reg_offset, and consistently allocate and serialize twice num_non_virtual_cols registers. Both changed and unchanged column branches use the same mapping. No new unsafe code, host access, build scripts, or dependencies. Other changes are release metadata and matching Turso dependency versions."

[[audits.turso_ext]]
who = "Mykhailo Chalyi <mike@chaliy.name>"
Expand All @@ -631,7 +631,7 @@ notes = "Reviewed the 0.8.0-pre.14 -> 0.8.1 delta: the published source trees ar
who = "Mykhailo Chalyi <mike@chaliy.name>"
criteria = "safe-to-deploy"
delta = "0.8.1 -> 0.8.2"
notes = "Reviewed published 0.8.1 -> 0.8.2 source delta. Core CDC insert/update/delete emission now uses ColumnLayout physical register offsets and skips virtual columns, preventing virtual-column values from being read as physical registers; record sizing uses non-virtual columns. No new unsafe, ambient IO, execution, or dependencies. Extension, macros and parser source unchanged; manifests update package and sibling versions only."
notes = "Reviewed complete published package diff. Source files are byte-identical; only Cargo.toml, Cargo.lock, and .cargo_vcs_info.json release metadata changes. No runtime, unsafe, host access, or build-script changes."

[[audits.turso_macros]]
who = "Mykhailo Chalyi <mike@chaliy.name>"
Expand All @@ -655,7 +655,7 @@ notes = "Reviewed the 0.8.0-pre.14 -> 0.8.1 delta: the published source trees ar
who = "Mykhailo Chalyi <mike@chaliy.name>"
criteria = "safe-to-deploy"
delta = "0.8.1 -> 0.8.2"
notes = "Reviewed published 0.8.1 -> 0.8.2 source delta. Core CDC insert/update/delete emission now uses ColumnLayout physical register offsets and skips virtual columns, preventing virtual-column values from being read as physical registers; record sizing uses non-virtual columns. No new unsafe, ambient IO, execution, or dependencies. Extension, macros and parser source unchanged; manifests update package and sibling versions only."
notes = "Reviewed complete published package diff. Source files are byte-identical; only Cargo.toml, Cargo.lock, and .cargo_vcs_info.json release metadata changes. No runtime, unsafe, host access, or build-script changes."

[[audits.turso_parser]]
who = "Mykhailo Chalyi <mike@chaliy.name>"
Expand All @@ -679,7 +679,7 @@ notes = "Reviewed the 0.8.0-pre.14 -> 0.8.1 delta: the published source trees ar
who = "Mykhailo Chalyi <mike@chaliy.name>"
criteria = "safe-to-deploy"
delta = "0.8.1 -> 0.8.2"
notes = "Reviewed published 0.8.1 -> 0.8.2 source delta. Core CDC insert/update/delete emission now uses ColumnLayout physical register offsets and skips virtual columns, preventing virtual-column values from being read as physical registers; record sizing uses non-virtual columns. No new unsafe, ambient IO, execution, or dependencies. Extension, macros and parser source unchanged; manifests update package and sibling versions only."
notes = "Reviewed complete published package diff. Source files are byte-identical; only Cargo.toml, Cargo.lock, and .cargo_vcs_info.json release metadata changes. No runtime, unsafe, host access, or build-script changes."

[[audits.twox-hash]]
who = "Mykhailo Chalyi <mike@chaliy.name>"
Expand Down
Loading