Page MenuHomePhabricator

Run queuing enabled endpoint
ClosedPublic

Authored by johann on Jan 14 2021, 8:57 PM.

Details

Summary

Boolean for whether run queuing is supported by the instance. To be used to show a better null state on the queued runs tab when queuing is not supported, something like

"Run queuing is not supported on this instance. See the QueuedRunCoordinator docs to change this".

Test Plan

Can add a test if desired

Diff Detail

Repository
R1 dagster
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

@dish here's the endpoint for queuing, you could commandeer or I can land this after release

johann added a reviewer: dgibson.
dgibson requested changes to this revision.Jan 20 2021, 4:55 PM

looks good, add test?

This revision now requires changes to proceed.Jan 20 2021, 4:55 PM

Is there a lighter weight way to do this test

add that mark and make sure this test is actually included in postgres_instance_hosted_user_process_env, then looks good

python_modules/dagster-graphql/dagster_graphql_tests/graphql/graphql_context_test_suite.py
283 ↗(On Diff #30097)

this needs Marks.postgres_instance

This revision is now accepted and ready to land.Jan 27 2021, 2:40 PM
This revision was automatically updated to reflect the committed changes.