Skip to content

Bump parsers and add failed-to-parse and CI-practice badges#20

Merged
LucaCappelletti94 merged 2 commits into
mainfrom
bump-parsers-and-badges
Jun 11, 2026
Merged

Bump parsers and add failed-to-parse and CI-practice badges#20
LucaCappelletti94 merged 2 commits into
mainfrom
bump-parsers-and-badges

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Owner

Updates the benchmarked parsers to their latest versions (polyglot-sql 0.4.4 to 0.5.1, sqlglot-rust 0.10.0 to 0.10.1, and sqlparser-rs to its current git commit), wires the new release points into the time machine, and fixes the hardcoded version table so the snapshot labels match the linked code. pg_query and orql had no new code, and turso_parser stays on 0.6.1 because the only newer release is a prerelease.

Adds a failed-to-parse badge to each parser page showing how many statements it rejected that it was expected to accept, summed across every dialect, plus three CI-practice badges (cargo deny, cargo audit, cargo mutants) mined from each repository. As of this snapshot turso is the only parser running cargo deny, and only its licenses check, and none run cargo audit or cargo mutants.

Regenerates the benchmark snapshot and the time-machine history.

Update the benchmarked parsers to their latest versions: polyglot-sql 0.4.4 to 0.5.1, sqlglot-rust 0.10.0 to 0.10.1, and the git-tracked sqlparser-rs to its current commit (b376022). pg_query and orql had no new code, and turso_parser stays on 0.6.1 since the only newer release is a prerelease. Add the new release points (polyglot-sql 0.5.1, sqlglot-rust 0.10.1) to the time machine and fix the hardcoded current_version table so the snapshot labels match the linked code.

Add a failed-to-parse badge to each parser page showing how many statements it rejected that it was expected to accept, summed across every dialect, read from the failure totals already in the bundle.

Add three CI-practice badges per parser: cargo deny, cargo audit, and cargo mutants, mined from each repository CI. turso is the only parser running cargo deny (its licenses check only) and none run cargo audit or cargo mutants.

Regenerate the benchmark snapshot and the time-machine history to reflect the new versions.
The coverage job has failed since the time machine landed because timemachine links several sqlglot-rust versions side by side, each exporting the same unmangled extern C FFI symbols, which collide at link time once tarpaulin disables dead-code stripping. timemachine has no unit tests of its own, so excluding it restores a green, meaningful coverage run with no loss.
@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.59%. Comparing base (b3207e4) to head (4df4c2d).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
src/lib.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
- Coverage   46.53%   39.59%   -6.95%     
==========================================
  Files          17       23       +6     
  Lines        1906     2546     +640     
==========================================
+ Hits          887     1008     +121     
- Misses       1019     1538     +519     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LucaCappelletti94 LucaCappelletti94 merged commit 5f7fb50 into main Jun 11, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant