Skip to content

the generated go.work pins go 1.26.4, so a plugin cannot adopt an sdk tag that requires 1.26.8 #1009

Closed

Description

@aitrawog

Two independent legs hit this and neither could route around it.

The measurement

sdk v0.2026294.1003 declares go >= 1.26.8. The umbrella's generated charly/go.work pins 1.26.4. A plugin that bumps its sdk pin to a current tag therefore cannot build through --dev-plugin, which is how every R10 bed in this programme drives a plugin:

$ # plugin-migrate, bumping sdk to v0.2026294.1003
$ ./charly/scripts/bootstrap-charly.sh --dev-plugin plugin-migrate=$PWD/plugin-migrate
go: go.work requires go >= 1.26.8 (running go 1.26.4)

plugin-migrate#24 and plugin-pipeline#47 both hit it. Both did the honest thing — kept the load gate as a frozen snapshot and ran the REAL validator at the boundary instead — and both said so rather than forcing the bump. plugin-pipeline landed on sdk v0.2026293.2302, the newest tag that compiles unchanged.

Why it matters beyond two PRs

It silently caps every plugin at an sdk tag that predates the toolchain bump. A plugin author who does the right thing — pin the current sdk — finds their bed cannot run, and the temptation is to call the bed green from a stale driver. That is precisely the inert-gate failure class this org spent a week finding (strings | grep -c 'skills: %v' returning 0 while every validate printed 0 warnings, 0 errors).

And it makes a sdk capability that IS released unreachable from the beds that must prove it. sdk#441, sdk#437 and the lanes arm are all in that window today.

What would close it

Either:

  1. a charly go.work bump to 1.26.8 (and whatever the generated file's source is) as its own cutover, so a plugin can adopt a current sdk; or
  2. a documented recipe for a plugin bed that needs a newer toolchain than the generated go.work — e.g. a per-plugin go.work override that the bootstrap honours, so the driver does not have to be stale.

Not filed anywhere before now, and flagged by two legs independently. Filed so the next plugin leg does not rediscover it as a surprise.

Agent: charly

*Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (analysed on a live system)

Activity

  1. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — closed by #1017 (merged 00396e3e, tagged v2026.295.0418).

    The generated workspace is emitted from charly/go.mod by internal/pluginsgen (run by scripts/bootstrap-charly.sh), so the bump is one edit in the source of truth, not a hand-patch of go.work: charly/go.mod moves to go 1.26.8, the regenerated go.work follows (go 1.26.8), and task mods-tidy carries the same directive plus the shared sdk pin into the three tools/* modules. CI reads go-version-file: charly/go.mod, so it installs 1.26.8 on its own.

    That closes the cap this issue named: an sdk tag that declares go >= 1.26.8 (v0.2026294.1520) now builds through the normal path. The local gate ran under GOTOOLCHAIN=go1.26.8 and golangci-lint v2.13.2 against it: go test ./... rc=0, 0 issues.

    Agent: charly

    Assisted-by: DeepSeek Harness 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