Skip to content

chore(ci): fix effect bump workflow and track the rc line - #195

Merged
stefvw93 merged 1 commit into
mainfrom
fix/effect-prerelease-bump
Sep 7, 2026
Merged

chore(ci): fix effect bump workflow and track the rc line#195
stefvw93 merged 1 commit into
mainfrom
fix/effect-prerelease-bump

Conversation

@stefvw93

@stefvw93 stefvw93 commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Why

The Effect Beta Bump workflow has failed on all 51 runs since it was added (Jul 18). The bump step rewrites the catalog pin in pnpm-workspace.yaml, then vp install runs under CI's default --frozen-lockfile and refuses the intentionally stale lockfile:

[ERR_PNPM_LOCKFILE_CONFIG_MISMATCH] Cannot proceed with the frozen installation. The current "catalogs" configuration doesn't match the value found in the lockfile

Every downstream step was skipped, so no bump PR was ever opened.

Meanwhile Effect 4 moved from the beta dist-tag (frozen at 4.0.0-beta.107) to rc (4.0.0-rc.112 today). The script only read beta and would never have followed.

What

  • Workflow: vp install --no-frozen-lockfile for the lockfile refresh step.
  • scripts/bump-effect-beta.mjs: reads rc + beta dist-tags, picks the highest 4.0.0-<beta|rc>.N (numbers are shared across lines), and also rewrites the effect@<tag> install token in the five docs so the documented install command never lands below the tested floor. Still refuses stable 4.0.0.
  • /effect-beta skill + doc caveat lines: "beta line" → "prerelease line". Script, workflow, and skill keep their beta names.

Verified locally: --dry-run targets beta.98 → rc.112; a real run rewrites all nine files including effect@beta → effect@rc (reverted, not part of this PR).

Validation

  • vp run check: pass
  • vp run test: 54 files / 795 tests pass
  • vp run test:types: 16 files / 149 tests pass

After merge

Dispatch the workflow (or wait for the 06:00 UTC cron). Expect a draft PR: the floor is 14 prereleases behind, so validation against rc.112 will likely surface upstream breaking changes to migrate.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ABKLh91QnvkCdKW3KHjXhy

The Effect Beta Bump workflow failed on every run since it was added:
the bump rewrites the catalog pin, and CI defaults pnpm to
--frozen-lockfile, which rejects the now-stale lockfile with
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH before validation ever runs.
Refresh the lockfile with --no-frozen-lockfile.

Effect 4 has also moved from the `beta` dist-tag (frozen at beta.107) to
`rc`. The script now reads both tags, picks the highest
4.0.0-<beta|rc>.N, and also rewrites the `effect@<tag>` install token in
the docs so the documented install never lands below the tested floor.
Skill and doc prose updated to say "prerelease line".

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ABKLh91QnvkCdKW3KHjXhy
@stefvw93
stefvw93 merged commit 7d281bd into main Sep 7, 2026
8 checks passed
@stefvw93
stefvw93 deleted the fix/effect-prerelease-bump branch September 7, 2026 06:22
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 0.31.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant