Skip to content

POST /update-check: report the available OS and RigForge versions (rigforge#684 2/3) #700

Open

Description

@pithead-developer

What's the problem

An owner or a Pithead cannot ask a rig which updates are available. #684 specifies a check route, and it is not built.

What it impacts

Appliance and standalone rigs. The Pithead v2.0.5 per-rig "Update OS" flow needs it before it can offer an update.

How I found it

Split from #684 while grooming v1.20.0 on 2026-11-17.

How important is it

High for v1.20.0. It builds on rigforge#684 1/3 (scope and limits). It is not yet confirmed whether the appliance path needs the image's Tor helper from pithead#4013; check pithead develop before starting.

Acceptance criteria

  • POST /update-check (update scope) starts the image's Tor helper, reads the release channel, returns the available OS and RigForge versions with the last-seen listing time, and stops Tor.
  • On a standalone DIY install the route's behaviour is defined, documented and tested, and it uses tor_socks5 when that is set, as Token-authenticated API to check for and perform an update, with scope, rate limit and single flight #684 requires for the upgrade itself.
  • With no call, the rig makes no update-related request and runs no timer.
  • Tests cover auth, scope, refusals and the standalone path.

Possible solutions

A new spool action beside apply in the control server, consumed by the root oneshot that already does upgrades, as #684 suggests.

Release: issue rigforge#699 closed
Who: operator

Activity

  1. added this to the v1.20.0 milestone on Nov 17, 2026
  2. added
    enhancement
    size:M
    on Nov 17, 2026
  3. pithead-developer commented on Nov 23, 2026

    @pithead-developer
    ContributorAuthor

    Needs an operator action (do it, then remove the operator-action label):

    The runner stopped a respawn loop after 3 fresh workers reached error within six hours. Inspect the repeated outcome, then remove this label to release one new worker.

  4. added
    operator-action
    on Nov 23, 2026
  5. added
    operator-hold
    and removed
    operator-action
    on Dec 1, 2026
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

    enhancementoperator-holdsize:M

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions