Fix packaging: ship the full backend tree (0.1.0:46)
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>
This commit is contained in:
@@ -6,8 +6,9 @@ import { v_0_1_0_42 } from './v0.1.0.42'
|
||||
import { v_0_1_0_43 } from './v0.1.0.43'
|
||||
import { v_0_1_0_44 } from './v0.1.0.44'
|
||||
import { v_0_1_0_45 } from './v0.1.0.45'
|
||||
import { v_0_1_0_46 } from './v0.1.0.46'
|
||||
|
||||
export const versionGraph = VersionGraph.of({
|
||||
current: v_0_1_0_45,
|
||||
other: [v_0_1_0_39, v_0_1_0_40, v_0_1_0_41, v_0_1_0_42, v_0_1_0_43, v_0_1_0_44],
|
||||
current: v_0_1_0_46,
|
||||
other: [v_0_1_0_39, v_0_1_0_40, v_0_1_0_41, v_0_1_0_42, v_0_1_0_43, v_0_1_0_44, v_0_1_0_45],
|
||||
})
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
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 () => {},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user