Files
appwrite/tests/resources
Jake BarnbyandClaude Opus 4.7 7e25b4fad9 feat: wire SQLite database adapter for tests
SQLite gives e2e tests a single shared file across all containers without
needing a heavyweight MariaDB/MongoDB/PostgreSQL service. WAL + busy_timeout
keep multi-process writers tolerable. Memory adapter was considered but its
per-process PHP arrays don't survive Swoole worker fan-out or cross-container
queue handoffs, so file-backed SQLite is the practical choice.

- registers: add 'sqlite' scheme to pool factory and worker db register,
  configured with PRAGMA journal_mode=WAL, busy_timeout=5000, foreign_keys=ON
- compose: pass _APP_DB_SQLITE_PATH and mount appwrite-sqlite:/storage/sqlite
  on every service that touches the main DB
- .env: switch _APP_DB_ADAPTER to sqlite, drop mariadb from COMPOSE_PROFILES
- ci.yml: add SQLite to the e2e matrix alongside MongoDB so each service
  is timed against both adapters in the same workflow run

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 00:41:09 +12:00
..
2025-11-21 20:05:31 +05:30
2026-02-25 16:08:40 +05:30
2023-12-28 02:22:05 +00:00
2019-12-26 21:58:37 +02:00
2026-03-15 16:39:12 +00:00
2025-04-01 15:29:07 +02:00
2026-03-15 16:39:12 +00:00
2023-11-02 00:16:30 -04:00
2019-11-17 00:57:42 +02:00
2025-10-17 18:14:16 +05:30
2021-06-13 18:01:56 +03:00
2019-12-26 13:48:07 +02:00