Skip to content

chore: update tests

88d6a0c
Select commit
Loading
Failed to load commit list.
Merged

feat: implement endpoint to ensure user is initialized in Cosmo #2497

chore: update tests
88d6a0c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 12, 2026 in 1s

36.68% (target 30.00%)

View this Pull Request on Codecov

36.68% (target 30.00%)

Details

Codecov Report

❌ Patch coverage is 64.28571% with 115 lines in your changes missing coverage. Please review.
✅ Project coverage is 36.68%. Comparing base (2fa2dfd) to head (88d6a0c).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
controlplane/src/core/auth-utils.ts 63.36% 85 Missing ⚠️
controlplane/src/core/controllers/auth.ts 11.11% 16 Missing ⚠️
controlplane/src/core/services/Authentication.ts 9.09% 10 Missing ⚠️
...lane/src/core/services/AccessTokenAuthenticator.ts 33.33% 2 Missing ⚠️
controlplane/src/core/test-util.ts 90.47% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2497      +/-   ##
==========================================
- Coverage   41.99%   36.68%   -5.31%     
==========================================
  Files        1000      947      -53     
  Lines      138762   124031   -14731     
  Branches     8008     5102    -2906     
==========================================
- Hits        58270    45506   -12764     
+ Misses      78867    76956    -1911     
+ Partials     1625     1569      -56     
Files with missing lines Coverage Δ
...ntrolplane/src/core/bufservices/PlatformService.ts 81.74% <100.00%> (+0.10%) ⬆️
...e/src/core/bufservices/user/initializeCosmoUser.ts 100.00% <100.00%> (ø)
...ne/src/core/webhooks/OrganizationWebhookService.ts 41.47% <ø> (ø)
...lplane/src/core/webhooks/PlatformWebhookService.ts 54.71% <100.00%> (+0.87%) ⬆️
...lane/src/core/services/AccessTokenAuthenticator.ts 21.42% <33.33%> (+0.91%) ⬆️
controlplane/src/core/test-util.ts 88.20% <90.47%> (+0.17%) ⬆️
controlplane/src/core/services/Authentication.ts 27.05% <9.09%> (-2.28%) ⬇️
controlplane/src/core/controllers/auth.ts 16.56% <11.11%> (+6.99%) ⬆️
controlplane/src/core/auth-utils.ts 35.90% <63.36%> (+24.07%) ⬆️

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