Skip to content

release: enforce build-test rehearsal pairing; drop dead version/docs targets - #338

Open
warun7 wants to merge 1 commit into
earthtojake:developfrom
warun7:ci/bundle-check-and-release-validation
Open

release: enforce build-test rehearsal pairing; drop dead version/docs targets#338
warun7 wants to merge 1 commit into
earthtojake:developfrom
warun7:ci/bundle-check-and-release-validation

Conversation

@warun7

@warun7 warun7 commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Three small release-tooling fixes.

Release workflow accepts invalid build-test dispatches

AGENTS.md/CONTRIBUTING.md say target_branch=build-test is strictly a CI/CD rehearsal that must be paired with bump=none, but nothing enforced it: dispatching with the default bump=patch burned a version number and opened a release PR into develop. The release-pr job now validates the pairing in its first step - before anything mutates - and fails with an actionable ::error::.

Dead version-sync targets

sync-version.mjs carried required:false entries under skills/cad/scripts/packages/implicitjs/ - a mirror that exists nowhere (the cad skill ships only cadgen and cadjs). Removed. The implicit-cad pair stays: that path resolves through the vendored-runtime layout.

Dead hero-GLB LFS branch in test-docs.sh

.gitattributes marks docs/public/hero/** deliberately non-LFS, so the script's git lfs ls-files | grep docs/public/hero gate never matched and the pull never ran. Removed with a comment so it stays gone.

Verification

  • sync-version.mjs --check: metadata synced from VERSION
  • scripts/bundle/bundle.sh --check: all outputs up to date
  • scripts/test/test-global.sh: 86 tests OK
  • release.yml parses; guard step confirmed first after checkout
  • test-docs.sh reaches its npm run check tail (local eslint gap only; CI covers)

… targets

Dispatching the Release workflow with target_branch=build-test used to accept
any bump, so a rehearsal with the default bump=patch burned a version number
and opened a release PR into develop. The release-pr job now validates the
documented pairing first -- build-test requires bump=none -- before anything
mutates.

Also drops two dead targets: sync-version.mjs carried required:false entries
under skills/cad/scripts/packages/implicitjs/ -- a mirror that exists nowhere
in the tree (the cad skill ships only cadgen and cadjs) -- and test-docs.sh
gated a `git lfs pull` of docs/public/hero on finding hero files in LFS,
which .gitattributes deliberately excludes.
@warun7
warun7 force-pushed the ci/bundle-check-and-release-validation branch from ea2275c to bc3a7c2 Compare August 26, 2026 09:13
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.

1 participant