Skip to content

Harden startup shell runtime defaults#54

Merged
cbusillo merged 1 commit into
mainfrom
fix-startup-launchplane-shell
May 31, 2026
Merged

Harden startup shell runtime defaults#54
cbusillo merged 1 commit into
mainfrom
fix-startup-launchplane-shell

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • normalize /opt/launchplane/addons into startup-generated Odoo config so shell phases can load launchplane_runtime_health
  • skip admin hardening when the configured admin login is absent in a restored tenant database
  • document the startup/runtime behavior and add regression tests

Tests

  • uv run python -m unittest tests.test_odoo_startup
  • uv run ruff check --diff README.md docker/scripts/run_odoo_startup.py tests/test_odoo_startup.py
  • uv run ruff check README.md docker/scripts/run_odoo_startup.py tests/test_odoo_startup.py
  • uv run ruff format --check docker/scripts/run_odoo_startup.py tests/test_odoo_startup.py
  • uv run python -m unittest discover -s tests
  • git diff --check

Note: README.md was excluded from ruff format because this repo's Ruff reports Markdown formatting as experimental unless preview mode is enabled.

@cbusillo cbusillo merged commit e8ff2f2 into main May 31, 2026
4 checks passed
@cbusillo cbusillo deleted the fix-startup-launchplane-shell branch May 31, 2026 03:06
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