Skip to content

feat(records): stream-type-aware concurrency limits#2688

Draft
andersfylling wants to merge 16 commits into
masterfrom
feat/records-concurrency
Draft

feat(records): stream-type-aware concurrency limits#2688
andersfylling wants to merge 16 commits into
masterfrom
feat/records-concurrency

test(records): simulate real endpoint patterns for all operation types

4e3059f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 23, 2026 in 1s

93.74% (+0.08%) compared to 7934665

View this Pull Request on Codecov

93.74% (+0.08%) compared to 7934665

Details

Codecov Report

❌ Patch coverage is 99.10394% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.74%. Comparing base (7934665) to head (4e3059f).
⚠️ Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
tests/tests_unit/test_utils/test_concurrency.py 98.36% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2688      +/-   ##
==========================================
+ Coverage   93.65%   93.74%   +0.08%     
==========================================
  Files         498      498              
  Lines       50391    50941     +550     
==========================================
+ Hits        47196    47754     +558     
+ Misses       3195     3187       -8     
Files with missing lines Coverage Δ
cognite/client/_api/data_modeling/records.py 100.00% <100.00%> (ø)
cognite/client/_sync_api/data_modeling/records.py 100.00% <100.00%> (ø)
cognite/client/utils/_concurrency.py 94.19% <100.00%> (+1.39%) ⬆️
...ts_unit/test_utils/test_concurrency_api_routing.py 100.00% <100.00%> (ø)
tests/tests_unit/test_utils/test_concurrency.py 98.89% <98.36%> (-1.11%) ⬇️

... and 7 files with indirect coverage changes

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