Release module metadata locks before Odoo - #95
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Live canary evidence
On July 30, 2026,
odoo-tenant-cm-websitePR #65 reached the real Odoo-u launchplane_settings,cm_website,disable_odoo_onlinecommand with the correct artifact, addon paths, and filestore environment. PostgreSQL then timed out onALTER TABLE ir_module_modulebecause the parent data-workflow process still held its metadata-query transaction open on the same table.Closing the cached connection before the child process releases that
AccessShareLockand prevents the workflow from blocking its own DDL. This is a shared devkit runtime defect proven by the preview canary; no tenant workaround is included.Validation
uv run python -m unittest discover -s tests— 227 tests passed, 1 expected skipuv run ruff check .passeduv run ruff format --check .passeduv buildpasseduv run platform --helppassedJetBrains inspection was attempted twice but remained tooling-unknown because the helper could not establish a content root (
project_content_roots_missing); it reported no code finding. The helper-generated.ideachanges were removed.Related to #94, cbusillo/launchplane#1898, and cbusillo/odoo-tenant-cm-website#6. Keep #94 open until the merged devkit revision passes the final two-revision website preview canary.