Skip to content

Conversation

@dphuang2
Copy link
Collaborator

@dphuang2 dphuang2 commented Jan 15, 2026

  • fixes flaky DB locked errors in CI

Note

Improves SQLite robustness under lock contention and during initialization.

  • Adds connect_with_retry to ensure pragmas are applied even if initial connect() hits lock errors; closes partial connections and retries with backoff
  • Increases retry limits to SQLITE_RETRY_MAX_TRIES=10 and SQLITE_RETRY_MAX_TIME=60s
  • Replaces direct db.connect() with connect_with_retry in SqliteEventBusDatabase and SqliteEvaluationRowStore
  • Wraps create_tables(...) calls with execute_with_sqlite_retry to handle transient lock errors during schema creation

Written by Cursor Bugbot for commit 0843129. This will update automatically on new commits. Configure here.

@dphuang2 dphuang2 merged commit b42c27d into main Jan 16, 2026
17 checks passed
@dphuang2 dphuang2 deleted the increase-sql-retries branch January 16, 2026 18:30
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