[xwiki/xwiki-dev-llm] e7bc7d: [Misc] Fail the build when a shipping change does ...
Branch: refs/heads/okf-minimal-always-on Home: https://github.com/xwiki/xwiki-dev-llm Commit: e7bc7de46fde19dd2ff187c700e3651926a42e76 https://github.com/xwiki/xwiki-dev-llm/commit/e7bc7de46fde19dd2ff187c700e365... Author: Vincent Massol <[email protected]> Date: 2026-08-23 (Sun, 23 Aug 2026) Changed paths: M .github/workflows/validate.yml M CLAUDE.md M scripts/validate.mjs M xwiki/skills/xwiki-knowledge/SKILL.md Log Message: ----------- [Misc] Fail the build when a shipping change does not raise the version Invariant 3 only proves the five manifests agree with each other, and they agree just as happily on a version that never moved. That is what happened to this very branch: it bumped 1.1.1 -> 1.1.2, #68 merged 1.1.2 to master first, and the bump became a no-op that would have merged without conflict and shipped to nobody, since Claude Code pulls a plugin only when its version increases. * `scripts/validate.mjs` — new invariant 6: when the branch changes anything under `xwiki/` (the shipped surface), the version must be strictly greater than the base branch's. The base is `GITHUB_BASE_REF` on a PR and `origin/master` otherwise; the diff runs base -> working tree, so the miss is caught before the change is even committed. Skipped with a note, not failed, when the base ref is not fetched, so a shallow clone still gets the other invariants. * `.github/workflows/validate.yml` — `fetch-depth: 0`, since a depth-1 checkout has no base branch to compare against. * `CLAUDE.md`, `skills/xwiki-knowledge/SKILL.md` — say that the validator now checks the increase, not only the sync. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-dev-llm/settings/notifications
participants (1)
-
XWiki Notifications