Skip to content

Honor shared addon install intent in tenant validation - #454

Merged
shiny-code-app[bot] merged 3 commits into
mainfrom
work/partnum185-support-selection
Nov 20, 2026
Merged

shiny-code-app[bot] merged 3 commits into
mainfrom
work/partnum185-support-selection

Conversation

@shiny-code-app

@shiny-code-app shiny-code-app Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

The full tenant addon runner explicitly installed every addon in the shared checkout. OPW's normal CI therefore enabled optional product numbering before adoption and failed its unchanged SKU tests.

Reuse the normal runtime selector to seed full tenant validation with all declared artifact startup modules and the existing platform requirements. Odoo installs transitive dependencies as usual. The owned tests, the complete available checkout, the installed-module readback, the build gates and the Devkit live fixture stay in place. Shared CI independently installs and runs its full addon set.

The runner regression fails on current main because an unselected optional module appears in Odoo's explicit install list. It also protects platform and native startup modules, owned test tags, and shared source staging. Devkit #116 and original implementation #188 define the full owned suite and independent shared coverage. The original runner installed all support sources explicitly. This change ties full compatibility to the installation roots the product actually declares.

Resolves #453. Refs https://github.com/cbusillo/odoo-tenant-opw/issues/664.

Client test notes

Nothing for the Client to test: this repairs disposable CI test database assembly. The same full OPW Build, serving preview and separate synthetic coexistence fixture are the verification.

Removed: blanket activation of every shared addon in tenant CI and duplicated runtime selection steps.

Net lines: +145. The added regression protects the runner command, all startup roots and the full test selection. The runner and artifact publication share the module-intent resolver.

@shiny-code-app

Copy link
Copy Markdown
Contributor Author

Review result: weighed
Head: ca7b4ef

Independent Anthropic Claude Opus 5.5 review read the original #116 record and #188 pull request, the original install behavior and its docs. Those records protect all owned addon suites, real isolated Odoo testing, failure gates, and independent shared CI. They specify shared addons as tenant dependencies. The old explicit install of the entire support checkout gave additional incidental co-install coverage. It was never recorded as a required OPW configuration. Current owned tests and declared and transitive module installation remain required. The real OPW coexistence trial is separate.

The first review prompted sharing the production selection code, moving selection into the result-recording boundary, and covering non-dependency startup modules in the runner regression. The historical review then found that Odoo warns and ignores an unknown startup root, confirmed on the pinned native Odoo 20 source. The final head reads the module registry from its own disposable Postgres database, records requested and installed names, and fails if any requested root is missing. A new regression uses a passing Odoo summary and a missing registry entry to exercise that failure. Existing focused local paths still use their selected addon directory, and all normal product workflows use their full owned source.

@shiny-code-app

Copy link
Copy Markdown
Contributor Author

Ready for the merge train

Head: ca7b4ef

@shiny-code-app

shiny-code-app Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Launchplane completed the merge-train step for this pull request.

Launchplane finished the merge-train step for this pull request.

Launchplane manages this comment and will update it as the train moves.

shiny-code-app Bot added a commit that referenced this pull request Nov 20, 2026
@shiny-code-app
shiny-code-app Bot merged commit 8dd691e into main Nov 20, 2026
6 checks passed
@shiny-code-app
shiny-code-app Bot deleted the work/partnum185-support-selection branch November 20, 2026 22:14
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.

Use product module intent in full tenant addon validation

0 participants