Skip to content
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 pool label to "resource requests ... are unsatisfiable" message #342

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

jmarshall
Copy link

@jmarshall jmarshall commented Jun 11, 2024

Pool labels are a CPG-local addition (added in PR #197) that are considered in select_inst_coll() so should be displayed in this error message — unfortunately we neglected to report them in the error message at the time.

I've verified that this is the only new select_inst_coll() parameter not represented in the error message (worker_type is also not directly printed, but it is derived within _create_jobs() from other fields rather than being a config field), and that there are no other similarly bereft error messages elsewhere.

Context: https://centrepopgen.slack.com/archives/C030X7WGFCL/p1718060676098609?thread_ts=1717563218.399159&cid=C030X7WGFCL

Pool labels are a CPG-local addition (PR #197) that are considered
in select_inst_coll() so should be displayed in this error message.
Copy link

@illusional illusional left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks @jmarshall!

@jmarshall jmarshall merged commit 534aa68 into main Jun 11, 2024
@jmarshall jmarshall deleted the errmsg/pool_label branch June 11, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants