Skip to content

fix: check len of state before accessing power state#871

Open
rsdmike wants to merge 1 commit intomainfrom
fixLenCheck
Open

fix: check len of state before accessing power state#871
rsdmike wants to merge 1 commit intomainfrom
fixLenCheck

Conversation

@rsdmike
Copy link
Copy Markdown
Member

@rsdmike rsdmike commented Apr 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 2, 2026 22:58
@rsdmike rsdmike enabled auto-merge (rebase) April 2, 2026 22:59
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.24%. Comparing base (7705f24) to head (a805c10).

Files with missing lines Patch % Lines
internal/usecase/devices/power.go 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #871      +/-   ##
==========================================
- Coverage   40.25%   40.24%   -0.01%     
==========================================
  Files         114      114              
  Lines       10866    10868       +2     
==========================================
  Hits         4374     4374              
- Misses       6091     6092       +1     
- Partials      401      402       +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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants