Skip to content

Add SQLite as a first-class worker backend - #145

Merged
vitormattos merged 4 commits into
mainfrom
feat/sqlite-worker-backend
Oct 4, 2026
Merged

vitormattos merged 4 commits into
mainfrom
feat/sqlite-worker-backend

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

Implement the SQLite branch of the worker contract introduced by #140/#144.

Changes

  • install pdo_sqlite in all supported PHP development images;
  • allow DB_TYPE=sqlite in dev-worker;
  • install Nextcloud with the SQLite driver;
  • avoid starting the network database service for SQLite workers;
  • keep the SQLite database inside each worker's isolated Nextcloud filesystem;
  • add worker contract coverage for SQLite;
  • add a real CI integration job that builds the PHP 8.3 image, starts two SQLite workers, verifies pdo_sqlite, writes conflicting Nextcloud-visible state and confirms isolation;
  • document the non-interactive SQLite lifecycle.

Compatibility

MySQL remains the default. PostgreSQL and the legacy DB_HOST=pgsql path remain supported.

MariaDB remains intentionally reserved for #142.

Validation

  • commit created through the signed Git MCP;
  • DCO trailer matches the configured identity;
  • GitHub reports the OpenPGP signature as verified;
  • CI will exercise Compose rendering, shell checks, image build and the two-worker SQLite integration.

Closes #141

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit 40bc7d3 into main Oct 4, 2026
9 checks passed
@vitormattos
vitormattos deleted the feat/sqlite-worker-backend branch October 4, 2026 03:08
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.

Add SQLite as a first-class database backend

1 participant