Repository navigation
Backlog
Milestone
Description
Parent
Ticket LF6 of spec #3028 (0.1.2): with a Roster, launch-fleet passes a full answer to the next candidate, in table order. Size: S.
What to build
In openwizdev/WizSkills, on top of the Roster pick (#1854) and LF5's full handling (#3034):
skills/launch-fleet/scripts/host.py: with a Roster, a start walks the role's candidates in table order (roster v1, rule 4 as 0.1.2 LF2: the Roster tries the next entry when a host is full #3030 amends it).- An entry whose driver gives the full refusal passes the start to the next candidate. It is never retried or reported, and it goes to the owner-only driver log as in LF5.
- Any other refusal keeps today's retry and report, and never moves on.
- When every candidate answers full, exit 1 with exactly
roster: every entry for the <R> role is full; the start waits, with no note, no comment and nothing saved. - The run is saved with the entry's driver that took it.
contracts/roster.v1.md: the byte-identical copy of OpenWiz's contract after 0.1.2 LF2: the Roster tries the next entry when a host is full #3030.skills/launch-fleet/scripts/fixtures/roster/full/,all-full/,full-then-failed/: copies of OpenWiz's new cases. The Roster tests run them as they run the existing cases..changeset/3035-roster-overflow.md: the WizSkills changeset.
Owned paths
skills/launch-fleet/scripts/host.pyinopenwizdev/WizSkillsskills/launch-fleet/scripts/test-host.pyinopenwizdev/WizSkillscontracts/roster.v1.mdinopenwizdev/WizSkillsskills/launch-fleet/scripts/fixtures/roster/full/inopenwizdev/WizSkills(new)skills/launch-fleet/scripts/fixtures/roster/all-full/inopenwizdev/WizSkills(new)skills/launch-fleet/scripts/fixtures/roster/full-then-failed/inopenwizdev/WizSkills(new).changeset/3035-roster-overflow.mdinopenwizdev/WizSkills(new)
Relies on: contracts/roster.v1.md in openwizdev/OpenWiz
Links
- 0.1.2 LF2: the Roster tries the next entry when a host is full #3030 real: the amended pick rule 4 and the three fixture cases this reader must pass
- 0.1.2 LF5: launch-fleet starts on the first host with room, in Host order #3034 real: the full-refusal detection, its driver-log entry and the wait outcome this extends to Roster candidates
- 0.1.1 KN21: launch-fleet picks who starts a ticket from the Roster #1854 real: the Roster pick in
host.pythat this changes
Acceptance criteria
-
full/: the second candidate starts and is saved -
all-full/: the exact wait line, no note, no comment, nothing saved -
full-then-failed/: the failure is retried and reported, and no later candidate is tried - Every existing Roster case is unchanged
- The WizSkills copy of
contracts/roster.v1.mdis byte for byte OpenWiz's -
python3 -I skills/launch-fleet/scripts/test-host.pypasses, red first
Proof
P3 (routing): the Roster cases on fake drivers, red first.
Metadata
Metadata
Assignees
Labels
No labels
Activity