[dag-star] initial starlette app for dagit
Summary:
Our existing Flask + graphql-ws + gevent implementation of dagit has a number of issues
- https://github.com/dagster-io/dagster/issues/4143
- https://github.com/dagster-io/dagster/issues/4089
- https://github.com/dagster-io/dagster/issues/2655
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