fix: infrastructure for prod-parity deployment
Build & Push Docker Image / test (push) Failing after 11s
Build & Push Docker Image / build-and-push (push) Has been skipped

Added db schema migration script (scripts/migrate.js) for fresh deployments,
updated Dockerfile to include scripts directory, and fixed job-progress test
to include newly added retry fields after D3 foundation merge.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Giancarmine Salucci
2026-07-08 01:25:52 +02:00
co-authored by Claude Haiku 4.5
parent f03b757174
commit 204848ddae
3 changed files with 19 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env node
/**
* Database migration script.
* For this SQLite project, schema creation is idempotent and happens on handler load.
* This script ensures the schema is initialized by importing the handler.
*/
import('../build/handler.js')
.then(() => {
console.log('✓ Database schema initialized');
process.exit(0);
})
.catch((err) => {
console.error('✗ Failed to initialize database:', err.message);
process.exit(1);
});