Skip to content

add(tests): Add tests for schema validation errors

6130b57
Select commit
Loading
Failed to load commit list.
Merged

fix(schema): suppress noisy tracebacks on schema validation errors #957

add(tests): Add tests for schema validation errors
6130b57
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 21, 2026 in 0s

77.72% (+0.09%) compared to cbf4c5c

View this Pull Request on Codecov

77.72% (+0.09%) compared to cbf4c5c

Details

Codecov Report

❌ Patch coverage is 90.58824% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.72%. Comparing base (cbf4c5c) to head (6130b57).

Files with missing lines Patch % Lines
src/taskgraph/generator.py 62.50% 3 Missing ⚠️
test/test_generator.py 91.66% 2 Missing ⚠️
test/test_main.py 90.90% 2 Missing ⚠️
test/test_util_schema.py 95.83% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #957      +/-   ##
==========================================
+ Coverage   77.63%   77.72%   +0.09%     
==========================================
  Files         130      130              
  Lines       12063    12137      +74     
  Branches     1476     1477       +1     
==========================================
+ Hits         9365     9434      +69     
- Misses       2309     2315       +6     
+ Partials      389      388       -1     

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