test(cloud-store): verify repository contracts

This commit is contained in:
2026-07-12 17:11:10 +08:00
parent 7f5f740e2a
commit 52d2a86a4c
2 changed files with 167 additions and 1 deletions
@@ -13,7 +13,7 @@
- [x] 2.3 Add PostgreSQL and SQLite database URL support with engine/session lifecycle owned by the cloud application.
- [x] 2.4 Add Alembic configuration and a baseline migration that preserves existing host, device, task, and plugin data while adding lease/attempt/result fields.
- [x] 2.5 Add forward/downgrade migration tests and schema-version readiness checks.
- [ ] 2.6 Run repository contract tests against SQLite and PostgreSQL, including rollback and process-restart cases.
- [x] 2.6 Run repository contract tests against SQLite and PostgreSQL, including rollback and process-restart cases.
## 3. Lease-Backed Scheduling