Skip to content

chore(deps): bump the sdk to v0.2026256.1220 (shared-host packaging) - #12

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/sdk-packagekit-hardcut
Sep 13, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/sdk-packagekit-hardcut

Conversation

@atrawog

@atrawog atrawog commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bump github.com/opencharly/sdk → v0.2026256.1220 to adopt the packagekit shared-host
packaging hard cutover
(opencharly/sdk#258), and migrate the e2e fixture to the layout that
cutover requires: one charly-lib host + plugin-<word> symlinks to it, instead of per-plugin
binaries.

Accounting for every diff item:

  • github.com/opencharly/sdk v0.2026250.948 → v0.2026256.1220 — the change this PR adopts.
  • github.com/opencharly/spec v0.2026250.929 → v0.2026254.503 — required by the sdk bump:
    sdk v0.2026256.1220's go.mod requires spec v0.2026254.503, so MVS moves the plugin's spec
    pin to it. No plugin code depends on a new spec API; go mod tidy is the sole reason.
  • candy/generate-packages/e2e_test.go — the fixture + assertions move to the shared-host layout.

Releasing this plugin is what makes the shared-host packaging available to the distro repos
(charly-arch#5 and the sibling distro batches).

How tested

Red — the retired layout fails against the new sdk (fresh run)

Temporarily reverting ONLY the fixture to the old plain-file layout against the bumped sdk:

$ go test -run TestGeneratePackagesE2E ./...
--- FAIL: TestGeneratePackagesE2E (0.00s)
    e2e_test.go:39: runFromArgs (default variant): generate-packages: build: plugins dir …/plugins has no charly-lib shared host; the packaging requires the shared-host layout (plugin-<word> symlinks -> charly-lib)
FAIL	github.com/opencharly/plugin-generate-packages/candy/generate-packages	0.011s

Green — the migrated fixture

$ go vet ./...
(no output; exit 0)
$ go test -count=1 ./...
ok  	github.com/opencharly/plugin-generate-packages/candy/generate-packages	0.044s
?   	github.com/opencharly/plugin-generate-packages/candy/generate-packages/cmd/serve	[no test files]

TestGeneratePackagesE2E drives the full plugin path (runFromArgs → Kong → runGeneratePackages → sdk/packagekit.Build) and builds a real package for every requested format (deb/rpm/archlinux/apk/
ipk) and both variants, asserting the emitted .PKGINFO + tar file list include usr/bin/charly,
the single …/plugins/charly-lib, BOTH plugin-<word> symlinks (with link target charly-lib,
read from the tar Linkname), and BOTH .providers manifests.

Change class / bed

This is a dependency bump + test-fixture migration (no production source change). The plugin's
runtime artifact is rebuilt by this repo's own release.yml on tag; the end-to-end packaging bed
that consumes the shipped plugin is the distro migration batch opencharly/charly-arch#5 (and the
sibling charly-{fedora,debian,ubuntu,alpine,openwrt} batches). The repo's CI test + build
checks (green) are the in-repo gate for this class.

Rulebook compliance

  • R0 — skills first: plugin + go + git-workflow loaded.
  • R1 — RCA every anomaly: the e2e failure against the cutover is the intended hard error; the fixture is migrated rather than the error relaxed; the spec bump is accounted for above.
  • R2 — finish the cutover: the plugin adopts the shared-host layout in the same change as the sdk bump; no transitional dual-mode.
  • R3 — no duplication: the fixture mirrors the real distro layout (one host + symlinks).
  • R4 — no workarounds: the fixture is fixed to the correct layout, not the plugin made tolerant.
  • R4a — fix the product first: the product (packaging) is fixed upstream; this adopts it.
  • R5 — delete legacy completely: the per-plugin binary fixture is replaced by the shared-host one (red run pasted).
  • R6 — git safety: isolated worktree, add-only commits, no force-push, PR-only.
  • R7 — prove behavior: go test -count=1 ./... builds real packages end-to-end and asserts the shared-host contents (symlink targets + every providers manifest).
  • R8 — preserve emitted artifacts: the emitted package tar lists + symlink targets are asserted.
  • R9 — binary equals source: the plugin builds against the pinned sdk; no shared binary installed.
  • R10 — fresh proof: red + green runs pasted; CI test/build green. The end-to-end distro bed is charly-arch#5.

Change classification

  • Change class: dependency bump + test-fixture migration (plugin repo).
  • Verification gate: go test -count=1 ./... + go vet ./... (e2e builds real packages per format/variant, red-then-green), plus the repo's CI test/build checks.
  • Attribution tier: fully tested and validated.

Assisted-by: opencode opencode-go/deepseek-v4.1-flash (fully tested and validated)

Adopt the packagekit hard cutover (opencharly/sdk#258): the plugin's e2e fixture
moves to the shared-host layout (one charly-lib host + plugin-<word> symlinks ->
charly-lib), and the sdk require is bumped to the release carrying the change.
Releasing this plugin is what makes the shared-host packaging available to the
distro repos (charly-arch#5 and siblings).

Assisted-by: opencode opencode-go/deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 7f55e62ab1a6532c454421f7320417bb05b92128 (base: 9e3b7475c43363522ddaa39105c98b5bab8f847d)

Change class: dependency bump + Go test-fixture migration (plugin repo; 3 files, no production source change).

Security screen (T1–T4): PASS — no secrets/exfiltration, no guardrail edits, no new third-party deps (only the org's own sdk/spec pins move). No T3 scope-mismatch in the code; the mismatch is body-vs-diff (below).

Blocks

  1. A1 — How tested block is missing two required elements. The pasted evidence is only go test ./... and go vet ./..., and the block names no disposable: true target and gives no fresh-rebuild confirmation (only "on the final tree"). This change is not docs-only: it changes the pinned sdk whose packagekit governs the plugin's shipped artifact layout, so the A1-required disposable target + fresh-rebuild statement must be supplied — or the repo's change-class matrix entry showing this class needs no bed must be cited explicitly, with the bed-based end-to-end deferred to charly-arch#5 named as the batch. Additionally, the body's assertion "It fails without this change (the fixture's plain files now trip packagekit's hard error)" is a falsification claim with no pasted failing run — B14(d)/R10 require the actually-executed command output. Paste the red run against the old sdk (or drop the claim).

  2. A1 / T3 — undocumented dependency change in the diff. candy/generate-packages/go.mod (and go.sum) also bump github.com/opencharly/spec v0.2026250.929 → v0.2026254.503, which the Summary never mentions (it only names the sdk bump). A moved spec pin is a second, unaccounted diff item in the schema/wire module. Account for it (why it moved, whether it is required by the sdk bump, what it changes) or revert it.

  3. A1 — body overstates the asserted contents. The body says the test asserts the plugin-<word> symlinks "and their .providers" (both), but the diff asserts only usr/lib/charly/plugins/plugin-a.providers (candy/generate-packages/e2e_test.go:54); plugin-b.providers is written by the fixture but never asserted. Either assert it, or correct the body to match the diff.

Placement: CORRECT — the fixture/assertion lives in the plugin's own candy/generate-packages e2e test and consumes the sdk/packagekit mechanism; nothing moves into core or sdk, no alias/import growth.

Verdict: BLOCK


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

[step: review]

Review — BLOCK

Head SHA: 7f55e62ab1a6532c454421f7320417bb05b92128 (base: 9e3b7475c43363522ddaa39105c98b5bab8f847d)

Change class: dependency bump + Go test-fixture migration (plugin repo; 3 files, no production source change).

Security screen (T1–T4): PASS — no secrets/exfiltration, no guardrail edits, no new third-party deps (only the org's own sdk/spec pins move). No T3 scope-mismatch in the code; the mismatch is body-vs-diff (below).

Blocks

  1. A1 — How tested block is missing two required elements. The pasted evidence is only go test ./... and go vet ./..., and the block names no disposable: true target and gives no fresh-rebuild confirmation (only "on the final tree"). This change is not docs-only: it changes the pinned sdk whose packagekit governs the plugin's shipped artifact layout, so the A1-required disposable target + fresh-rebuild statement must be supplied — or the repo's change-class matrix entry showing this class needs no bed must be cited explicitly, with the bed-based end-to-end deferred to charly-arch#5 named as the batch. Additionally, the body's assertion "It fails without this change (the fixture's plain files now trip packagekit's hard error)" is a falsification claim with no pasted failing run — B14(d)/R10 require the actually-executed command output. Paste the red run against the old sdk (or drop the claim).

  2. A1 / T3 — undocumented dependency change in the diff. candy/generate-packages/go.mod (and go.sum) also bump github.com/opencharly/spec v0.2026250.929 → v0.2026254.503, which the Summary never mentions (it only names the sdk bump). A moved spec pin is a second, unaccounted diff item in the schema/wire module. Account for it (why it moved, whether it is required by the sdk bump, what it changes) or revert it.

  3. A1 — body overstates the asserted contents. The body says the test asserts the plugin-<word> symlinks "and their .providers" (both), but the diff asserts only usr/lib/charly/plugins/plugin-a.providers (candy/generate-packages/e2e_test.go:54); plugin-b.providers is written by the fixture but never asserted. Either assert it, or correct the body to match the diff.

Placement: CORRECT — the fixture/assertion lives in the plugin's own candy/generate-packages e2e test and consumes the sdk/packagekit mechanism; nothing moves into core or sdk, no alias/import growth.

Verdict: BLOCK


opencode/deepseek-v4.1-flash — action-review.

View action run

…ders

Strengthen the shared-host e2e assertions: both plugin-a and plugin-b must be
symlinks to charly-lib, and both .providers manifests must be packaged
(readPkg now also returns the tar symlink targets).

Assisted-by: opencode opencode-go/deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 4f1d867786705489f818d6c42880f4a5b95699f8 (branch: head of opencharly/plugin-generate-packages PR #12)
Base SHA: 9e3b7475c43363522ddaa39105c98b5bab8f847d

Change class: dependency pin bump (sdk, spec) + Go e2e test-fixture migration in the plugin repo (3 files: candy/generate-packages/e2e_test.go, go.mod, go.sum). No production source change.

Security screen (T1–T4): PASS — no secrets/e‑gress, no guardrail or rulebook edits, no new third-party deps (only the org's own sdk/spec pins move; go.sum hashes are present and internally consistent). No T3 scope mismatch in the code; the mismatch is body-vs-diff (item 1).

Blocks

  1. A1 / T3 — undocumented dependency change in the diff. candy/generate-packages/go.mod (and the matching go.sum hunk) also move github.com/opencharly/spec v0.2026250.929 → v0.2026254.503. The Summary names only the sdk bump, so this second diff item in the schema/wire module is unaccounted for. Fix: state in the Summary why spec moved (transitive requirement of the sdk bump vs. deliberate) and what it changes — or revert the pin.

  2. A1 — How tested block still omits the required disposable-target / fresh-rebuild answer, and asserts a falsification with no pasted run. The block offers only go test ./... + go vet ./...; it names no disposable: true target, no fresh-rebuild confirmation, and does not cite the change-class matrix entry that would exempt this class. Fix: name the target + fresh-rebuild, or explicitly write N/A — gate is the repo's go test, no bed in the class matrix. Additionally the sentence "It fails without this change (the fixture's plain files now trip packagekit's hard error)" is a behaviour claim with no pasted failing (red) run against the old sdk; B12/R10 require the actually-executed output — paste it or drop the claim.

Comment intake

  • Bot comment #5653243538 and its duplicate step comment #5653243599 (both at stale head 7f55e62ab1a6): finding about plugin-b.providers never being asserted is stale-superseded — the current diff asserts both usr/lib/charly/plugins/plugin-a.providers and plugin-b.providers, and commit 4f1d86778670 adds the symlink-target loop; their items 1 and 2 (verified-blocking) are re-derived above and survive on the current head.

Notes (non-blocking)

  • B15: two non-changelog commits (7f55e62ab1a6, 4f1d86778670) where the second completes the first's assertions; no partial/deferred work pattern, but confirm the intended squash collapses them into one atomic commit per repo.
  • Placement: CORRECT — the fixture and assertions stay in the plugin's own candy/generate-packages e2e test and consume the sdk/packagekit mechanism; nothing moves into core or sdk, no alias/*_aliases.go growth, no new core→kit import.

Verdict: BLOCK


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

[step: review]

Review — BLOCK

Head SHA: 4f1d867786705489f818d6c42880f4a5b95699f8 (branch: head of opencharly/plugin-generate-packages PR #12)
Base SHA: 9e3b7475c43363522ddaa39105c98b5bab8f847d

Change class: dependency pin bump (sdk, spec) + Go e2e test-fixture migration in the plugin repo (3 files: candy/generate-packages/e2e_test.go, go.mod, go.sum). No production source change.

Security screen (T1–T4): PASS — no secrets/e‑gress, no guardrail or rulebook edits, no new third-party deps (only the org's own sdk/spec pins move; go.sum hashes are present and internally consistent). No T3 scope mismatch in the code; the mismatch is body-vs-diff (item 1).

Blocks

  1. A1 / T3 — undocumented dependency change in the diff. candy/generate-packages/go.mod (and the matching go.sum hunk) also move github.com/opencharly/spec v0.2026250.929 → v0.2026254.503. The Summary names only the sdk bump, so this second diff item in the schema/wire module is unaccounted for. Fix: state in the Summary why spec moved (transitive requirement of the sdk bump vs. deliberate) and what it changes — or revert the pin.

  2. A1 — How tested block still omits the required disposable-target / fresh-rebuild answer, and asserts a falsification with no pasted run. The block offers only go test ./... + go vet ./...; it names no disposable: true target, no fresh-rebuild confirmation, and does not cite the change-class matrix entry that would exempt this class. Fix: name the target + fresh-rebuild, or explicitly write N/A — gate is the repo's go test, no bed in the class matrix. Additionally the sentence "It fails without this change (the fixture's plain files now trip packagekit's hard error)" is a behaviour claim with no pasted failing (red) run against the old sdk; B12/R10 require the actually-executed output — paste it or drop the claim.

Comment intake

  • Bot comment #5653243538 and its duplicate step comment #5653243599 (both at stale head 7f55e62ab1a6): finding about plugin-b.providers never being asserted is stale-superseded — the current diff asserts both usr/lib/charly/plugins/plugin-a.providers and plugin-b.providers, and commit 4f1d86778670 adds the symlink-target loop; their items 1 and 2 (verified-blocking) are re-derived above and survive on the current head.

Notes (non-blocking)

  • B15: two non-changelog commits (7f55e62ab1a6, 4f1d86778670) where the second completes the first's assertions; no partial/deferred work pattern, but confirm the intended squash collapses them into one atomic commit per repo.
  • Placement: CORRECT — the fixture and assertions stay in the plugin's own candy/generate-packages e2e test and consume the sdk/packagekit mechanism; nothing moves into core or sdk, no alias/*_aliases.go growth, no new core→kit import.

Verdict: BLOCK


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 4f1d867786705489f818d6c42880f4a5b95699f8 (branch: head of opencharly/plugin-generate-packages PR #12)

Security screen: PASS — no secrets/e‑gress, no guardrail or rulebook edits, no new third-party deps (only the org's own sdk/spec pins move; go.sum hashes present and internally consistent).
Checklist: All applicable rules PASS or NA (change class: dep-pin bump + Go e2e test-fixture migration, no production source change).

Comment intake: prior BLOCK comments #5653243538/#5653243599 (stale head 7f55e62ab1a6) and #5653255365/#5653255413 (4f1d86778670) are stale-superseded — re-derived against the CURRENT state: the spec bump is now accounted for in the Summary (transitive requirement of the sdk bump), the red falsification run is now pasted, and the diff now asserts both plugin-a.providers and plugin-b.providers plus the symlink targets (links[...] == "charly-lib"); no surviving finding remains.

Placement: CORRECT — fixture/assertions stay in the plugin's own candy/generate-packages e2e test consuming the sdk/packagekit mechanism; nothing moves into core/sdk, no alias/import growth.

Verdict: PASS


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

[step: review]

Review — PASS

Head SHA: 4f1d867786705489f818d6c42880f4a5b95699f8 (branch: head of opencharly/plugin-generate-packages PR #12)

Security screen: PASS — no secrets/e‑gress, no guardrail or rulebook edits, no new third-party deps (only the org's own sdk/spec pins move; go.sum hashes present and internally consistent).
Checklist: All applicable rules PASS or NA (change class: dep-pin bump + Go e2e test-fixture migration, no production source change).

Comment intake: prior BLOCK comments #5653243538/#5653243599 (stale head 7f55e62ab1a6) and #5653255365/#5653255413 (4f1d86778670) are stale-superseded — re-derived against the CURRENT state: the spec bump is now accounted for in the Summary (transitive requirement of the sdk bump), the red falsification run is now pasted, and the diff now asserts both plugin-a.providers and plugin-b.providers plus the symlink targets (links[...] == "charly-lib"); no surviving finding remains.

Placement: CORRECT — fixture/assertions stay in the plugin's own candy/generate-packages e2e test consuming the sdk/packagekit mechanism; nothing moves into core/sdk, no alias/import growth.

Verdict: PASS


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 13, 2026 12:27
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 4f1d867786705489f818d6c42880f4a5b95699f8 (base: 9e3b7475c43363522ddaa39105c98b5bab8f847d)

Security screen: PASS — no secrets/e‑gress, no guardrail or rulebook edits, no new third-party deps (only the org's own sdk/spec pins move; go.sum module+/go.mod hashes present and internally consistent — the unchanged spec …/go.mod hash alongside the changed sdk …/go.mod hash matches the stated transitive-requirement story). T3 scope: body accounts for every diff item (sdk bump, spec bump, fixture migration); no hidden behavior.

Checklist: All applicable rules PASS or NA (change class: dependency-pin bump + Go e2e test-fixture migration in candy/generate-packages; no production source change). Diff↔body agreement verified: the assertions now cover usr/bin/charly, the single …/plugins/charly-lib, BOTH plugin-a/plugin-b symlinks with Linkname == "charly-lib", and BOTH .providers manifests — matching the body exactly. Red run (e2e_test.go:39 vs bumped sdk) + green run (go test -count=1 ./..., go vet ./...) pasted; end-to-end distro bed routed to the named batch charly-arch#5 (R2). Placement: CORRECT (fixture/assertion stay in the plugin's own e2e test consuming sdk/packagekit; nothing moves into core/sdk, no alias or core→kit import growth). B15 two commits are a completing pair, no split/deferred work.

Comment intake: #5653243538/#5653243599 (stale head 7f55e62ab1a6) — all findings stale-superseded, contradicted by the current diff (both providers + symlink targets now asserted, spec bump now accounted, red run now pasted). #5653255365/#5653255413 (current head) — items stale-superseded against the CURRENT body (spec accounted in Summary; red run present; both providers asserted). #5653258112/#5653258170 (PASS) grants nothing; my PASS is independently re-derived above.

Verdict: PASS


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions

Copy link
Copy Markdown

[step: review]

Review — PASS

Head SHA: 4f1d867786705489f818d6c42880f4a5b95699f8 (base: 9e3b7475c43363522ddaa39105c98b5bab8f847d)

Security screen: PASS — no secrets/e‑gress, no guardrail or rulebook edits, no new third-party deps (only the org's own sdk/spec pins move; go.sum module+/go.mod hashes present and internally consistent — the unchanged spec …/go.mod hash alongside the changed sdk …/go.mod hash matches the stated transitive-requirement story). T3 scope: body accounts for every diff item (sdk bump, spec bump, fixture migration); no hidden behavior.

Checklist: All applicable rules PASS or NA (change class: dependency-pin bump + Go e2e test-fixture migration in candy/generate-packages; no production source change). Diff↔body agreement verified: the assertions now cover usr/bin/charly, the single …/plugins/charly-lib, BOTH plugin-a/plugin-b symlinks with Linkname == "charly-lib", and BOTH .providers manifests — matching the body exactly. Red run (e2e_test.go:39 vs bumped sdk) + green run (go test -count=1 ./..., go vet ./...) pasted; end-to-end distro bed routed to the named batch charly-arch#5 (R2). Placement: CORRECT (fixture/assertion stay in the plugin's own e2e test consuming sdk/packagekit; nothing moves into core/sdk, no alias or core→kit import growth). B15 two commits are a completing pair, no split/deferred work.

Comment intake: #5653243538/#5653243599 (stale head 7f55e62ab1a6) — all findings stale-superseded, contradicted by the current diff (both providers + symlink targets now asserted, spec bump now accounted, red run now pasted). #5653255365/#5653255413 (current head) — items stale-superseded against the CURRENT body (spec accounted in Summary; red run present; both providers asserted). #5653258112/#5653258170 (PASS) grants nothing; my PASS is independently re-derived above.

Verdict: PASS


opencode/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot merged commit 7ff8dce into main Sep 13, 2026
4 of 5 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 13, 2026
@aitrawog
aitrawog deleted the feat/sdk-packagekit-hardcut branch September 25, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant