Page MenuHomeElementl

Remove deprecated workspace graphql classes
ClosedPublic

Authored by dgibson on May 24 2021, 10:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 11 2023, 8:21 PM
Unknown Object (File)
Apr 4 2023, 4:31 PM
Unknown Object (File)
Apr 4 2023, 1:07 AM
Unknown Object (File)
Apr 4 2023, 12:02 AM
Unknown Object (File)
Apr 2 2023, 7:07 PM
Unknown Object (File)
Apr 2 2023, 1:00 PM
Unknown Object (File)
Apr 2 2023, 4:52 AM
Unknown Object (File)
Apr 2 2023, 4:19 AM
Subscribers
None

Details

Summary

After this change the workspace field is the one top-level place to get the current set of workspace location entries.

Test Plan

BK, reload repo location and workspace in dagit

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 24 2021, 10:32 PM
Harbormaster failed remote builds in B31096: Diff 38248!

note to self, still need to fix DagsterGraphQLClient.reload_repository_location (the fact that no tests are failing is troubling)

Not sure what our back-compat preservation strategy is for the python client, particularly since it's so new... is it OK to swap out the underlyint query for reloadRepositoryLocation here (and just delete the old snapshot from the python client backcompat tests)?

Not sure what our back-compat preservation strategy is for the python client, particularly since it's so new... is it OK to swap out the underlyint query for reloadRepositoryLocation here (and just delete the old snapshot from the python client backcompat tests)?

Yes, the snapshot was just to ensure that something would break if the graphql schema changes in such a way that the query is no longer valid. Once the client is using the new query, there is no reason to have the old snapshot anymore (as a new one is generated from the new query)

Requesting changes since confused on whether there might be more stuff to review since the diff is not being compared to master

python_modules/dagster-graphql/dagster_graphql/schema/external.py
298–299

Is this stacked on something that hasn't been landed? This is not on master

Should this be added to types?

This revision now requires changes to proceed.May 26 2021, 3:18 AM

rebase

python_modules/dagster-graphql/dagster_graphql/schema/external.py
299

WorkspaceConnection was renamed to Workspace in a previous diff, now landed

Fix python client tests (now failing as hoped after D8083)

js_modules/dagit/packages/core/src/graphql/schema.graphql
758

also fixed this embarassing typo

This revision is now accepted and ready to land.May 26 2021, 4:26 PM