Skip to content

0.2.0 DR13: updates keep existing users' drivers #3006

Backlog

Description

@jparker2006

Parent

Ticket DR13 of spec #3027 (0.2.0). Size: M.

What to build

An install that uses a driver the new build stops bundling (CloudRoom first) fetches that driver from the new build's pin file before the build switches, with a one-line notice and no click; if the fetch fails, the last good build stays selected and the user is told the next step. Settings, the Roster and host names stay as they are.

Owned paths

  • tools/install/drivers/ (shared: the update-before-switch step)
  • tools/install/install.py (shared: the activation hook)
  • tools/install/tests/installer/ (shared: the update tests)

Relies on: contracts/driver-package.v1.md, contracts/driver-package.v1.schema.json, contracts/install.v1.md

Links

Acceptance criteria

  • A fixture install using a fixture pinned host updates with the driver fetched and the new build selected
  • A failed fetch leaves the last good build selected
  • No setting or Roster file changes
  • Tests red first

Proof

P6: the update tests, red first. Review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions