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

brianegge / garbage_bin / 22100082806
57%

Build:
DEFAULT BRANCH: master
Ran 17 Feb 2026 01:21PM UTC
Jobs 1
Files 7
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

17 Feb 2026 01:20PM UTC coverage: 66.537% (+26.1%) from 40.476%
22100082806

push

github

web-flow
Add tests for save and sync_local_to_remote (#243)

* Add tests for save and sync_local_to_remote

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix crash on MQTT broker restart by allowing auto-reconnect

The on_disconnect callback was setting RUNNING=False, which killed the
entire process whenever the MQTT broker dropped connections (e.g. during
HA restarts). Now paho's built-in auto-reconnect handles broker outages
and the shutdown publish is wrapped in try/except for robustness.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Use tmp_path with chmod instead of hardcoded paths in save tests

Replace /nonexistent/... paths with tmp_path directories made
read-only via chmod(0o555) for deterministic cross-environment
test behavior. Extract repeated date directory string into a
DATE_DIR constant.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add tests for graceful_shutdown to improve patch coverage

Extract shutdown logic into a testable graceful_shutdown function and
add tests for both the happy path and MQTT publish failure during
shutdown.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

10 of 12 new or added lines in 1 file covered. (83.33%)

19 existing lines in 1 file now uncovered.

342 of 514 relevant lines covered (66.54%)

0.67 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
42.62
7.58% garbage_bin/main.py

Uncovered Existing Lines

Lines Coverage ∆ File
19
42.62
7.58% main.py
Jobs
ID Job ID Ran Files Coverage
1 22100082806.1 17 Feb 2026 01:21PM UTC 7
66.54
GitHub Action Run
Source Files on build 22100082806
  • Tree
  • List 7
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22100082806
  • 812c68c9 on github
  • Prev Build on master (#22049069718)
  • Next Build on master (#22267593490)
  • 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