Following up on my earlier answer about dev code not being API: I checked, and we actually agreed on it last month in Decide if test code, test frameworks and page objects are public API or not : test code, test frameworks and page objects are not API (no @Unstable, no deprecation cycle, no JIRA issue required for changing them). I never posted the conclusion nor documented it, I’ll do that.
Regarding dev-only dependencies and making it a recommendation: I don’t see what it would add, since our JIRA rules already cover this case (https://dev.xwiki.org/xwiki/bin/view/Community/IssueTracker/JIRA/#HRule:Don27tcreateunnecessaryissues):
If you’re fixing something related to the development of XWiki (but not necessarily related to code) or some code refactoring that doesn’t impact users of XWiki directly then it’s not mandatory to create an issue. However if you do, make sure you use the special component usually labeled “Development Issues only” in our JIRA projects.
So for a dev-only dependency upgrade, creating an issue is already optional, and when you do, the component is already defined. A recommendation to create one “when useful” is the same judgment call, just worded differently.
One caveat though: some dependencies declared as dev-only aren’t really dev-only, e.g. JS devDependencies that get bundled into the webjars we ship. Upgrading them changes what users run, so they fall under the runtime rule (mandatory issue, “Dependency Upgrades” component). That’s maybe something worth clarifying in the doc.
For the LLM plugin, nothing prevents it from creating such issues since the rule allows it, but I’d rather keep it aligned with the rule (optional) than have it always create one, which would make it a de facto mandatory rule without having agreed on it.
Thanks
Co-written with Claude Code