• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alandtse / alexa_media_player / 22513518631
23%

Build:
DEFAULT BRANCH: dev
Ran 28 Feb 2026 04:40AM UTC
Jobs 1
Files 19
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Feb 2026 04:38AM UTC coverage: 23.778%. Remained the same
22513518631

push

github

web-flow
refactor: avoid set name collision (#3396)

Issue identified during review of PR #3390
Reported by: @coderabbitai
Requested by: @alandtse

Description:
In custom_components/alexa_media/metrics.py around lines 46-122, the
DataCache.set method name shadows Python's built-in set type.

Current implementation:

def set(self, key: str, value: Any) -> None:
Suggested improvement:
Rename to a clearer name that doesn't shadow built-ins, such as:

cache_set
store
put
Impact:
Nitpick - No runtime problem since it's a method, but better practice to
avoid shadowing built-ins for code clarity.

Reference:

PR: chore: release 2026-02-21 #3390
File: custom_components/alexa_media/metrics.py:46-122

Fixes: #3394

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Refactor**
* Renamed an internal caching API for consistency; no change to behavior
or user-facing functionality.
* Startup data handling remains unchanged; users should notice no
functional impact.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

1 of 2 new or added lines in 2 files covered. (50.0%)

1133 of 4765 relevant lines covered (23.78%)

0.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
5.54
0.0% custom_components/alexa_media/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 22513518631.1 28 Feb 2026 04:40AM UTC 19
23.78
GitHub Action Run
Source Files on build 22513518631
  • Tree
  • List 19
  • Changed 2
  • Source Changed 2
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22513518631
  • 2add7008 on github
  • Prev Build on dev (#22513501658)
  • Next Build on dev (#23374316056)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc