HomePhabricator

[RFC] Errors in daemon heartbeats

Description

[RFC] Errors in daemon heartbeats

Summary:
Catch exceptions in run_iteration and include them in the heartbeats. DaemonStatus.healthy now implies that there both has been and recent heartbeat and it was without an error

Some questions are inline re: serialization of exceptions and Heartbeat/HeartbeatInfo into the db

Test Plan: Unit

Reviewers: dgibson, prha

Reviewed By: dgibson

Differential Revision: https://dagster.phacility.com/D5626

Details

Provenance
johannAuthored on Dec 15 2020, 8:23 PM
Reviewer
dgibson
Differential Revision
D5626: [RFC] Errors in daemon heartbeats
Parents
R1:28a58c474f33: fix place where we were yielding inside a user_code_error_boundary
Branches
Unknown
Tags
Unknown