Repository navigation
Issue #1504: fix: let the orchestrator parse the Dagster 1.13 webserver's schema - #1515
Merged
Merged
Conversation
…r 1.13 webserver's schema Every orchestrator job submission on dev fails with `TypeError: deprecated locations must be specified as a collection of DirectiveLocation enum values`, so exports return "Unable to retrieve learner data from Query Planner". The webserver now runs Dagster 1.13.26, whose introspected schema graphql-core 3.2.6 and 3.2.7 can't build into a client schema; 3.2.14 can (reproduced locally against dagster-graphql 1.13.26's schema). gql 3.5.1-3.5.3 cap graphql-core below 3.2.7, and dagster-graphql 1.11.4 needs gql < 4, so the floor on graphql-core selects gql 3.5.0, the last 3.x that allows graphql-core < 3.3. dagster and dagster-graphql stay 1.11.4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 tasks done
dereck-symmetry
pushed a commit
that referenced
this pull request
Nov 14, 2026
- The Orchestrator API must be rebuilt after #1515 too (graphql-core 3.2.14+ for the 1.13.26 Dagster webserver), with a row in chapter 8 for its TypeError and the planner's 503. - Overlays: dev is converted; demo and the local seed aren't yet (#1513). - Seven files under test/scripts/ use testing.postgresql. - The control plane's workflow note no longer links the closed #1182. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
Every orchestrator job submission on dev fails:
The Query Planner then returns 503, and the MDR Export Playground shows "Unable to retrieve learner data from Query Planner".
Cause: the Dagster webserver now runs 1.13.26 (#1504). The orchestrator's
dagster-graphqlclient builds a client schema from the webserver's introspection, using graphql-core 3.2.6, and that graphql-core can't build the newer schema. I reproduced this locally: I took the introspection result fromdagster-graphql==1.13.26's schema and ranbuild_client_schemaon it. graphql-core 3.2.6 and 3.2.7 fail with the sameTypeError, and 3.2.14 succeeds.Fix:
projects/lif_orchestrator_api/pyproject.tomlgets agraphql-core>=3.2.14,<3.3floor. gql 3.5.1–3.5.3 cap graphql-core below 3.2.7, anddagster-graphql1.11.4 needs gql < 4, so the lock resolves:dagsteranddagster-graphql: unchanged at 1.11.4Limitations:
revisionfrom 2 to 5.Related Issues
Refs #1504
Type of Change
Project Area(s) Affected
Checklist
uv run ruff check)uv run ruff format)uv run ty check)Testing
DagsterGraphQLClientimports cleanly.uv run pytest test/ -k orchestratorpasses 51 tests.uv lock --checkpasses inprojects/lif_orchestrator_api.e2e,@happy-path) againstmdr.dev.There's no unit test, because the failure needs a live Dagster webserver.
🤖 Generated with Claude Code