Skip to content

charly's spec/plugin pins predate the Android/apk removal (spec#446), so the tree cannot build against spec main #1300

Done

Description

@aitrawog

Category

category:delivery

Type

type:fix

Remedy / files the remedy will touch

charly/charly/go.mod (spec + the compiled-in plugin requirements), after the plugin repos drop the removed Android/apk types; one pin-advance PR in the plugin repos, producer-first

Cited design decision or org-rulebook rule (or none)

AGENTS.md R1, R5; the producer-first landing order

Classification

Non-blocking — separable from the build-cache work it surfaced in; it blocks the charly pin-bump leg of that wave, not the producer PRs.

Evidence (verified: commands with output, file:line, measurements)

$ git -C <spec worktree> log --oneline -2
eb5d062 docs: add CHANGELOG 0.2026331.808 for PR #446
b960dfa feat(spec)!: remove the Android substrate, its adb/appium verbs and the apk format (#446)

$ grep -n "opencharly/spec\|plugin-box/candy/plugin-box" charly/charly/go.mod
16: github.com/opencharly/plugin-box/candy/plugin-box v0.2026327.2335
144: github.com/opencharly/spec v0.2026329.803

# charly built with a go.work whose spec is spec main (eb5d062, the post-removal line):
$ GOWORK=<workspace with spec main> go build ./...        # in charly/charly
.../[email protected]/validate_rules.go:202:28: m.Apk undefined (type spec.CandyModel has no field or method Apk)
.../[email protected]/validate_rules.go:262:53: undefined: spec.ApkPackageSpec
.../[email protected]/plugin.go:332:107: undefined: spec.ResolvedAndroid
.../[email protected]/nested_tree.go:163:15: undefined: spec.SubstrateAndroid
.../[email protected]/status_android_collect.go:135:17: undefined: spec.SubstrateAndroid
.../[email protected]/status_android_collect.go:174:66: undefined: spec.ResolvedAndroid

# the same tree with its own go.mod (spec v0.2026329.803, the pre-removal line):
$ GOWORK=off go build ./...                              # in charly/charly
exit 0

Mechanism

spec main removed the Android substrate and the apk package format (spec#446). charly's module still requires spec v0.2026329.803 together with plugin releases (plugin-box v0.2026327.2335, plugin-loader v0.2026326.842, plugin-status v0.2026272.442, plugin-substrate v0.2026319.1527) that reference the removed spec.ApkPackageSpec / spec.ResolvedAndroid / spec.SubstrateAndroid types. The charly module compiles against its pinned OLD spec, so the tree looks healthy; but the legal pre-tag route for a cross-repo change — a go.work listing spec's worktree — selects spec MAIN and every released plugin fails to compile.

Missed control

Nothing asserts that the umbrella's contract pins and charly's module requirements are on a line that contains the latest spec API, and the prebuilt bin/charly masks the skew (it was built before the pin movement).

Blast radius

The charly pin-bump + R10 bed leg of any cross-repo wave that must build against spec main (including the build-cache work that surfaced this). The producer PRs in spec/sdk/plugin-build are unaffected; they gate on their own module CI.

Root fix

Producer-first: the plugin repos drop the removed Android/apk types (opencharly/plugin-installstep#10 is one such change), and then charly/charly/go.mod advances to the post-removal plugin and spec releases in one pin-advance PR. Until that lands, a workspace build of charly must use the pinned spec version (v0.2026329.803), not spec main.

Spike (its result, or none with the reason)

none — the remedy is a pin advance across the plugin repos, not a candidate solution to spike; the evidence above is the build failure and the clean build against the pinned line.

Agent: jolly-comet-ses_de3fa473bffeFiBo62whHxDPE5 · OpenCode session ses_de3fa473bffeFiBo62whHxDPE5
Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)

Activity

  1. added
    category:delivery
    type:fix
    on Nov 27, 2026
  2. aitrawog commented on Nov 27, 2026

    @aitrawog
    ContributorAuthor

    CLAIM

    Claiming: I filed this while landing the buildkit wave (#1292), and it is the blocker for that wave's charly pin-bump leg.

    Scope I will fix it in: the pin advance itself — charly/charly/go.mod (spec + the compiled-in plugin requirements) moved to the post-removal tags, producer-first (each plugin repo advances to the spec tag that carries the Android/apk removal, then the umbrella consumes those tags). It is deliberately separate from the two contract PRs (opencharly/spec#447, opencharly/sdk#650) so the pin advance is one reviewable cutover once they are in.

    No branch is pushed for this yet — the first push opens the PR, per the rulebook.

    Agent: jolly-comet-ses_de3fa473bffeFiBo62whHxDPE5 · OpenCode session ses_de3fa473bffeFiBo62whHxDPE5
    Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)

  3. self-assigned this
    on Nov 27, 2026
  4. aitrawog commented on Nov 27, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — the pin-advance PR landed: #1307 merged (commit 7f89ab36d719, 2026-11-27T22:12:49Z).

    main now carries every pin this issue was filed about, verified from the merged tree:

    $ gh api repos/opencharly/charly/contents/charly/go.mod?ref=main | base64 -d | grep opencharly/
    	github.com/opencharly/sdk v0.2026331.1440
    	github.com/opencharly/spec v0.2026331.1553
    	github.com/opencharly/plugin-build/candy/plugin-build v0.2026331.1456
    	github.com/opencharly/plugin-substrate/candy/plugin-substrate v0.2026331.1555
    $ grep -o plugin-substrate/candy/plugin-substrate:v2026[0-9.]* charly.yml
    plugin-substrate/candy/plugin-substrate:v2026.331.1555
    

    spec moved past the Android/apk removal (spec#446), so the tree builds against current spec main — the ci job on #1307's head is green (completed success) and the check-pod-overlay bed is green on those pins (PASS (steps=16), bed_exit=0).

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

Metadata

Metadata

Assignees

Labels

category:deliverytype:fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions