HomeElementl

[dag-star] initial starlette app for dagit

Description

[dag-star] initial starlette app for dagit

Summary:
Our existing Flask + graphql-ws + gevent implementation of dagit has a number of issues

I did an exploration of starlette in D8040 which was promising. I believe we can move to this modern ASGI framework which gives us greater control and testability. This will be key in both resolving current issues and evolving dagit more effectively moving forward.

This first diff gets basic scaffolding in place and the dagit_info endpoint. Subsequent diffs will add other endpoints until we have parity with the flask app. After some further experimentation with it once working we can figure out a cut over strategy.

Test Plan: added test

Reviewers: prha, max

Reviewed By: prha

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

Details

Provenance
alangenfeldAuthored on Jul 9 2021, 7:16 PM
Reviewer
prha
Differential Revision
D8807: [dag-star] initial starlette app for dagit
Parents
R1:0469f9306487: [docs] fix GCS typo (#4396)
Branches
Unknown
Tags
Unknown