HomePhabricator

Display scheduler errors in dagit

Authored by Sashank Thupukari <s@thupukari.com> on Oct 10 2019, 12:13 AM.

Description

Display scheduler errors in dagit

Summary:
The startScheduledExecution mutation can return either StartPipelineExecutionSuccess or one of many errors (PipelineConfigValidationInvalid, PipelineNotFoundError, etc).

In the case that it's not StartPipelineExecutionSuccess, a run is not created, and users have to go into the scheduler debug logs to find the error. This diff adds a UI change in dagit that displays the error if the last entry in the scheduler debug logs was not StartPipelineExecutionSuccess

Test Plan: create pipeline stats_every_minute, introduce bug after couple runs, verify error is displayed

Reviewers: #ft, alangenfeld

Reviewed By: #ft, alangenfeld

Subscribers: alangenfeld

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

Details

Committed
Sashank Thupukari <s@thupukari.com>Thu, Nov 7, 10:39 PM
Reviewer
Restricted Project
Differential Revision
D1279: Display scheduler errors in dagit
Parents
R1:c2d6b022ec78: switch posix to use signal handlers to kill compute log tail processes
Branches
Unknown
Tags
Unknown