Skip to content

refactor(actor)!: Resolve and cache handlers by message type - #953

Merged
gfieni merged 2 commits into
masterfrom
refactor/state-handler-lookup
Oct 15, 2026
Merged

gfieni merged 2 commits into
masterfrom
refactor/state-handler-lookup

refactor(actor)!: Rename `dispatch_message` method to `handle_message`

269fa3b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 15, 2026 in 1s

86.77% (+0.04%) compared to dbbd07d

View this Pull Request on Codecov

86.77% (+0.04%) compared to dbbd07d

Details

Codecov Report

❌ Patch coverage is 95.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 86.77%. Comparing base (dbbd07d) to head (269fa3b).

Files with missing lines Patch % Lines
src/powerapi/actor/actor.py 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #953      +/-   ##
==========================================
+ Coverage   86.72%   86.77%   +0.04%     
==========================================
  Files          81       81              
  Lines        2817     2827      +10     
==========================================
+ Hits         2443     2453      +10     
  Misses        374      374              
Files with missing lines Coverage Δ
src/powerapi/actor/handler.py 83.33% <100.00%> (ø)
src/powerapi/actor/state.py 92.10% <100.00%> (+2.81%) ⬆️
src/powerapi/actor/actor.py 75.82% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.