Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
The version field defines the version of the software the bug was found in. [ID: 1154637]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Change in [1] introduced x-plugin dependency; however this looks broken when multiple plugins define an
ApiModule
.Currently on
master
there are at least two plugins that do this; the healthcheck plugin and the replication plugin via a recent change (see [2]). When I create a health check in the pull-replication plugin, that healthcheck is never registered in the dynamic set, and as such the health check is never executed.The exact same code works in 3.9, which is no surprising given the change in [2] exists only on master (ie there are not multiple plugins that expose an
ApiModule
, just the healthcheck plugin).How to reproduce the bug on
master
:pull-replication
healthcheck will not be present in the response.[1]https://gerrit-review.googlesource.com/c/gerrit/+/299472
[2] https://gerrit-review.googlesource.com/c/plugins/replication/+/400797
[3] https://gerrit.googlesource.com/plugins/healthcheck/+/refs/heads/master/src/main/resources/Documentation/extensions.md