Skip to content

Bind website bootstrap pages to selected site#67

Merged
cbusillo merged 1 commit into
mainfrom
fix-website-bootstrap-page-binding
Jun 13, 2026
Merged

Bind website bootstrap pages to selected site#67
cbusillo merged 1 commit into
mainfrom
fix-website-bootstrap-page-binding

Conversation

@cbusillo

Copy link
Copy Markdown
Owner

Summary

  • bind discovered website bootstrap pages to the selected website and verify the write
  • bind page backing views when Odoo exposes website_id, lower selected site sequence, and reclaim exact URL pages left on stale websites
  • add post-deploy readback markers for page/view binding and document the bootstrap behavior

Why

The current CM testing deploy proves the Launchplane payload is complete, but the public page still advertises My Website, /website/1/logo/My Website, and a localhost canonical. This narrows the issue to Odoo runtime identity persistence. This PR makes the shared bootstrap helper mutate and verify the records public rendering is likely using, then prints markers that distinguish payload rendering from persisted website/page/view identity.

Validation

  • uv run ruff format --check docker/scripts/odoo_website_bootstrap.py tests/test_odoo_website_bootstrap.py
  • uv run ruff check docker/scripts/odoo_website_bootstrap.py tests/test_odoo_website_bootstrap.py --diff
  • uv run ruff check docker/scripts/odoo_website_bootstrap.py tests/test_odoo_website_bootstrap.py
  • uv run mypy docker/scripts/odoo_website_bootstrap.py
  • uv run python -m unittest tests.test_odoo_website_bootstrap tests.test_odoo_data_workflows tests.test_odoo_startup
  • uv run python -m unittest discover -s tests (141 tests)

Review agents checked the first pass. Their actionable gaps around stale page binding, sequence coverage, and readback coverage were addressed here. The cache concern is mitigated by Launchplane stopping web during post-deploy maintenance before restarting it.

@cbusillo cbusillo merged commit ccbeb63 into main Jun 13, 2026
4 checks passed
@cbusillo cbusillo deleted the fix-website-bootstrap-page-binding branch June 13, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant