Skip to content

PF-168: use classmethod for runner queue cost determination#215

Merged
anfimovdm merged 1 commit into
clfrom
pf-168-runner-cost-classmethod
Jun 19, 2026
Merged

PF-168: use classmethod for runner queue cost determination#215
anfimovdm merged 1 commit into
clfrom
pf-168-runner-cost-classmethod

Conversation

@anfimovdm

Copy link
Copy Markdown
Contributor

Replaces hardcoded runner_type checks in the scheduler with a get_cost(release_build) classmethod. Base class returns COST by default; OpennebulaRunner overrides it to return COST_STANDARD=1 or COST_RELEASE_BUILD=2. COST=0 is preserved as the emergency routing queue.

Replaces hardcoded runner_type checks in the scheduler with a
get_cost(release_build) classmethod. Base class returns COST by default;
OpennebulaRunner overrides it to return COST_STANDARD=1 or
COST_RELEASE_BUILD=2. COST=0 is preserved as the emergency routing queue.
@anfimovdm anfimovdm merged commit 80bfe41 into cl Jun 19, 2026
1 of 3 checks passed
@anfimovdm anfimovdm deleted the pf-168-runner-cost-classmethod branch June 19, 2026 07:38
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