Skip to content

fix: open one MongoDB client per Worker request to stop 1101s on bins - #255

Merged
jaredwray merged 2 commits into
mainfrom
cursor/worker-mongo-per-request-client-c782
Oct 21, 2026
Merged

jaredwray merged 2 commits into
mainfrom
cursor/worker-mongo-per-request-client-c782

docs: describe the per-request MongoDB client on Cloudflare

9258478
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 20, 2026 in 0s

100.00% (+0.00%) compared to 17307b7

View this Pull Request on Codecov

100.00% (+0.00%) compared to 17307b7

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (17307b7) to head (9258478).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #255   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           44        44           
  Lines         1781      1868   +87     
  Branches       409       412    +3     
=========================================
+ Hits          1781      1868   +87     

☔ 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.