Skip to content

Update all rigs: skip duplicate-identity rigs and report a per-rig outcome #4311

Open

Description

@pithead-architect

What's the problem

Split from #4016, which covered Upgrade rig, Update all and Remove rig in one issue. The Update-all host verb already landed in PR #3827 and its UI in PR #3836, so what remains for Update all is the fleet rules: it has no identity filter, so it can act on rigs in a duplicate-identity fault, and it reports no per-rig outcome.

What it impacts

Coordinator operators using Update all on a fleet that includes cloned or duplicated rig identities, and anyone who needs to know which rigs a run updated, skipped or failed.

How I found it

Grooming on 2026-11-20: reading #4016, PR #3827 and PR #3836, and the identity chain #4180, #4181 and #4182. Unknown: the exact shape of the existing Update-all result that PR #3836 renders.

How important is it

Medium for v2.1.0. It is blocked by #4182 (the duplicate-identity fault must be a single, reliable signal first); Upgrade rig and Remove rig stay in #4016.

Acceptance criteria

  • Update all skips every rig in a duplicate-identity fault and says so for that rig.
  • Update all reports one outcome per rig (updated, skipped with the reason, refused, unreachable, failed), shown in the UI and recorded in the audit log.
  • One update in flight per rig; a rebooting rig shows as updating for a bounded time before offline.
  • No rig is offered a target above the coordinator's own version.
  • Tests cover success, skipped for duplicate identity, refused, unreachable and old-image rigs.

Possible solutions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    applianceenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions