Unforseen/Undiagnosable crash in Monitor v 1.0.3 #6
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
zadammac/piminder#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current version of monitor is unexpectedly crashing during normal operation with unknown cause.
Investigating ways to better log the monitor so that such crashes can be diagnosed (and, if possible, automatically restarted)
Some additional information:
To compensate in the short term we're running a heartbeat script independantly 1/hour with crontab that simply registers a "Heartbeat Check" message against the configured remote piminder_service instance. This script will both work to be a visual indicator of a crash (should see it 1/hour, after all) as well as show via the DB itself the times when the alert did not appear on the display screen.
Works as a short-term workaround but extra work is needed to determine the /why/ of these failures.
This is impacting the immediate usefulness of labmonitor in a highly negative way; will at least add the required debug functionality this weekend, targeted fix timeline TBD once some debug data is in hand.
Probably something not unlike this:

This happened during dynamic testing on the monitor so it's not clear if this is a result of the crash-on-refresh or me touching a button when I shouldn't, but either way it shouldn't have crashed.
It's unlikely based on the code that this is the sole cause of the unexpected crashes. That specific bug can only arise during the deletion or mark-as-read operations, which are user input dependant.
Still, it's an easy patch. Patched in commit
9a82d336dbca111920b098042037a3f7870d1d16on my local.Closing this. Solution is implemented in Piminder 1.0.5 and validated through overnight operation in production.