Skip to content

feat: implement worker-based graph composition with Tinypool#2637

Merged
StarpTech merged 26 commits into
mainfrom
dustin/eng-8238-mitigate-event-loop-block-in-cosmo-controlplane
Mar 16, 2026
Merged

feat: implement worker-based graph composition with Tinypool#2637
StarpTech merged 26 commits into
mainfrom
dustin/eng-8238-mitigate-event-loop-block-in-cosmo-controlplane

Merge branch 'main' into dustin/eng-8238-mitigate-event-loop-block-in…

3138b4a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 16, 2026 in 0s

46.42% (target 30.00%)

View this Pull Request on Codecov

46.42% (target 30.00%)

Details

Codecov Report

❌ Patch coverage is 43.72385% with 269 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.42%. Comparing base (a087898) to head (3138b4a).

Files with missing lines Patch % Lines
...plane/src/core/composition/composeGraphs.worker.ts 0.00% 186 Missing and 1 partial ⚠️
controlplane/src/core/composition/composer.ts 56.00% 33 Missing ⚠️
.../src/core/repositories/FederatedGraphRepository.ts 73.68% 25 Missing ⚠️
...olplane/src/core/composition/composeGraphs.pool.ts 81.39% 16 Missing ⚠️
controlplane/src/index.ts 0.00% 4 Missing ⚠️
controlplane/src/core/build-server.ts 50.00% 3 Missing ⚠️
controlplane/src/core/env.schema.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2637      +/-   ##
==========================================
- Coverage   46.52%   46.42%   -0.10%     
==========================================
  Files        1043     1046       +3     
  Lines      141356   141488     +132     
  Branches     9680     9679       -1     
==========================================
- Hits        65759    65680      -79     
- Misses      73886    74095     +209     
- Partials     1711     1713       +2     
Files with missing lines Coverage Δ
...bufservices/federated-graph/checkFederatedGraph.ts 85.51% <100.00%> (+0.51%) ⬆️
...lplane/src/core/composition/composeGraphs.types.ts 100.00% <100.00%> (ø)
controlplane/src/core/composition/composition.ts 79.16% <100.00%> (-12.64%) ⬇️
...rc/core/repositories/GraphCompositionRepository.ts 97.19% <ø> (ø)
...ane/src/core/repositories/SchemaCheckRepository.ts 71.06% <100.00%> (ø)
controlplane/src/core/util.ts 80.76% <ø> (-0.61%) ⬇️
...ne/src/core/webhooks/OrganizationWebhookService.ts 58.27% <ø> (ø)
controlplane/src/core/env.schema.ts 0.00% <0.00%> (ø)
controlplane/src/core/build-server.ts 75.51% <50.00%> (-0.46%) ⬇️
controlplane/src/index.ts 0.00% <0.00%> (ø)
... and 4 more

... and 3 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.