Skip to content

0.1.2 LF6: with a Roster, a full host passes the start to the next entry #3035

Backlog

Description

@jparker2006

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.py in openwizdev/WizSkills
  • skills/launch-fleet/scripts/test-host.py in openwizdev/WizSkills
  • contracts/roster.v1.md in openwizdev/WizSkills
  • skills/launch-fleet/scripts/fixtures/roster/full/ in openwizdev/WizSkills (new)
  • skills/launch-fleet/scripts/fixtures/roster/all-full/ in openwizdev/WizSkills (new)
  • skills/launch-fleet/scripts/fixtures/roster/full-then-failed/ in openwizdev/WizSkills (new)
  • .changeset/3035-roster-overflow.md in openwizdev/WizSkills (new)

Relies on: contracts/roster.v1.md in openwizdev/OpenWiz

Links

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.md is byte for byte OpenWiz's
  • python3 -I skills/launch-fleet/scripts/test-host.py passes, red first

Proof

P3 (routing): the Roster cases on fake drivers, red first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions