myxce/.kiro/specs/scheduler-allocation
Rongsong Shen 9d23060b76
test(scheduler-allocation): prove parjob's shared resource commits once
Task 4.3's multi-host merge itself was already implemented and verified
by task 4.2. The one unproven clause -- job-level shared-resource
allocation computed once regardless of host count -- is now covered by
test_shared_resource_debited_once_regardless_of_host_count, using a
PER_JOB (not PER_TASK) global resource so a per-bucket-repeated
computation can't coincidentally sum to the correct total. Mutation
testing (a deliberately injected duplicate per-host shared debit)
confirms the test fails exactly as expected; production code required
no change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XYdtrEWWZfKRRGED7raEYg
2026-09-04 21:53:12 +00:00
..
brief.md docs(scheduler-allocation): approve requirements, add design and tasks 2026-09-04 12:59:39 +00:00
design.md docs(scheduler-allocation): fix xce_host_iter_t.next() return type 2026-09-04 13:26:18 +00:00
requirements.md docs(scheduler-allocation): fix xce_host_iter_t.next() return type 2026-09-04 13:26:18 +00:00
research.md docs(scheduler-allocation): approve requirements, add design and tasks 2026-09-04 12:59:39 +00:00
spec.json docs(scheduler-allocation): approve requirements, add design and tasks 2026-09-04 12:59:39 +00:00
tasks.md test(scheduler-allocation): prove parjob's shared resource commits once 2026-09-04 21:53:12 +00:00