Repository navigation
feat: add same-runtime async concurrency - #44
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #44 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 42 48 +6
Lines 3334 3682 +348
Branches 639 712 +73
==========================================
+ Hits 3334 3682 +348
🚀 New features to boost your workflow:
|
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.
Convee can now compose existing async functions, steps and pipelines with bounded concurrency in the same JavaScript runtime.
concurrent()returns a native callable step, preserving closures, class instances, original task errors and normal plugin/context behavior. This additive API prepares version 2.4.0.maxPendingadmission counts running and queued tasks.alldrains every task and its finalizers before rethrowing the first original error in split order;collectsupplies ordered outcomes. No automatic retries.CI 38193807619 passes all 13 jobs at
8dfeef8. The downloaded quality artifact confirms exactly 3,682/3,682 lines, 1,479/1,479 branches and 323/323 instrumented functions, covering all 48 executable production modules. Codecov's processed report confirms 100.00% project coverage and all modified coverable lines covered against dev76683be.Validation includes 56 groups / 1,012 BDD steps, compiler contracts, README examples, architecture, type depth, isolated package consumption, JSR dry run, 60,000 seeded property cases and 74/74 detected mutations. The full runtime matrix passes: Deno 2.6.0/2.9.6, Node 22.12.0/24.1.0, Bun 1.4.3, and Chromium/Firefox/WebKit in both Vite development and production. Browser artifacts explicitly verify foreign-realm AbortSignals and no workers created by local concurrency. GC checks retain the reusable definition while confirming completed inputs are collectible. Existing Rust/ABI rebuild checks also pass.
No production source was excluded and no coverage or verification threshold was lowered.
Colibri integration is intentionally deferred until this API is live, followed by its separate worker-per-channel redesign. This PR changes no Colibri source and does not claim CPU parallelism or measured speedups.