- Add FleetWeightRegistry + resolveWeights() for per-product/per-request weight tunability with defaults fallback (backward compatible) - Add selectPreemptionVictim() pure function: only critical jobs may trigger, never evicts equal/higher priority, picks lowest-priority victim - Wire preemption into coordinator behind FLEET_PREEMPTION flag (default OFF) - Seat-limit enforcement: at seatLimit factories skip normal selection and attempt preemption of lower-priority running jobs for critical newcomers - Eviction preserves checkpoint, bumps leaseEpoch (fences zombie), requeues - 18 new tests (pure scheduler + coordinator integration) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| package.json | ||
| POSTAL_SMTP_SETUP.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||