Skip to content

Releases: aileron-inc/activerecord-libsql

v0.1.8

30 Mar 07:31
797dc4c

Choose a tag to compare

Fixed

  • SQLite3::BusyException: database is locked when Solid Queue forks multiple workers
    • LocalConnection now sets PRAGMA journal_mode=WAL and PRAGMA busy_timeout=5000 on open.
    • Fixes concurrent write failures when multiple forked Solid Queue workers share the same .sqlite3 file.

Added

  • rake turso:check — verifies connection, INSERT, SELECT, datetime comparison, and transaction for all configured databases. Run after installation to confirm everything works.
  • Embedded Replica fork tests — 4 new examples in solid_queue_fork_spec.rb directly reproducing the database is locked scenario.

Infrastructure

  • activerecord-libsql.gemspec: lib/**/*.rake now included in gem files (fixes missing turso:check task after install).
  • lib/activerecord/libsql/railtie.rb: fixed rake file load path.

See CHANGELOG for full details.