Skip to content

chore(ci): adopt monorel v0.14.0 and drop cache-priming workaround#82

Merged
theogravity merged 1 commit into
mainfrom
feat/adopt-monorel-0.14
May 3, 2026
Merged

chore(ci): adopt monorel v0.14.0 and drop cache-priming workaround#82
theogravity merged 1 commit into
mainfrom
feat/adopt-monorel-0.14

Conversation

@theogravity
Copy link
Copy Markdown
Contributor

Summary

Adopts monorel v0.14.0, which ships the fixes for issue #54 — the cacheseed wrong-h1: bug that broke our v2.1.0 release plus the cache-priming gap that initially blocked our release-pr workflow.

Changes

  • Bump disaresta-org/monorel/ci/github from @v0.11.0 to @v0.14.0 in both release-pr.yml and release.yml. Without this bump, the next chore(release): commit would ship broken go.sum entries (the same class of bug that caused the v2.1.0 SECURITY ERROR mismatch).
  • Remove the "Prime module cache for monorel tidy" step from both workflows. monorel v0.14.0 does this internally per affected sub-module, filtering out managed siblings.

Kept

  • actions/setup-go@v5 with go-version: '1.25' and cache: true. monorel still runs offline tidy with GOTOOLCHAIN=local (intentionally, for determinism), so the runner's Go must match every sub-module's go directive. v0.14.0's docs cover this requirement in ci/github/README.md and docs/src/workflows.md.
  • The if: ... !startsWith(..., 'chore(release):') skip filter on ci.yml jobs (PR fix(ci): skip CI on chore(release): commits to avoid tag-push race #80). monorel doesn't auto-skip consumer CI workflows; the filter is the consumer's responsibility, and the pattern is now documented upstream.

Test plan

  • After merge, the next push-to-main triggers release-pr and the workflow completes successfully (release PR opens / updates).
  • At the next release-pr merge, the release workflow runs the publish pipeline cleanly. The released sub-modules' go.sum entries record correct h1: hashes (verified by a downstream go get against the published versions).

🤖 Generated with Claude Code

monorel v0.14.0 (disaresta-org/monorel#57)
ships the cacheseed fixpoint fix for issue #54, plus a built-in
`primeModuleCache` step that populates the module cache for
third-party deps before offline tidy runs. With those fixes upstream,
this repo's local workarounds are redundant:

- Bump the action pin from v0.11.0 to v0.14.0 in release-pr.yml and
  release.yml so the cacheseed wrong-h1: bug is fixed for our next
  release. Without this bump, the next chore(release) commit would
  ship broken go.sum entries for v2.x.y like v2.1.0 did.
- Remove the "Prime module cache for monorel tidy" step from both
  workflows. monorel itself now does this internally per affected
  sub-module, filtering managed siblings out so the offline tidy
  that follows can resolve every transitive dep without needing
  the consumer to pre-warm the cache.

Kept:

- `actions/setup-go@v5` with go-version: '1.25' and cache: true.
  monorel still runs offline tidy with GOTOOLCHAIN=local, so the
  runner's Go must already match every sub-module's `go` directive.
  monorel v0.14.0 documents this requirement explicitly in the
  ci/github action README and in docs/src/workflows.md.
- The `if: ... !startsWith(...) 'chore(release):'` filter on ci.yml
  jobs (added in PR #80). monorel doesn't auto-skip consumer CI
  workflows; the filter is the consumer's responsibility, and the
  pattern is now documented upstream.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@theogravity theogravity enabled auto-merge (squash) May 3, 2026 09:20
@theogravity theogravity merged commit a61e701 into main May 3, 2026
11 checks passed
@theogravity theogravity deleted the feat/adopt-monorel-0.14 branch May 3, 2026 09:22
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