Skip to content

Fix mismatch queue logic in HPCHost - #57

Merged
islas merged 1 commit into
releases/1.2.0from
bugfix-hpchost_mismatch_queue
Aug 26, 2026
Merged

Fix mismatch queue logic in HPCHost#57
islas merged 1 commit into
releases/1.2.0from
bugfix-hpchost_mismatch_queue

Conversation

@islas

@islas islas commented Aug 26, 2026

Copy link
Copy Markdown
Owner

The current logic only checked if the two values were not None, which would cause failure even if they both matched.

Additionally, the resource acquisition logic in PBSHost always assumed queue selection from the ResourceRequestor if set and did not consider if a queue was set in the HPCHost. To fix this the queue to look for is seeded with the host queue, which is functionally None in the default case - same as before.

These two fixes together work in tandem to fix issues where queue selection between two different queues since the addition of #40. The changes in #40 allowed for autoqueuing, but did not test for when there may be a deliberate selection that would differ from the auto selected queue.

The current logic only checked if the two values were not None, which
would cause failure even if they both matched.

Additionally, the resource acquisition logic in PBSHost always assumed
queue selection from the ResourceRequestor if set and did not consider
if a queue was set in the HPCHost. To fix this the queue to look for is
seeded with the host queue, which is functionally None in the default
case - same as before.

These two fixes together work in tandem to fix issues where queue
selection between two different queues since the addition of #40.
The changes in #40 allowed for autoqueuing, but did not test for when
there may be a deliberate selection that would differ from the auto
selected queue.
@islas
islas changed the base branch from develop to releases/1.2.0 August 26, 2026 18:44
@islas
islas merged commit 76ea567 into releases/1.2.0 Aug 26, 2026
8 checks passed
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.

1 participant