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

EvergenEnergy / remote-commands-handler / 5341419864
100%

Build:
DEFAULT BRANCH: main
Ran 22 Jun 2023 03:55AM UTC
Jobs 1
Files 9
Run time 1s
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

pending completion
5341419864

push

github-actions

web-flow
Add error handler to publish error messages via MQTT (#38)

* Add optional setting for MQTT topic to publish errors to, and bool value to be set if topic is supplied

* Check for both + and # in error topic name

* Add ErrorHandler module and provide to client modules. Use optional args for dependency objects so we can replace with mock if needed but don't need to invoke in main.py

* UTIL-565: publish errors via MQTT

* UTIL-565: use predefined categories for error messages

* Restructure MQTT classes to separate writer and reader

* Subscribe to configured topics in MQTT reader init

* Use MQTTClient as component rather than base class

* Remove MQTTClient, instantiate paho MQTT client in main.py and pass in

* Subclass ErrorHandler to avoid optional args to init

* Serialise message payload in errormessage rather than mqttwriter

* Use different internal MQTT clients for reader and writer; simplify writer by removing callbacks

* Reinstate initialisation of modbus TCP client in main.py

* Make a couple of MQTT reader attributes private

103 of 103 new or added lines in 5 files covered. (100.0%)

423 of 423 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5341419864.1 22 Jun 2023 03:55AM UTC 0
100.0
Source Files on build 5341419864
Detailed source file information is not available for this build.
  • Back to Repo
  • 1c068131 on github
  • Prev Build on main (#5275249283)
  • Next Build on main (#5351282434)
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