Skip to content

refactor(core): simplify EvalContext to &mut self with plain HashMap

fc6a7b2
Select commit
Loading
Failed to load commit list.
Open

Add context map #268

refactor(core): simplify EvalContext to &mut self with plain HashMap
fc6a7b2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 4, 2026 in 0s

84.29% (+0.08%) compared to 7e77f7f

View this Pull Request on Codecov

84.29% (+0.08%) compared to 7e77f7f

Details

Codecov Report

❌ Patch coverage is 90.41096% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.29%. Comparing base (7e77f7f) to head (fc6a7b2).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
hitbox-core/src/eval_context.rs 93.58% 5 Missing ⚠️
hitbox-http/src/request/mod.rs 0.00% 3 Missing ⚠️
hitbox-core/src/response.rs 66.66% 2 Missing ⚠️
hitbox-http/src/response/mod.rs 0.00% 2 Missing ⚠️
hitbox-core/src/extractor.rs 66.66% 1 Missing ⚠️
hitbox-core/src/predicate/mod.rs 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             next     #268      +/-   ##
==========================================
+ Coverage   84.20%   84.29%   +0.08%     
==========================================
  Files         136      137       +1     
  Lines        9435     9536     +101     
==========================================
+ Hits         7945     8038      +93     
- Misses       1490     1498       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.