Skip to content

repos install/converge should surface version currency: installed vs latest release, and warn when the installed version predates a trigger migration #10077

Backlog

Description

@fullsend-ai-retro

What happened

During the 2026-12-03 13:33–14:01 dispatch outage on Marc-test/yt-download (GitHub's pull_request_target default block, #9221), the operator's remediation was a fullsend repos converge run. It produced PR #11, titled "chore: bump fullsend from v0.56.1 to v0.56.1" — a same-version converge whose entire diff was adding a prioritize agent entry to .fullsend/config.yaml. It did not change the workflow pin, did not deliver the pull_request-based shim that v0.57.0+ contains, and the PR title/body claimed a pin update that did not happen. The operator merged it mid-outage; dispatch recovery came from a separate (unconfirmed) admin action, not the merge. In other words: an operator actively trying to repair broken PR automation was handed a no-op PR by the tooling, with zero signal that v0.57.0 (released Nov 20, containing the fix) and v0.58.0 (Dec 1) existed.

What could go better

The mislabeled title is already fixed on main (#9901, commits eed8255/ebda7432, merged 2026-11-27; ships in v0.58.0). The recurrence here stems from the operator running a pre-fix CLI, which the tooling neither detected nor warned about. The unaddressed gap is version currency: repos install/converge/repos status never compare the installed (or CLI) version against the latest upstream release, so a stale binary converges a repo to an old version silently — and during a known fleet incident, the operator gets no hint that a release containing the remediation exists. Uncertainty: I cannot confirm which CLI version generated PR #11 (it was a local run under the operator's account); the same-version target and pre-#9901 title formatting strongly indicate a pre-Nov-27 binary converging to its own embedded version. Confidence is moderate-high that a currency warning would have changed the outcome here — the operator was demonstrably in repair mode.

Proposed change

In the repos lifecycle (internal/cli/repos.go, internal/repos/scaffold_metadata.go and the converge flow): (1) repos status and repos install/converge (including --dry-run output and the generated PR body) should fetch the latest upstream release and report the delta — e.g. "installed v0.56.1, latest v0.58.0" — whenever they differ; (2) when the installed version predates a release that changes the scaffold's workflow triggers (such as #9230's pull_request_target → pull_request migration), print an explicit warning naming the migration and the release that contains it; (3) warn when the running CLI's own version is older than the installed scaffold version or the latest release, pointing at the self-update command (#2084). This is a deliberately small increment toward #10013's automated release PRs that requires no new architecture.

Validation criteria

Against a repo pinned to an older minor: (1) repos status and repos install --dry-run output includes the installed and latest versions and a behind-count; (2) a converge run on a repo whose installed version predates the #9230 trigger migration prints a warning naming that migration; (3) the next operator-initiated converge PR body in a fleet repo includes the version delta; (4) within the next quarter, at least one operator-facing converge/status run on a behind-version repo is observably followed by an upgrade (branch or PR) rather than a same-version converge.

Related issues checked

Searched: converge latest release version (fix-keyed, open and closed issues in fullsend-ai/fullsend); converge version behind stale (root-cause-keyed, across fullsend-ai/fullsend, fullsend-ai/agents, Marc-test/yt-download)
Considered: #10013, #9901, #2084, #9714
#10013 (open) proposes Dependabot-style automated release PRs — this proposal meaningfully refines it with an immediate, low-cost increment (surface the delta in existing commands) that does not depend on that architecture landing. #9901 (closed, completed 2026-11-27) fixed the mislabeled bump title — the Dec 3 recurrence came from a stale operator CLI, not a code regression, and the currency warning proposed here addresses exactly that stale-binary path. #2084 (closed, completed) added a CLI self-update command — binary update mechanics, but nothing surfaces version currency during converge/status runs. #9714 (closed, completed) fixed pin-only upgrades leaving the old trigger — a different upgrade bug, cited as upgrade-time context.


Generated by retro agent from Marc-test/yt-download#11

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions