Repository navigation
chore(deps): pin Effect 4 RC and open one Dependabot PR per RC - #63
Conversation
Pin effect, @effect/platform-node, @effect/sql-pg and @effect/vitest at 4.0.0-rc.112 (and @effect/language-service at 0.87.2) through the pnpm catalog, with overrides forcing every transitive copy onto the catalog and a name-based minimumReleaseAgeExclude so fresh RCs are not held for a day. Dependabot groups the lockstep packages so each RC arrives as a single PR, which pr-labels.yml tags `effect-rc-bump` for an agent to finish. No source imports yet. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0191mSZ5Nrvn7FMoNMRbKxhS
|
Two-axis review of this PR against StandardsScope: Documented standardsHard (process doc, not tree)
Judgement (repo overrides YAGNI/docs placement)
No CONTRIBUTING.md. Baseline smells (all judgement)
CleanConventional title; one concern; not-breaking + verification ticked; harness blurb; SpecSpec (issue #57):
(a) Missing or partialOverrides are a named five-pack, not every (b) Not asked for
Root (c) Looks done, but check the fit
Dependabot group Current RC: npm No source imports: config-only; no Agent vs Verdict: Pin, catalog, Dependabot group, age exclude, and no imports match intent. Remaining spec hole is transitive Implementation methodThe real constraint is lockstep Effect 4 RCs: one version everywhere, one PR per RC, an agent finishes against Catalog + Root Lockfile shape vs catalog: Dependabot group is the right dispatch. Group identifier is used in branch names. For The labelling workflow is the method that ages badly, and it is already wrong for language-service. if: github.event.pull_request.user.login == 'dependabot[bot]' && startsWith(github.event.pull_request.head.ref, 'dependabot/npm_and_yarn/effect-')Solo npm branches strip Runbook placement is a method miss. After merge, Dependabot PRs get Dependabot’s body, not this one. Language-service exclude from the group is sound. YAGNIAllison’s bar: smallest model that makes the correct behavior unsurprising.
The pin itself (catalog + Summary
Axes not ranked against each other. Actionable beyond the axes: the Reviewed by Grok 4.6 via Grok Build TUI. |
The label told an agent to pick a Dependabot RC bump up, but the instructions for finishing one lived only in the pull request that added the label, and Dependabot writes its own body. Moves the three steps into AGENTS.md and points the Dependabot config at them. Also corrects two workspace comments that overstated what they do: the overrides pin the effect packages we depend on, not every transitive @effect/*, and the `@effect/*` release-age exclusion is what keeps a bump branch installable, at the cost of the gate on the language service. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Worked through the review. Dispositions, verified against the tree and the lockfile: Fixed (5123d80)
Valid, not changing
False positive
Made by Claude Fable 5 via Claude Code. |
What changed
The Effect v4 port (#54) needs Effect 4 installed and locked before any source moves, and RCs ship every few days, so each bump has to arrive as one reviewable PR rather than five.
This pins
effect,@effect/platform-node,@effect/sql-pgand@effect/vitestat4.0.0-rc.112(and@effect/language-serviceat0.87.2, its own release line) through the pnpmcatalog:, withoverridesforcing every transitiveeffect/@effect/*onto the catalog and a name-basedminimumReleaseAgeExcludeso a fresh RC is not held back by the one-day release-age gate. The packages are added to rootdevDependenciessopnpm installresolves and locks them; nothing imports fromeffectyet.Dependabot gets an
effectgroup (effect,@effect/*, minus the language service) so each RC lands as a single PR. Dependabot labels are per ecosystem, not per group, sopr-labels.ymltags those PRseffect-rc-bumpby their branch name (dependabot/npm_and_yarn/effect-<hash>). What an agent then does with such a PR is written down inAGENTS.mdunder Effect RC bumps, because Dependabot writes its own PR body and would not carry a runbook from here.Dependabot and prereleases
Verified against
dependabot-core(npm_and_yarn/.../latest_version_finder.rb,related_to_current_pre?): prereleases are considered only when the pinned version is itself a prerelease of the same release, so4.0.0-rc.112 -> 4.0.0-rc.Nis followed. Once4.0.0ships Dependabot moves to it and then stops following4.xprereleases. Caveat: Dependabot's pnpm catalog support has open bugs around lockfile regeneration; if a bump PR arrives with a broken lock, re-runpnpm installon the branch.Resolves #57
How it was verified
pnpm testpasses locally (458 tests), pluspnpm lint,pnpm typecheck,pnpm format:checkRelease impact
Made by Claude Fable 5 via Claude Code (workflow subagent).