Repository navigation
fix(ci): name the @effect packages in Dependabot's effect group - #375
Merged
Merged
Conversation
The effect group's `@effect/*` glob never grouped the scoped packages: Dependabot picks the most specific group per dependency, and a group with no patterns (patch-updates) outranks a wildcard, so the siblings went to patch-updates, which refuses an RC bump and drops them through to one PR each. Exact names outrank every other group. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Owner
Author
Opus review (standing in for astra)I checked the chain against dependabot-core Confirmed
(3) The alternative
DisagreeNothing. Nits
VerdictMerge once the PR body's PR ranges are fixed. The comment wording nits are optional. |
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Owner
Author
|
Applied the review's nits: the PR body now lists the exact sibling PRs, and the config comment says the members also sit in patch-updates and that the list follows the RC lockstep rather than the whole catalog. |
allisonmahmood
added a commit
that referenced
this pull request
Oct 2, 2026
Effect 4.0.0 shipped on Oct 1 and we were on 4.0.0-rc.117. Dependabot never opened a PR for rc.118 or 4.0.0 (its `effect` group hasn't run since #375), so this is by hand. rc.118 removed the `effect/unstable/*` export paths. 462 imports across 185 files move to `effect/http`, `effect/sql`, `effect/cli`, `effect/process`, `effect/reactivity`, `effect/encoding` and `effect/http-api` (renamed from `httpapi`). Two API renames reached us: - `Schema.isLengthBetween` is now `Schema.isBetweenLength` (`packages/api`). - `effect/Encoding` was split into per-format modules, so the member directory cursor uses `effect/encoding/Base64Url`. One behavior change broke tests, not production. `HttpRouter.serve` now builds its app in a forked memo map and hands the context it built, router included, to the layers around it (rc.117 kept the router private). `HttpApiTest.groups` captures its surrounding context, so in a suite that also serves on a socket the in-memory client registered its routes on the server's router and failed with "Method 'POST' already declared for route '/api/publish'" (11 tests in PatchesApi and SdkApi). `Fixtures.ownRouter` drops that router before the client builds its own, and replaces SdkApi's fresh-memo-map workaround, which no longer helped. In production, `apps/server` and the dev server put nothing that registers routes beside `serve`, and shared services are still provided outside it, so they're built once. The rest of the rc.118 and 4.0.0 notes either don't touch our code (`Schema.brand`, `partition` order and `Scope.close` needing a `Closeable` all typecheck clean) or are covered by tests. For example, `@effect/sql-pg` now fails a transaction whose COMMIT comes back as ROLLBACK after a caught statement error, and no caller relies on the old silent rollback. With Effect stable, the release-candidate handling AGENTS.md asked us to drop goes away: the `minimumReleaseAgeExclude` list, the `effect-rc-bump` label step and the AGENTS.md runbook. The Dependabot `effect` group stays (comments rewritten), because the packages still release in lockstep and the overrides make a lone bump fail. AGENTS.md now notes that `effect/http`, `effect/http-api`, `effect/sql` and `effect/cli` are still `@stability unstable`, so a minor Effect release can break them. Made by Claude Opus 5.5 via Claude Code; reviewed by GPT 6.1 Sol via codex. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On the last two Effect RC rounds (#273 on 2026-09-16, #344 on 2026-09-23) Dependabot's
effectgroup bumped onlyeffectand opened one extra pull request per@effect/*package in the same run (#275, #277, #278, #279 and #346, #348, #349, #352). The siblings had to be pushed onto the group PR by hand and the extras closed.The
@effect/*glob matches fine; the split comes from how Dependabot assigns a dependency that matches several groups. Since dependabot-core#13098 it keeps the dependency in the group whose pattern scores highest: an exact name scores 1000,@effect/*scores 94, and a group with no patterns at all, which is whatpatch-updatesis, scores 500. So every@effect/*package was handed topatch-updates. That group only accepts patch releases, and rc.115 → rc.117 does not change major, minor or patch, sosemver_rules_allow_grouping?rejected the bump and returned without marking the package handled. Unhandled dependencies fall through to the ungrouped pass, which opens a pull request each.effectitself is an exact match, so it stayed in the group.The fix names the five lockstep packages one by one, which scores 1000 and outranks any other group. The
exclude-patternsentry for@effect/language-servicegoes with the glob; the config comment says why and how to add a package. Nothing else in the repo names the glob: the@effect/*inpnpm-workspace.yamlis pnpm's release-age gate and is a separate concern.Verified by reading the assignment and scoring code on dependabot-core
main(dependency_group_engine.rb,pattern_specificity_calculator.rb,group_update_creation.rb) against the two runs' PRs and their creation times. No local Dependabot run: Docker is not up on this machine and no RC newer than rc.117 exists to bump. The next RC is the real test.Investigated and fixed by Claude Fable 5.1 via Claude Code.