What problem does it solve?
This Skill helps developers debug Turso databases by comparing bytecode, analyzing logs, and using ThreadSanitizer and deterministic simulation tools to identify root causes of behavior differences and corruption scenarios.
Core Features & Use Cases
- Bytecode comparison: Detect discrepancies between expected and actual bytecode and pinpoint code-generation or VM issues.
- Logging & instrumentation: Collect and correlate logs to reproduce failures in tests and production-like runs.
- ThreadSanitizer & deterministic simulation: Use sanitizers and replay-driven simulations to surface data races and threading bugs.
- Corruption analysis: Reproduce WAL and data-corruption scenarios with guided references and scripts for analysis.
Quick Start
Run a basic diagnostic by launching the Turso binary with a memory database and a simple query, for example: cargo run --bin tursodb :memory: 'SELECT 1+1;'