Objective
Add an explicit, issue-backed Launchplane policy signal for Odoo lanes that are safe to rebuild before launch, instead of relying on environment names or informal operator memory.
Desired Policy
For CM:
cm/testing: allow empty stable bootstrap.
cm/prod: allow empty stable bootstrap while CM prod is not active/authoritative yet.
- Both lanes should remain issue-backed so the permission is auditable and easy to retire when CM launches.
For OPW:
opw/testing: allow restore from the current upstream/non-Docker source while OPW has not cut over.
opw/prod: allow restore from the current upstream/non-Docker source while OPW prod is not yet authoritative in Launchplane.
- Both lanes should be issue-backed and expire/retire when OPW launches on Launchplane-managed prod.
Why
The current odoo_stable_bootstrap profile policy is disabled for odoo-tenant-cm cm/testing, so Odoo Stable Bootstrap is correctly rejected even though CM testing/prod are currently inactive and intended to be rebuildable.
Recent evidence:
Scope
- Add/enable a Launchplane-owned policy signal for specific prelaunch Odoo lanes.
- Store/link the policy to this issue or an explicit issue reference so the operator approval is visible in records/read models.
- Permit CM empty bootstrap for both testing and prod while they are inactive/prelaunch.
- Permit OPW restore-from-upstream for both testing and prod while Launchplane-managed prod is not authoritative.
- Preserve fail-closed defaults for unknown lanes and real production lanes.
- Make the policy easy to retire when CM or OPW launches.
Acceptance Criteria
- CM
testing and prod read models show they are provisional/prelaunch and empty-bootstrap allowed, with this issue as the approval signal.
- OPW
testing and prod read models show they are provisional/prelaunch and restore-from-upstream allowed, with this issue as the approval signal.
Odoo Stable Bootstrap for CM testing is accepted only when the issue-backed policy is present and the confirmation phrase matches.
- Real production lanes still reject destructive bootstrap/recreate/restore without appropriate backup/restore proof.
- Tests cover CM empty bootstrap allow, OPW upstream restore allow, issue reference requirement, and default refusal for unmarked lanes.
- Docs explain that instance names like
prod are not authority by themselves; the issue-backed lane policy is the authority until launch/cutover.
Related
Objective
Add an explicit, issue-backed Launchplane policy signal for Odoo lanes that are safe to rebuild before launch, instead of relying on environment names or informal operator memory.
Desired Policy
For CM:
cm/testing: allow empty stable bootstrap.cm/prod: allow empty stable bootstrap while CM prod is not active/authoritative yet.For OPW:
opw/testing: allow restore from the current upstream/non-Docker source while OPW has not cut over.opw/prod: allow restore from the current upstream/non-Docker source while OPW prod is not yet authoritative in Launchplane.Why
The current
odoo_stable_bootstrapprofile policy is disabled forodoo-tenant-cmcm/testing, soOdoo Stable Bootstrapis correctly rejected even though CM testing/prod are currently inactive and intended to be rebuildable.Recent evidence:
artifact-cm-d86025a089905522c80c291ee9221ad728a2d536105a13864bf8687ddeployment-20260510T181714Z-cm-testingtruepass/web/health,/, and/cell-mechanic./web/image/website/1/logoremains 404, and the intended next repair is stable bootstrap/logo bootstrap.Odoo Stable Bootstrapwas attempted with confirmationbootstrap cm testing: https://github.com/cbusillo/launchplane/actions/runs/25636213212odoo_stable_bootstrap.enabled=falseforodoo-tenant-cmcm/testingScope
Acceptance Criteria
testingandprodread models show they are provisional/prelaunch and empty-bootstrap allowed, with this issue as the approval signal.testingandprodread models show they are provisional/prelaunch and restore-from-upstream allowed, with this issue as the approval signal.Odoo Stable Bootstrapfor CMtestingis accepted only when the issue-backed policy is present and the confirmation phrase matches.prodare not authority by themselves; the issue-backed lane policy is the authority until launch/cutover.Related