Skip to content

refactor: retire legacy error envelopes and enforce typed contract#1449

Merged
evandance merged 2 commits into
mainfrom
feat/errs-legacy-final-cleanup
Jun 17, 2026
Merged

refactor: retire legacy error envelopes and enforce typed contract#1449
evandance merged 2 commits into
mainfrom
feat/errs-legacy-final-cleanup

test: align cli_e2e success assertions to the ok envelope

c767407
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 17, 2026 in 1s

73.72% (+0.19%) compared to 4a4c334

View this Pull Request on Codecov

73.72% (+0.19%) compared to 4a4c334

Details

Codecov Report

❌ Patch coverage is 77.90368% with 78 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.72%. Comparing base (4a4c334) to head (c767407).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/core/config.go 40.00% 7 Missing and 2 partials ⚠️
cmd/api/api.go 69.23% 8 Missing ⚠️
cmd/config/init.go 58.82% 6 Missing and 1 partial ⚠️
internal/hook/install.go 30.00% 7 Missing ⚠️
shortcuts/common/runner.go 33.33% 6 Missing ⚠️
cmd/profile/add.go 78.26% 5 Missing ⚠️
cmd/config/init_messages.go 0.00% 4 Missing ⚠️
cmd/platform_guards.go 80.95% 4 Missing ⚠️
internal/output/jq.go 55.55% 4 Missing ⚠️
cmd/completion/completion.go 0.00% 3 Missing ⚠️
... and 12 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1449      +/-   ##
==========================================
+ Coverage   73.52%   73.72%   +0.19%     
==========================================
  Files         783      780       -3     
  Lines       74630    74140     -490     
==========================================
- Hits        54874    54659     -215     
+ Misses      15662    15420     -242     
+ Partials     4094     4061      -33     

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