Skip to content

fix(addons): run an add-on only on the module it was set up for - #537

Merged
Panelica merged 1 commit into
Panelica:mainfrom
ertugrulkeyvan:fix/addon-fulfilment-expected-module
Nov 30, 2026
Merged

Panelica merged 1 commit into
Panelica:mainfrom
ertugrulkeyvan:fix/addon-fulfilment-expected-module

Conversation

@ertugrulkeyvan

Copy link
Copy Markdown
Contributor

A product add-on records the module it expects ("Expected module", e.g. panelica), but the executor never compared it with the service's own module. An add-on written for one module was sent to whatever module ran the service, where the same operation and parameter can mean something else.

A mismatch now ends as Unsupported, with a message naming both modules, before anything is sent. The comparison ignores case. An empty field keeps the current behaviour.

Unrelated, seen while testing: it does not auto-resume a failed execution from enqueueApply in AddonExecutorTest fails on main as well.

A product add-on records the module it expects ("Expected module", e.g.
panelica), but the executor never compared it with the service's own
module: an add-on written for one module was sent to whatever module ran
the service, where the same operation and parameter can mean something
else. A mismatch now ends as Unsupported with a message naming both
modules. An empty field keeps the current behaviour.
@Panelica
Panelica merged commit 3ace2b4 into Panelica:main Nov 30, 2026
1 check passed
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.

2 participants