-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix job tick history queries when the repo is defined as a dict
Summary: We were not handling the jobState graphql queries correctly when schedules were loaded using the lazy repository dictionary definition. This diff hides `jobs` (but does not throw) as a repository dictionary key and adds sensors. It also merges schedules and sensors into jobs, making sure that the `jobState` query resolves correctly. I changed some of the graphql test structure to load a lazy repository dictionary definition as one of the multi_location test variants. Then I hooked up the jobs tests to query the secondary location repository and made sure it loaded correctly. Should resolve #3626 Test Plan: bk Reviewers: dgibson, johann Reviewed By: dgibson Differential Revision: https://dagster.phacility.com/D6359
- Loading branch information
Showing
14 changed files
with
254 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.