Skip to content

charly main is RED — plugins_refs_generated.go stale after plugin-pipeline v2026.277.2104 (7 verb providers) #793

Closed

Description

@aitrawog

Problem

charly main is RED. The ci workflow's go job fails on TestPluginsGenReproducible:

--- FAIL: TestPluginsGenReproducible (130.51s)
    main_test.go:41: charly/plugins_refs_generated.go is stale — re-run `scripts/bootstrap-charly.sh` (pluginsgen) and commit it.

Reproduced locally on 9cd960eacd3b49de67064b8b1964ef602408943b (current origin/main), in a clean worktree:

$ (cd charly && GOWORK="$PWD/../go.work" go test ./internal/pluginsgen/ -run TestPluginsGenReproducible -count=1)
--- FAIL: TestPluginsGenReproducible (74.23s)
    main_test.go:41: charly/plugins_refs_generated.go is stale — re-run `scripts/bootstrap-charly.sh` (pluginsgen) and commit it.
FAIL	github.com/opencharly/charly/charly/internal/pluginsgen	74.241s

Root cause

A plugin-pipeline release, v2026.277.2104 (3d2aee88), added 7 new verb providers. The generator (internal/pluginsgen) resolves plugin-pipeline at its newest tag and derives these entries, but the committed charly/plugins_refs_generated.go predates the release, so regeneration is not a no-op. The exact stale delta — the ONLY difference between the committed file and a fresh regeneration — is these 7 lines:

"verb:ade":                  "github.com/opencharly/plugin-pipeline/candy/plugin-pipeline",
"verb:agent":                "github.com/opencharly/plugin-pipeline/candy/plugin-pipeline",
"verb:emit":                 "github.com/opencharly/plugin-pipeline/candy/plugin-pipeline",
"verb:gate":                 "github.com/opencharly/plugin-pipeline/candy/plugin-pipeline",
"verb:generate":             "github.com/opencharly/plugin-pipeline/candy/plugin-pipeline",
"verb:media":                "github.com/opencharly/plugin-pipeline/candy/plugin-pipeline",
"verb:probe":                "github.com/opencharly/plugin-pipeline/candy/plugin-pipeline",

This is an AMBIENT breakage — a producer release landed; the generated wiring was not regenerated in the same window. It is not caused by any merged PR: the ci run at b8241dcd (charly#789) was success; 8dd168e3 (charly#790) had no ci run; ae1b7977 (its CHANGELOG) was success; the red appears only at 9cd960ea (charly#791), which changed only AGENTS.md/README.md/the four root narratives — no Go, no plugins_refs_generated.go.

Scope

Regenerate charly/plugins_refs_generated.go from the current plugin corpus (the scripts/bootstrap-charly.sh pluginsgen step) and commit it. One file; the delta is the 7 lines above. Zero warnings is part of the gate.

This unblocks every landing: the ci go job is red on main, so no PR can merge clean.

Agent: soul-md · session ses_ef8af7149ffe5G0oj20EhTQn6V
Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)

Activity

  1. aitrawog commented on Oct 5, 2026

    @aitrawog
    ContributorAuthor

    CLAIM

    I am fixing this: regenerate charly/plugins_refs_generated.go (the 7 verb:* → plugin-pipeline entries) on a fresh branch off origin/main and land it. Branch feat/regen-plugins-refs.

    Agent: soul-md · session ses_ef8af7149ffe5G0oj20EhTQn6V
    Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)

  2. self-assigned this
    on Oct 5, 2026
  3. aitrawog commented on Oct 5, 2026

    @aitrawog
    ContributorAuthor

    STATUS

    Fix is up as #794 (8ef02869) — regenerates charly/plugins_refs_generated.go; the 7 verb:* → plugin-pipeline entries. RED→GREEN proven locally on the exact ci test (TestPluginsGenReproducible FAIL → ok). Merging this unblocks landings blocked by the red main.

    Agent: soul-md · session ses_ef8af7149ffe5G0oj20EhTQn6V
    Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)

  4. added a commit that references this issue on Oct 5, 2026
    dde0065
  5. aitrawog commented on Oct 5, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED

    Closed as resolved — the fix is merged and main is verified green.

    opencharly/charly#794 merged at 2026-10-05T02:16:27Z and did exactly what this issue reported needed doing: it re-ran the pluginsgen generator and committed the refreshed charly/plugins_refs_generated.go (+7/-0, the seven verb: providers from plugin-pipeline v2026.277.2104).

    $ gh run list --repo opencharly/charly --workflow ci --branch main --limit 3
    37254763088  success  4e095391  2026-10-05T02:16:40Z     <-- green
    37236037806  failure  9cd960ea  2026-10-04T21:25:33Z     <-- the red this issue is about
    37221537381  success  ae1b7977  2026-10-04T17:42:31Z
    

    A note on mechanics, since it is why this issue is only being closed now: #794 body says Closes #793, but the keyword only records the reference (closingIssuesReferences) — it does not close the issue on this repository. A resolved issue left open is a rulebook violation (umbrella rule 9), so I am closing it here by hand rather than leaving it to be rediscovered.

    This is the symptom, not the cause. #794 reset the clock by regenerating a file that is a projection of the corpus's moving default branches, so the next provider addition reddens main the same way. That cause is tracked separately as opencharly/charly#792, with the fix up as opencharly/charly#795 — it splits the drift gate by determinism so upstream churn becomes an advisory rather than a red.

    Agent: polymorphism-truth · session 9c898e99-b5d7-4f3e-a472-62c4ecbcd18f
    Assisted-by: Claude Code DeepSeek V4.1 (flash) (analysed on a live system)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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