-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add new concurrency config to consolidate concurrency settings #26931
Conversation
12b7103
to
f71c7ea
Compare
13f2c3c
to
4710c64
Compare
f71c7ea
to
f572156
Compare
4710c64
to
2ce911a
Compare
f572156
to
8cfee9c
Compare
2ce911a
to
e5e8022
Compare
8cfee9c
to
152beca
Compare
e5e8022
to
32eec84
Compare
152beca
to
068a084
Compare
32eec84
to
3ba911e
Compare
068a084
to
6927f22
Compare
bf19552
to
17ed4d9
Compare
253141f
to
24f23d7
Compare
17ed4d9
to
6a116d5
Compare
24f23d7
to
16acc11
Compare
6a116d5
to
7309b15
Compare
16acc11
to
7dae80e
Compare
7309b15
to
256d726
Compare
7dae80e
to
8649c64
Compare
256d726
to
3efd17a
Compare
8649c64
to
f1b7934
Compare
3efd17a
to
3d2b288
Compare
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit 3d2b288. |
def verify_config_match(config: Mapping[str, Any], path_a: Sequence[str], path_b: Sequence[str]): | ||
value_a = pluck_config_value(config, path_a) | ||
value_b = pluck_config_value(config, path_b) | ||
if value_a is None or value_b is None: | ||
return | ||
|
||
if value_a != value_b: | ||
path_a_str = " > ".join(path_a) | ||
path_b_str = " > ".join(path_b) | ||
raise DagsterInvalidConfigError( | ||
f"Found `{value_a}` for `{path_a_str}` that conflicts with `{value_b}` for `{path_b_str}`.", | ||
[], | ||
None, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be deleted now
3d2b288
to
e63a776
Compare
f1b7934
to
be7ec05
Compare
e63a776
to
6dd295b
Compare
…ce (#26932) ## Summary & Motivation For ease of use, #26931 consolidates concurrency settings (including queued run coordinator settings) into a single deployment settings block. This PR makes it so that run queue settings are now accessed off of the instance, instead of off of the run coordinator. The run coordinator is a standalone-configured module. This makes it difficult to incorporate instance settings from other places. ## How I Tested These Changes BK
6dd295b
to
9f65155
Compare
Summary & Motivation
This PR enables setting run concurrency settings from the run_queue configuration block into the
concurrency
deployment settings block.This is to simplify concepts from a configuration standpoint.
The hypothesis is that most people will not need to even know about the run coordinator, and instead will only interact with this concurrency section.
How I Tested These Changes
BK
Changelog
Moves run queue configuration from its standalone deployment setting into the
concurrency
deployment setting, along with new settings for pools.