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

edgehog-device-manager / edgehog / ffb34868d1347e89c11dac69a3b70f0a2701b68e-PR-673 / 3
81%
main: 72%

Build:
Build:
LAST BUILD BRANCH: optimize_hook_deps_and_iframe_login
DEFAULT BRANCH: main
Ran 28 Oct 2024 03:07PM UTC
Files 246
Run time 9s
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 Oct 2024 03:06PM UTC coverage: 80.565% (+80.6%) from 0.0%
ffb34868d1347e89c11dac69a3b70f0a2701b68e-PR-673.3

Pull #673

github

rbino
trigger_payload: accept trigger_name key

Astarte >= 1.2.0 sends an additional trigger_name key in the trigger payload.
This was making Edgehog crash since Ash doesn't accept additional input keys
by default. Fix this allowing unknown keys to be accepted. This should
future-proof the trigger handler in case further additional keys are added in
the future.

Since 1.2.0 is the current stable version of Astarte, add the trigger_name key
to all existing tests and explicitly test support for the key missing to avoid
regressions with old Astarte versions.

Fix #664

Signed-off-by: Riccardo Binetti <riccardo.binetti@secomind.com>
Pull Request #673: trigger_payload: accept trigger_name key

1227 of 1523 relevant lines covered (80.56%)

109.2 hits per line

Source Files on job ffb34868d1347e89c11dac69a3b70f0a2701b68e-PR-673.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • ffb34868 on github
  • Prev Job for on fix-664 (#11517605088.1)
  • 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