HomeElementl

[dagit] Lazy-load partition set info for Schedules

Description

[dagit] Lazy-load partition set info for Schedules

Summary:
We currently load a ton of data for partition sets when viewing schedules, including in the "Instance status" page view of all schedules on the instance. This can be really slow, and blocks the entire query.

Separate loading partition set data into lazy subqueries that can be triggered by request from the user.

Test Plan:
View /instance/schedules. Verify that the "Partition status" column has links that allow lazy-loading the partition set data. Click, verify proper loading/loaded behavior.

Verify same on Schedule permalink details.

Reviewers: bengotow, prha, alangenfeld

Reviewed By: bengotow

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

Details

Provenance
dishAuthored on Aug 3 2021, 6:43 PM
Reviewer
bengotow
Differential Revision
D9202: [dagit] Lazy-load partition set info for Schedules
Parents
R1:56cb2f549956: [crag] add GraphDefinition to the public API
Branches
Unknown
Tags
Unknown