Skip to content

fix: skip fragment computation when limits already exceeded

489a024
Select commit
Loading
Failed to load commit list.
Merged

fix: GraphQL complexity validator exponential fragment traversal DoS (GHSA-mfj6-6p54-m98c) #10344

fix: skip fragment computation when limits already exceeded
489a024
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Mar 29, 2026 in 0s

92.53% (-0.03%) compared to dc59e27

View this Pull Request on Codecov

92.53% (-0.03%) compared to dc59e27

Details

Codecov Report

❌ Patch coverage is 86.95652% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.53%. Comparing base (dc59e27) to head (489a024).
⚠️ Report is 1 commits behind head on alpha.

Files with missing lines Patch % Lines
src/GraphQL/helpers/queryComplexity.js 86.95% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            alpha   #10344      +/-   ##
==========================================
- Coverage   92.55%   92.53%   -0.03%     
==========================================
  Files         192      192              
  Lines       16517    16537      +20     
  Branches      229      229              
==========================================
+ Hits        15287    15302      +15     
- Misses       1210     1215       +5     
  Partials       20       20              

☔ View full report in Codecov by Sentry.
📢 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.