tursodatabase
turso
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Fix B-tree overflow cell index bug in validation code
nightscape:fix-btree-overflow-logic
34 minutes ago
Allow recursive CTEs in (MATERIALIZED) VIEWs Address PR review feedback for recursive CTE support State machine for recursive CTE population: - Add CollectingRecursiveCteData and ExecutingRecursiveCircuit states - Properly save/restore state across I/O yields during table collection - Fix re-entrancy issue where I/O interrupts would lose collected data Unify dependency tracking: - Remove redundant view_to_dependent_views map from Schema - Use table_to_materialized_views for both table and view dependencies - Materialized views are conceptually tables, no need for separate tracking - Delete ~20 lines of duplicate registration and cleanup code Add CTE operator chaining tests: - matview-recursive-cte-projection: SELECT subset of columns from CTE - matview-recursive-cte-filter: WHERE clause after recursive CTE - matview-recursive-cte-aggregation: GROUP BY/COUNT on CTE output - matview-recursive-cte-join-external: JOIN CTE with another table Minor improvements: - Add cross-reference comment in filter_new_rows for hash collision docs
nightscape:recursive-matviews
34 minutes ago
test: Add LEFT JOIN and CROSS JOIN support to simulator Add varied JOIN type generation: - INNER JOIN: 70% probability (existing behavior) - LEFT JOIN: 20% probability (new) - CROSS JOIN: 10% probability (new) Implement shadow model for new join types: - LEFT JOIN: preserves all left table rows, NULLs for unmatched right - CROSS JOIN: cartesian product without filtering - RIGHT/FULL: intentionally not generated (panic if encountered) Both sql_generation crate and simulator model/mod.rs have the shadow implementations to ensure consistency.
nightscape:enhance-simulator
34 minutes ago
add tpch snapshot tests
pedrocarlo:tpch-snapshot
2 hours ago
Merge 'page cache: fix aggressive spilling logic' from Preston Thorpe closes #4876 Also adds a small optimization: in `collect_spillable_pages` we gathered a `Vec<(usize, PinGuard)>` because we needed to sort the pages, then `.collect()`ed another Vec, when we should have just sorted by `page.get().id` Reviewed-by: Nikita Sivukhin (@sivukhin) Closes #4878
main
3 hours ago
Merge 'test runner: Snapshot testing' from Pedro Muniz Depends on #4868 and #4865 and https://github.com/tursodatabase/turso/pull/4884 Introduce `cargo-insta` compatible snapshot testing for the test runner. For now, it appends an Explain to the SQL query and saves that to `.snap` file like Insta. I wanted to have it be compatible with `cargo- insta`, so we could use their excellent CLI to review the snapshots and accept them. Example for reviewing with `cargo insta review` <img width="1392" height="830" alt="image" src="https://github.com/user- attachments/assets/a54c8729-e392-4461-adbc-edb90c3feaeb" /> I wanted to do some changes to the VDBE and I wanted to have some testing to make sure I was not modifying or regressing some behaviour, and its very hard to just compare Explain's by hand. Extend parser and snapshotting functionality Reviewed-by: Mikaël Francoeur (@LeMikaelF) Closes #4867
main
3 hours ago
Merge 'Fix bug in hash join table mask calculations' from Jussi Saurio A bug in `build_materialized_build_input_plan` caused both the hash build materialization subplan and the main plan to drop a join constraint so it was never evaluated -> too many rows returned. The bug was that the table masks between "what we don't evaluate in subplan" vs "what we don't evaluate in main plan" were not symmetrical. I actually introduced this bug in #4885 when fixing another hash-join related bug :) --- Also contains a join-reordering optimization which i decided to leave in this PR, because I originally thought it fixed the bug, but it only stopped it from happening in my specific error case (see regression test in this commit) Closes #4901
main
3 hours ago
pass encryption ctx correctly
avinassh:local-dart-encryption
3 hours ago
Active Branches
Fix materialized view re-entrancy bug
last run
34 minutes ago
#4084
CodSpeed Performance Gauge
-30%
ivm: Allow views with CTEs, including recursive ones
last run
34 minutes ago
#4412
CodSpeed Performance Gauge
0%
test: Make simulator work for materialized views
last run
34 minutes ago
#4520
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs