Skip to content

Tag SQLite errors with SENTRY_DO - #7150

Open
jtolio wants to merge 2 commits into
jolio/instrument-l-lziro4from
jolio/tag-sqlite-e-3ybjsg
Open

Tag SQLite errors with SENTRY_DO#7150
jtolio wants to merge 2 commits into
jolio/instrument-l-lziro4from
jolio/tag-sqlite-e-3ybjsg

Conversation

@jtolio

@jtolio jtolio commented Aug 27, 2026

Copy link
Copy Markdown
Member

Prefix existing SQLite open and VFS exception descriptions so they are routed to the Durable Objects Sentry project without changing exception control flow.

@jtolio
jtolio requested review from a team as code owners August 27, 2026 20:19
@jtolio
jtolio force-pushed the jolio/tag-sqlite-e-3ybjsg branch from 2dfa4cf to cf5f0bf Compare August 27, 2026 20:20
@ask-bonk

ask-bonk Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@jtolio
jtolio force-pushed the jolio/tag-sqlite-e-3ybjsg branch from cf5f0bf to 76f670b Compare August 27, 2026 20:23
}
};

KJ_TEST("SQLite open errors are tagged for DO Sentry") {

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.

There are already test cases fro SQLITE_NOMEM, could you add the SENTRY_DO text to that as well to verify that code path?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

good point, added more test coverage

@jtolio
jtolio force-pushed the jolio/tag-sqlite-e-3ybjsg branch from ca279c0 to 701b3b2 Compare August 28, 2026 15:34
@jtolio
jtolio requested a review from shrima-cf August 28, 2026 15:59
@jtolio
jtolio force-pushed the jolio/tag-sqlite-e-3ybjsg branch from 701b3b2 to 86520ca Compare August 29, 2026 03:57
@jtolio
jtolio changed the base branch from main to jolio/instrument-l-lziro4 August 29, 2026 04:00
jtolio added 2 commits August 29, 2026 00:06
Prefix existing SQLite open and VFS exception descriptions so they
are routed to the Durable Objects Sentry project without changing
exception control flow.
@jtolio
jtolio force-pushed the jolio/tag-sqlite-e-3ybjsg branch from 86520ca to bc9a0fb Compare August 29, 2026 04:06
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.

2 participants