Repository navigation
Require explicit Effect concurrency - #206
Merged
Merged
Conversation
Effect.all and Effect.forEach default to sequential. The lint rule now requires that choice at the call site, and each existing call keeps concurrency 1. Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
jonbeckman
marked this pull request as ready for review
November 22, 2026 09:21
Contributor
TegamiThis repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under Create a changelog → · Changelog format No changelogs yetThis PR has no pending changelog files. If your changes require a release, add a changelog before merging. Run Managed by Tegami. |
Contributor
🟢 e2e solzero-core: 7 passed, 24 left out by filters3 agent steps · 3 replayed from cache Change 15 files changed since 24 tests left out by filters
All 7 tests in 4 files
Tested by e2e 0.23.0 · 1m 56s · local-cloudflare · run artifacts |
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.
Summary
Effect.allandEffect.forEachdefault to sequential execution (concurrency ?? 1inresolveConcurrency). That choice was unnamed at 16 call sites.effect/require-effect-concurrencyis now an error on the Effect service files, and each of those calls passes{ concurrency: 1 }.Calls that already named
concurrencyare unchanged. Independent work that already uses"unbounded"stays parallel. The new option keeps the previous order, including slug assignment, secret writes, Alchemy secret generation, and Slack registration handling.effect/use-clock-servicestays off.Date.now()andnew Date()are spread across the server and Durable Object paths, and turning that rule on is a migration.This change has no user-visible effect. It uses the
release:nonelabel and does not add a Tegami entry.Validation
nub run config:checknub run typechecknub run lint(clean with the new rule)nub run formatnub run testwas not run. Each call keeps the sequential default, and no route or screen changed.Checklist
.tegami/release entry, or explained why this pull request usesrelease:none.nub run config:check,nub run typecheck,nub run lint,nub run format, andnub run test.THIRD_PARTY_NOTICES.mdfor new third-party code or separately licensed assets.