uploadvalidator 3.14 CI jar has wrong API version

53 views
Skip to first unread message

Aaron Smith

unread,
Jun 25, 2026, 7:49:28 PM (5 days ago) Jun 25
to Repo and Gerrit Discussion
The jar from plugin-uploadvalidator-bazel-master-stable-3.14 loads on Gerrit 3.14.1, but its manifest says Gerrit-ApiVersion: 3.0-SNAPSHOT. Looks like a stale/wrong build.

There is also no plugin-uploadvalidator-bazel-stable-3.14 job (404).

Currently running 3.13, but this may become an issue during the next upgrade.

--
Aaron

Aaron Smith

unread,
Jun 26, 2026, 11:48:20 AM (4 days ago) Jun 26
to Repo and Gerrit Discussion
On Thursday, June 25, 2026 at 4:49:28 PM UTC-7 Aaron Smith wrote:
The jar from plugin-uploadvalidator-bazel-master-stable-3.14 loads on Gerrit 3.14.1, but its manifest says Gerrit-ApiVersion: 3.0-SNAPSHOT. Looks like a stale/wrong build.

Gerrit log shows this when the 3.14 plugin loads:
[2026-06-25T23:40:37.434Z] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin uploadvalidator, version v3.0.0-rc1-330-g3558a638a9

Nasser Grainawi

unread,
Jun 26, 2026, 12:53:42 PM (4 days ago) Jun 26
to Aaron Smith, Repo and Gerrit Discussion
On Fri, Jun 26, 2026 at 9:48 AM 'Aaron Smith' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:
On Thursday, June 25, 2026 at 4:49:28 PM UTC-7 Aaron Smith wrote:
The jar from plugin-uploadvalidator-bazel-master-stable-3.14 loads on Gerrit 3.14.1, but its manifest says Gerrit-ApiVersion: 3.0-SNAPSHOT. Looks like a stale/wrong build.

Gerrit log shows this when the 3.14 plugin loads:
[2026-06-25T23:40:37.434Z] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin uploadvalidator, version v3.0.0-rc1-330-g3558a638a9

That looks like there just aren't any newer tags in the repo. Looking in the browser, I only see that v3.0.0-rc1 tag. The `-330-` part in that version means there have been 330 commits after that tag, including ones from as recently as 2 months ago, and the `3558a638a9` matches the abbreviated hash of the tip of the master branch. So I think it's working as expected, just confusing due to the single older tag in the repo.

For more info on how plugins are versioned and released, see the Branching Strategy and Plugin Release sections in the Plugin Lifecycle doc.

Nasser
 
 

There is also no plugin-uploadvalidator-bazel-stable-3.14 job (404).

Currently running 3.13, but this may become an issue during the next upgrade.

--
Aaron

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/9177f252-5964-40af-a6e6-6fa1f9e5518dn%40googlegroups.com.

Aaron Smith

unread,
Jun 26, 2026, 1:36:01 PM (4 days ago) Jun 26
to Repo and Gerrit Discussion
On Friday, June 26, 2026 at 9:53:42 AM UTC-7 Nasser Grainawi wrote:
On Fri, Jun 26, 2026 at 9:48 AM 'Aaron Smith' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:
On Thursday, June 25, 2026 at 4:49:28 PM UTC-7 Aaron Smith wrote:
The jar from plugin-uploadvalidator-bazel-master-stable-3.14 loads on Gerrit 3.14.1, but its manifest says Gerrit-ApiVersion: 3.0-SNAPSHOT. Looks like a stale/wrong build.

Gerrit log shows this when the 3.14 plugin loads:
[2026-06-25T23:40:37.434Z] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin uploadvalidator, version v3.0.0-rc1-330-g3558a638a9

That looks like there just aren't any newer tags in the repo. Looking in the browser, I only see that v3.0.0-rc1 tag. The `-330-` part in that version means there have been 330 commits after that tag, including ones from as recently as 2 months ago, and the `3558a638a9` matches the abbreviated hash of the tip of the master branch. So I think it's working as expected, just confusing due to the single older tag in the repo.

Thank you for the explanation. I was confused when I saw the log and then inspected the plugin MANIFEST.MF. The 3.14 plugin version shows:

uploadvalidator.jar                  3.0-SNAPSHOT

...whereas the 3.13 plugin version shows:
uploadvalidator.jar                  3.13.6-SNAPSHOT

If this is not a problem, then I'll cover my eyes and move on. Thanks again!
Reply all
Reply to author
Forward
0 new messages