Repository navigation
Description
Raised out of #1166. The fleet pins one version line per host tool and has no mechanism that notices when upstream ships a later one, so the decision to move is made whenever somebody happens to look.
The state today
winget publishes Python as one package id per minor line, Python.Python.3.0 through Python.Python.3.14, and host-setup/windows/install-tools.ps1 pins Python.Python.3.13. A pinned per-line id is a fixed release that can never advance, so -Upgrade python only ever moves 3.13.x and never reaches 3.14, which was 3.14.7 in the catalog when this was written. Microsoft.DotNet.SDK.10 has the same shape and the same question when .NET 11 ships. node is the one tool that does not, because OpenJS.NodeJS.LTS is a floating id that follows the LTS line on its own.
The floor in spec/host-tools.json is a genuine minimum rather than a target: a Linux distribution ships the line it ships, so a host at the floor and a host above it both pass. That is deliberate and is not what this issue asks to change. What is missing is the signal that a later line exists and is worth adopting.
The mechanism already exists here
.github/workflows/check-upstream-version-task.yml is a hub-hosted reusable task built for exactly this shape: a resolve-upstream hook action resolves current upstream versions, the task diffs them against a committed state file, and it opens a rolling App-signed pull request naming only what moved. auto-merge: false routes that pull request to a human instead of the merge bot. ESPHome-NonRoot runs two instances of it in production, one of them with auto-merge: false.
The hub has never pointed it at itself. It carries no scheduled workflow calling the task and no .github/actions/resolve-upstream/, so those two pieces are the whole gap.
Why the pin stays pinned
The maintainer's call, recorded here so it is not relitigated: the tracker opens a pull request and a human moves the pin. Moving the Python line has to move with pyproject.toml's three settings (target-version = "py313", python_version = "3.13", pythonVersion = "3.13") and the three CI python-version: "3.13" settings in .github/actions/validate/action.yml and .github/workflows/validate-task.yml. An installer that followed the newest line on its own would put hosts ahead of what ruff, mypy and pyright are configured for, and Linux hosts could not follow it anyway since the distribution decides there.
What this issue needs
A design pass before any code: what the state file watches (a resolved latest line per pinned tool, or the full catalog), where it lives, how a bump pull request names the settings that must move with the pin, and whether dotnet and python share one tracker or take one each.
Activity
ptr727 commentedon Nov 1, 2026
Decision needed (decision triage, 2026-11-01)
Question: For the host-tool version tracker pointing
check-upstream-version-task.ymlat the hub, should the state file record one resolved latest line per pinned tool or the full upstream catalog, and should dotnet (Microsoft.DotNet.SDK.10) and python (Python.Python.3.13) share one tracker or have one each?Options, recommended first:
resolve-upstreamhook per repo and already accepts a multi-key object naming only moved keys, so no task change. Useauto-merge: false. No work in flight.Evidence: check-upstream-version-task.yml header ("a JSON object of name -> version, one key or several for a multi-component pin"), fixed
uses: ./.github/actions/resolve-upstream, diff "naming only components that moved". The PR body lists keys only, so naming settings that move with a pin is a follow-on design point. The hub has no.github/actions/resolve-upstream/or caller yet. install-tools.ps1:621, :626 hold the pins. The issue records the maintainer's call that a human moves the pin.Blocks: none
ptr727 commentedon Nov 1, 2026
Maintainer answer (decision triage, 2026-11-01): Option 1: one tracker, one key per pinned tool holding its newest upstream line, with auto-merge false. This is now work for the next burndown round.
ptr727 commentedon Nov 24, 2026
Released (2026-11-24): PR #4412 merged to develop at 36189e8; branch and worktree cleaned up, so this claim holds no files. The issue closes on promotion. A live run of the tracker is owed to the maintainer.
Backlog burndown claim (away run 2026-11-24, round 3, group 3): branch
burndown/host-tool-line-tracker, issue #1170.Per the maintainer's answer of 2026-11-01 (option 1), there is one tracker. It has one key per pinned host tool, holding that tool's newest upstream line (for example python
3.14, dotnet10), withauto-merge: false. The pin itself stays a human's move, as this issue records.Predicted files, all new:
.github/workflows/that calls the hub'scheck-upstream-version-task.yml..github/actions/resolve-upstream/action.yml, the task's required hook, with any resolver script beside it.tests/.check-upstream-version-task.ymlitself is not in this claim and is not edited.Files as created:
.github/workflows/check-host-tool-lines.yml,.github/actions/resolve-upstream/{action.yml,dotnet.jq,python.jq},host-tool-lines.json,tests/test_resolve_upstream.py.spec/divergences.json, one accepted gap row for.github/actions/resolve-upstream/action.yml(granted 2026-11-24: the audit would otherwise flag adopters' required hook as hub-only content).Any other group needing one of these files waits for this branch to merge.
Track the Newest Upstream Line of Each Pinned Host Tool (#4412)