Skip to content

feat: add recursiveResolveTasks - #406

Merged
lpatiny merged 2 commits into
mainfrom
feat/recursive-resolve-tasks
Aug 26, 2026
Merged

feat: add recursiveResolveTasks#406
lpatiny merged 2 commits into
mainfrom
feat/recursive-resolve-tasks

Conversation

@lpatiny

@lpatiny lpatiny commented Aug 26, 2026

Copy link
Copy Markdown
Member

recursiveResolve receives promises, which are already running by the time it walks the object, so a concurrency limit on it would cap nothing. recursiveResolveTasks takes the same tree holding functions instead, and calls them at most concurrency at a time - the limit then applies to the work itself. A failing task rejects the call and stops any further one from starting.

@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.42%. Comparing base (750ba0e) to head (8fc0fd9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #406      +/-   ##
==========================================
+ Coverage   97.40%   97.42%   +0.01%     
==========================================
  Files         215      216       +1     
  Lines        4320     4353      +33     
  Branches     1093     1102       +9     
==========================================
+ Hits         4208     4241      +33     
  Misses        109      109              
  Partials        3        3              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lpatiny
lpatiny merged commit 5e50c4d into main Aug 26, 2026
10 checks passed
@lpatiny
lpatiny deleted the feat/recursive-resolve-tasks branch August 26, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant