bdf9bec4ff
The image COPY'd backend/server.py + a few subdirs but missed core_migrations.py,
backend/migrations/, and the Phase-1 modules (thesis_review/entity_merge/
entity_jobs). On the box the migrations never ran (tables absent) and those
endpoints 503'd ("Jobs unavailable"). Now COPY backend wholesale (.dockerignore
keeps __pycache__/data out). Bump to 0.1.0:46.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
30 lines
1.3 KiB
TypeScript
30 lines
1.3 KiB
TypeScript
import { VersionInfo } from '@start9labs/start-sdk'
|
|
|
|
// Packaging fix for 0.1.0:45.
|
|
//
|
|
// 0.1.0:44/:45 shipped a Dockerfile that COPY'd backend/server.py and a few
|
|
// subdirs piecemeal, but MISSED backend/core_migrations.py, the backend/migrations/
|
|
// dir, and the Phase-1 modules (thesis_review/entity_merge/entity_jobs). Result on
|
|
// the box: the in-app schema migrations never ran (the new tables were absent) and
|
|
// the thesis / index-job endpoints returned 503 ("Jobs unavailable"). The index
|
|
// build also could not run (canonical tables missing). This release COPYs the whole
|
|
// backend tree, so the migrations run on boot and all endpoints work. No data
|
|
// migration; the live /data volume is preserved.
|
|
export const v_0_1_0_46 = VersionInfo.of({
|
|
version: '0.1.0:46',
|
|
releaseNotes: {
|
|
en_US: [
|
|
'Fix: the container image was missing the migration runner, the migrations',
|
|
'directory, and the Phase-1 backend modules, so the new tables never got',
|
|
'created and the thesis / index-job features were unavailable on the server.',
|
|
'The image now ships the full backend; migrations run on boot (additively —',
|
|
'your data is preserved) and the thesis, duplicate-review, and index actions',
|
|
'work.',
|
|
].join(' '),
|
|
},
|
|
migrations: {
|
|
up: async () => {},
|
|
down: async () => {},
|
|
},
|
|
})
|