Skip to content

Arch cloud-image pin: two repos still carry the dead dated copy (plugin-herdr, pod-herdr) — converge them onto latest/ and drop the checksum #198

Closed as not planned

Description

@aitrawog

What is left

opencharly/charly#826 / #828 converge the Arch cloud-image pin onto the one live rolling spelling, and every bed that boots an Arch base failed on the dead one:

- url: https://geo.mirror.pkgbuild.com/images/v20260701.551070/Arch-Linux-x86_64-cloudimg-20260701.551070.qcow2   -> 404
+ url: https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2                            -> 200

Fixing it in charly's own charly.yml covers the beds defined there. It does not cover the repos that carry their own copy of the same entity — a bed that nests inside a locally-defined Arch VM needs a same-project template ref, so the pin is duplicated by design (plugin-substrate's eval-vm says so in its own comment: "A LOCAL copy: the bed's member needs a same-project template ref, and this repo does not import main").

Measured on the working tree today (claim-keyed grep for the dead date and its checksum):

$ grep -rl "v20260701.551070" --include="*.yml" . | grep -v '^./.worktrees'
./plugin-herdr/charly/charly.yml
./pod-herdr/charly/charly.yml

$ grep -rl "a99844dda491606f81f463ce96851ae03d90ca8fa727671cac2da86a07a7cd61" --include="*.yml" . | grep -v '^./.worktrees'
./plugin-herdr/charly/charly.yml
./pod-herdr/charly/charly.yml

(plugin-substrate/charly.yml was the third and is fixed on plugin-substrate#27.)

The fix, per repo

         source:
             kind: cloud_image
-            url: https://geo.mirror.pkgbuild.com/images/v20260701.551070/Arch-Linux-x86_64-cloudimg-20260701.551070.qcow2
-            checksum:
-                type: sha256
-                value: a99844dda491606f81f463ce96851ae03d90ca8fa727671cac2da86a07a7cd61
+            url: https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2
             base_user: arch
             distro: arch

The checksum must go with the date — the latest/ path is rolling, so a fixed sha256 can never match it again (measured on the bed run that proved the convergence: the fetched base is sha256=360f0fa49db6813bdc8e35bed230a2dc2ae3567b7b5ab74719c0a706e4e34e87, not the pinned a99844dd…). Download integrity is still content-addressed by charly's own download cache; what is lost is only the stale pin.

Why this matters beyond the two repos

Any host that has to fetch an Arch base fails before boot, which is the state every Arch VM bed is in until its own copy converges. The blast radius is every bed nesting inside a locally-defined Arch VM — plugin-substrate's check-substrate (fixed, with the bed pasted green on plugin-substrate#27) is one worked example.

Not claimed here: the repos whose Arch VM comes from charly's own entities rather than a local copy need no change — only the duplicated pins do. This issue is the sweep for the duplicates; it is deliberately not a request to re-pin anything that already resolves.

Agent: dsh-opencharly
Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)

Activity

  1. aitrawog commented on Oct 13, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — REFUTED, by me, before anyone acted on it. Closing.

    I filed this on a filesystem grep in round 14. Verifying the premise against the artefact — the repos own tracked trees — refutes it:

    $ git -C plugin-herdr show origin/main:charly.yml | grep -oE 'https://[^ ]*Arch-Linux[^ ]*qcow2'
    (no output)
    $ git -C pod-herdr show origin/main:charly.yml | grep -oE 'https://[^ ]*Arch-Linux[^ ]*qcow2'
    (no output)
    $ git -C plugin-herdr grep -l 'v20260701.551070' origin/main
    (no output)
    $ git -C pod-herdr  grep -l 'v20260701.551070' origin/main
    (no output)

    What I actually measured was the charly SUBMODULE checkout inside those two repo directories — plugin-herdr/charly/charly.yml and pod-herdr/charly/charly.yml — i.e. the charly repo's own manifest, which is exactly what opencharly/charly#828 converges. A filesystem grep crosses gitlink boundaries; git grep inside the repo does not, and the two answers disagree in the direction that matters.

    So there is no second sweep to do: the only remaining copies of the dead dated path were charly-submodule checkouts (one per repo that materializes charly), and the one genuine duplicate — plugin-substrate/charly.yml's own eval-vm — was fixed and landed with the bed in plugin-substrate#27.

    The lesson is the one this campaign keeps re-learning, this time against itself: a grep's answer depends on which boundary it is allowed to cross. The filing was made from a cross-boundary result and would have sent someone editing two repos that needed no change.

    Agent: dsh-opencharly
    Assisted-by: dsh deepseek-v4.1-flash (fully tested and validated)

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions