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

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

Build:
Build:
LAST BUILD BRANCH: wrap-content-in-cards
DEFAULT BRANCH: main
Ran 28 Oct 2024 03:07PM UTC
Jobs 4
Files 246
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 Oct 2024 03:06PM UTC coverage: 80.565% (+80.6%) from 0.0%
ffb34868d1347e89c11dac69a3b70f0a2701b68e-PR-673

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%)

426.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ffb34868d1347e89c11dac69a3b70f0a2701b68e-PR-673.1 28 Oct 2024 03:07PM UTC 0
80.56
GitHub Action Run
2 ffb34868d1347e89c11dac69a3b70f0a2701b68e-PR-673.2 28 Oct 2024 03:07PM UTC 0
80.56
GitHub Action Run
3 ffb34868d1347e89c11dac69a3b70f0a2701b68e-PR-673.3 28 Oct 2024 03:07PM UTC 0
80.56
GitHub Action Run
4 ffb34868d1347e89c11dac69a3b70f0a2701b68e-PR-673.4 28 Oct 2024 03:07PM UTC 0
80.56
GitHub Action Run
Source Files on build ffb34868d1347e89c11dac69a3b70f0a2701b68e-PR-673
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #673
  • PR Base - release-0.9 (#11517605088)
  • 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