videogen/docs/planning/WAVE-P-MIGRATIONS.md
caelum0x d56639a594
Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Menivor — open source release (MIT), free to use and fork
Paid, hosted product at menivor.com, now retired as a company project.
Fresh squashed history of the cleaned working tree (secret-scanned,
no .env, no customer data, no outreach logs). Built on
MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2026-12-04 02:10:26 +03:00

64 lines
3.3 KiB
Markdown

# Wave P Alembic chain (Menivor lane)
Owner: the PM steward of each sub-wave (PM1.0, PM2.0, PM3.0). Packages add rows;
nobody else edits this file.
Rules:
- One head after every package. `tests/reelforge/test_wp_pm1_0_steward.py`
parses the table below and checks every `landed` row against
`migrations/versions/`: the revision exists, its `down_revision` matches the
row, and the graph has exactly one head.
- Each migration is idempotent (checks the inspector before creating a table,
column or index) and is applied only to a scratch local database during the
wave. Production runs happen at deploy under the standing deploy approval.
- A reserved id that a package does not need is marked `skipped`; the next
package points its `down_revision` at the current head instead.
Head before Wave P: `d8e1f3a5c7b9` (Wave E M-4 funnel attribution).
| Package | Revision | down_revision | File | Status |
|---|---|---|---|---|
| PM1.2 | none | - | - | no migration (preset runs are read from job rows) |
| PM1.3 | e2a4c6d8f0b1 | d8e1f3a5c7b9 | 20260930_0900_e2a4c6d8f0b1_gallery_items.py | landed |
| PM1.4 | f3b5d7e9a1c2 | e2a4c6d8f0b1 | 20260930_1000_f3b5d7e9a1c2_character_hub.py | landed |
| PM1.5 | a4c6e8f0b2d3 | f3b5d7e9a1c2 | 20260930_1100_a4c6e8f0b2d3_railyard_meter_outbox.py | landed |
## P2 (PM2.0 steward)
Head before P2: `a4c6e8f0b2d3` (PM1.5 Railyard meter outbox).
`a9c1e3f5b7d2` (landed with the P-M3 hand-off, recorded under PM2.0) widens
`characters.identity_key` to 80 characters: closing P-M3 on Postgres showed
that a real-face character (a `v2|` key, 67 characters) could not be saved.
| Package | Revision | down_revision | File | Status |
|---|---|---|---|---|
| PM2.0 | a9c1e3f5b7d2 | a4c6e8f0b2d3 | 20260930_2300_a9c1e3f5b7d2_character_identity_key_width.py | landed |
| PM2.1 | none | - | - | no migration (story and upscale runs are job rows) |
| PM2.2 | none | - | - | no migration (apps and scenes are preset files and job rows) |
| PM2.3 | b1d3f5a7c9e2 | a9c1e3f5b7d2 | 20261001_0900_b1d3f5a7c9e2_ott_catalog.py | landed |
| PM2.4 | c2e4a6b8d0f3 | b1d3f5a7c9e2 | 20261001_1000_c2e4a6b8d0f3_ott_transcode.py | landed |
| PM2.5 | d3f5b7c9e1a4 | c2e4a6b8d0f3 | - | skipped (sessions live in Redis; keys landed in PM2.4) |
## P3 (PM3.0 steward)
Head before P3: `c2e4a6b8d0f3` (PM2.4 OTT transcode; PM2.5 skipped its slot).
| Package | Revision | down_revision | File | Status |
|---|---|---|---|---|
| PM3.0 | e5b7d9f1a3c6 | c2e4a6b8d0f3 | 20261002_0900_e5b7d9f1a3c6_preset_drops.py | landed |
| PM3.1 | f6c8e0a2b4d7 | e5b7d9f1a3c6 | 20261002_1000_f6c8e0a2b4d7_ott_viewers.py | landed |
| PM3.2 | a7d9f1b3c5e8 | f6c8e0a2b4d7 | 20261002_1100_a7d9f1b3c5e8_ott_commerce.py | landed |
| PM3.3 | none | - | - | no migration (the TV app reads the viewer and playback APIs) |
| PM3.4 | b8e0a2c4d6f9 | a7d9f1b3c5e8 | 20261002_1200_b8e0a2c4d6f9_ott_live.py | landed |
| PM3.5 | c9f1b3d5e7a0 | b8e0a2c4d6f9 | 20261002_1300_c9f1b3d5e7a0_ott_analytics.py | landed |
## Wave Q (QM1.0 steward)
Head before Wave Q: `c9f1b3d5e7a0` (PM3.5 OTT analytics).
| Package | Revision | down_revision | File | Status |
|---|---|---|---|---|
| QM1.0 | d1a3c5e7f9b2 | c9f1b3d5e7a0 | 20261003_0900_d1a3c5e7f9b2_ott_ad_events_invites.py | landed |
| QM1.2 | e2b4d6f8a0c3 | d1a3c5e7f9b2 | 20261003_1000_e2b4d6f8a0c3_ott_upload_checks.py | landed |