fix(scheduler): separate eligibility from negative GPU scores #7

Merged
arnaud.dartois merged 1 commits from audit/pipe-scoring into main 2026-10-20 07:28:48 +02:00
Owner

Problem

The scheduler used a negative score both as a GPU preference bonus and as the ineligible marker, so an otherwise valid same-site GPU agent could be removed from the candidate list.

Change

Represent eligibility separately from ranking: agents that miss GPU, CPU, or RAM requirements are excluded; eligible agents retain the GPU preference bonus and workload/site ranking. Add coverage across job types, site affinity, and workload.

Validation

  • AnalysisJobSchedulerServiceTests: 48 passed, 0 failed, 0 skipped.
  • Integrated main + runtime + scoring suite: coordinator reports Agent 362/362 passed.
  • git diff --check: passed.

Targets main; independent of profile. Ready for coordinator merge.

## Problem The scheduler used a negative score both as a GPU preference bonus and as the ineligible marker, so an otherwise valid same-site GPU agent could be removed from the candidate list. ## Change Represent eligibility separately from ranking: agents that miss GPU, CPU, or RAM requirements are excluded; eligible agents retain the GPU preference bonus and workload/site ranking. Add coverage across job types, site affinity, and workload. ## Validation - AnalysisJobSchedulerServiceTests: 48 passed, 0 failed, 0 skipped. - Integrated main + runtime + scoring suite: coordinator reports Agent 362/362 passed. - `git diff --check`: passed. Targets main; independent of profile. Ready for coordinator merge.
arnaud.dartois added 1 commit 2026-10-20 07:24:20 +02:00
arnaud.dartois merged commit 90704e6e0e into main 2026-10-20 07:28:48 +02:00
arnaud.dartois added the area:analysispriority:P2type:bug labels 2026-11-06 13:40:04 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arnaud.dartois/Heimdall#7