HomeElementl

[dagit] Add a polling query for Run logs

Description

[dagit] Add a polling query for Run logs

Summary:
Branch LogsProvider to use a polling query in cases where the websocket is not open. The query uses after to retrieve slices of logs.

Depends on https://dagster.phacility.com/D8220.

Test Plan: Force query branch in code. Launch a run. Verify that polling occurs correctly, and that the Gantt and logs table update correctly as well. Verify that the polling terminates properly when the status reaches a completed state.

Reviewers: alangenfeld, dgibson, bengotow

Reviewed By: bengotow

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

Details

Provenance
dishAuthored on Jun 3 2021, 5:16 PM
Reviewer
bengotow
Differential Revision
D8224: [dagit] Add a polling query for Run logs
Parents
R1:400c3c573f26: [docs] Run Attribution
Branches
Unknown
Tags
Unknown