Skip to content

ChaosSQL v1.2.0 — Bilingual Docs Hub, Trace Visualizer & OASIS SARIF 2.1.0

Choose a tag to compare

@bregaldahq bregaldahq released this 05 Sep 12:39
· 277 commits to main since this release

What's New in ChaosSQL v1.2.0

🌐 Bilingual Documentation Hub (chaossql.bregalda.com)

  • Segmented Pill Switcher [ PT | EN ]: Seamless instant switching between Portuguese and English across 100% of the portal without page reloads.
  • 8 Comprehensive Technical Chapters: Quickstart Guide, chaos.yaml DSL specification, complete CLI reference (9 subcommands, 12 flags), Trace Visualizer, CI/CD SARIF 2.1.0 & GitHub Actions, Database Drivers (Pure Go SQLite, PostgreSQL pgx, MySQL), Go SDK (pkg/chaostest), and Formal Concurrency Theory.
  • Hermitage Isolation Matrix: Empirical isolation anomaly matrix across SQLite, PostgreSQL, and MySQL.

🖥️ Interactive Trace Visualizer (chaossql ui)

  • Embedded microsecond-resolution Gantt swimlane inspector for concurrent workers.
  • Interactive SVG Adya Direct Serialization Graph (DSG) with pulsing conflict cycles ($rw, ww, wr$).
  • Side-by-side comparison of noisy raw execution traces vs 1-minimal reproductions via Causal Delta-Debugging ($ddmin$).
  • Deep statement inspector displaying dynamic variables, latencies, and invariant evaluations.

🛡️ OASIS SARIF 2.1.0 & GitHub Code Scanning

  • Standardized OASIS SARIF 2.1.0 export (--export-sarif) for native display in GitHub Security / Code Scanning alerts (CWE-362).
  • Complete GitHub Action (action.yml) for automated pull request quality gates.
  • Formally mapped SARIF rule catalog covering CHAOS001 through CHAOS009.

🔬 10 Flagship Concurrency Scenarios & Production Fixes

  • Added 10th flagship scenario: Foreign Key Cascade Deadlock ($G\text{-DL}$) with referential lock hierarchy inversion.
  • Added dedicated "Production Fix & Database Mitigation" guidance with battle-tested SQL for all 10 scenarios (atomic updates, guarded decrements, SSI, OCC monotonic versioning, canonical lock ordering).

⚡ Performance & Core Engine

  • Zero CGO dependencies (modernc.org/sqlite) achieving 13.9M ops/sec with cross-platform portability.
  • Strict deterministic replay convergence: identical PRNG seed guarantees identical concurrency interleaving.