Releases: nerves-project/nerves_heart
Releases · nerves-project/nerves_heart
v2.4.0
v2.3.0
v2.2.0
- Changes
- Added snooze support to turn off reboots for 15 minutes per snooze. This is
super helpful for debugging issues that interact with device health checks.
It's activated via either aUSR1
signal or the"snooze"
command. - Support an initial grace period to avoid hardware watchdog reboots shortly
after starting up. This lets you ensure that devices are up for a short
period of time to make them debuggable. This helps with remote devices that
may not connect to the network quickly enough to be easily debugged. - Support 2 second hardware watchdog timeouts. Previously the limit was 5
seconds. 2 seconds is the shortest possible since the pet timer resolution
is in seconds.
- Added snooze support to turn off reboots for 15 minutes per snooze. This is
v2.1.0
v2.0.2
v2.0.1
v2.0.0
This is a major update to Nerves Heart.
- Changes
- BREAKING: the informational attribute names changed to clarify whether they
came from the watchdog timer device driver or Nerves heart - Added an optional initialization handshake to protect against
:heart.set_callback/2
not being run and an issue going undetected. - Added support for guarded reboot and poweroff requests. These work similar
to thereboot
andpoweroff
shell commands, but stop petting the watchdog
as well. This protects against rare reboot/poweroff hangs. - Pet the hardware watchdog before exiting to reduce the chance of it
rebooting the system early due to unlucky timing from the previous pet. - Remove hardcoded hardware watchdog pet time and calculate based on actual
timeout value.
- BREAKING: the informational attribute names changed to clarify whether they
v1.2.0
This is a significant update since it adds a regression test framework.
Previously, we had so few changes that we trusted the OTP team's coverage,
visual inspection and spot checks. No major feature updates are in this release,
but this unblocks the addition of future updates.
- Changes
- Add
disable_vm
command to enable testing ofheart
timing out the Erlang
VM. For consistency, this addsdisable_hw
for disabling the petting of the
hardware watchdog to verify that failure path. Thedisable
command maps to
disable_hw
for backwards compatibility. - Call
sync(2)
before rebooting due to Erlang VM unresponsiveness to reduce
data loss. - Open
/dev/watchdog0
on start. On systems that don't start the hardware
watchdog on boot, this starts it as soon as possible to avoid the gap until
the first "pet" or select timeout to start it.
- Add