Skip to content

Preserve VFS exceptions during SQLite open - #7151

Open
jtolio wants to merge 1 commit into
jolio/tag-sqlite-e-3ybjsgfrom
jolio/preserve-vfs-r2y25y
Open

Preserve VFS exceptions during SQLite open#7151
jtolio wants to merge 1 commit into
jolio/tag-sqlite-e-3ybjsgfrom
jolio/preserve-vfs-r2y25y

Conversation

@jtolio

@jtolio jtolio commented Aug 27, 2026

Copy link
Copy Markdown
Member

Capture directory VFS exceptions raised by sqlite3_open_v2() and rethrow the original exception with its stack instead of replacing it with SQLite's generic open error.

@jtolio
jtolio requested review from a team as code owners August 27, 2026 20:21
@ask-bonk

ask-bonk Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

LGTM!

github run

@jtolio
jtolio force-pushed the jolio/preserve-vfs-r2y25y branch from 7901177 to 72111fc Compare August 27, 2026 20:23

@shrima-cf shrima-cf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jtolio
jtolio force-pushed the jolio/preserve-vfs-r2y25y branch from 72111fc to 1c734df Compare August 28, 2026 14:11
@codecov-commenter

codecov-commenter commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (jolio/tag-sqlite-e-3ybjsg@701b3b2). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/workerd/util/sqlite-test.c++ 80.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@                     Coverage Diff                      @@
##             jolio/tag-sqlite-e-3ybjsg    #7151   +/-   ##
============================================================
  Coverage                             ?   35.86%           
============================================================
  Files                                ?      812           
  Lines                                ?   258923           
  Branches                             ?    19576           
============================================================
  Hits                                 ?    92858           
  Misses                               ?   154995           
  Partials                             ?    11070           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Capture directory VFS exceptions raised by sqlite3_open_v2()
and rethrow the original exception with its stack instead of
replacing it with SQLite's generic open error.
@jtolio
jtolio force-pushed the jolio/preserve-vfs-r2y25y branch from 1c734df to 2720e61 Compare August 28, 2026 15:34
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.

3 participants