Skip to content

fix(release): weld plugin-review v2026.266.1944 — the per-file patch recovery - #642

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/weld-plugin-review-266
Sep 24, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
fix/weld-plugin-review-266

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

Bump the welded plugin-review pin from v2026.265.0505 → v2026.266.1944 so the next charly release's plugin bundle carries the per-file patch recovery (merged opencharly/plugin-review#21, tag v2026.266.1944).

The fix (#21): files() now recovers an API-omitted per-file patch from the PR .diff (marker strings patch omitted by the GitHub API, no textual patch). Without it the org validator cannot see charly.yml — GitHub omits its oversized patch — so opencharly/charly#625 was auto-closed as "core diff unverifiable". This one-line weld is what makes the fixed engine reach the running org validator, which executes charly review from the pinned charly release (charly-linux-amd64 + charly-plugins-linux-amd64.tar.gz), not from plugin-review@main.

The net change from main is one line (scripts/host-command-plugins.txt).

SDK/spec lockstep check (R1). The file's R1 note warns the welded set shares one SDK/spec via the shared charly-lib host. The old and new pins carry the identical sdk/spec, so this bump introduces no new skew:

$ gh api repos/opencharly/plugin-review/contents/candy/plugin-review/go.mod?ref=v2026.265.0505 --jq .content | base64 -d | grep -E 'opencharly/(sdk|spec) '
	github.com/opencharly/sdk v0.2026264.731
	github.com/opencharly/spec v0.2026262.957
$ gh api repos/opencharly/plugin-review/contents/candy/plugin-review/go.mod?ref=v2026.266.1944 --jq .content | base64 -d | grep -E 'opencharly/(sdk|spec) '
	github.com/opencharly/sdk v0.2026264.731
	github.com/opencharly/spec v0.2026262.957

How tested

The target tag carries the fix — built live and grepped. Cloned opencharly/plugin-review at v2026.266.1944, built the candy, and grepped the marker strings out of the resulting binary:

$ cd candy/plugin-review && GOWORK=off go build -o /tmp/opencode/plugin-review-fixed .
$ echo "build exit=$?"
build exit=0
$ strings /tmp/opencode/plugin-review-fixed | grep -m1 "patch omitted by the GitHub API"
<!-- patch omitted by the GitHub API (per-file diff too large) AND not recoverable from the PR .diff; additions+deletions are non-zero, so this file DID change -->
$ strings /tmp/opencode/plugin-review-fixed | grep -m1 "no textual patch"
<!-- no textual patch: the GitHub files API reports no hunks for this file (a rename or a binary change

The shared host builds cleanly at the resolved SDK/spec. Reproduced the opencharly/charly-lib build path (charly-lib-gen + a local replace per pinned plugin) against the new pins; MVS resolved to plugin-review's sdk/spec and the full 12-plugin host compiled:

$ charly-lib-gen -pins newpins.txt -out host -sdk-version v0.2026254.523
$ (go mod edit -replace per plugin) ; go mod tidy ; go build
tidy exit=0
	github.com/opencharly/sdk v0.2026264.731
	github.com/opencharly/spec v0.2026262.957 // indirect
build exit=0

Local gate — charly/packaging_test.go asserts the packaging variant plugin sets cover exactly the entries in scripts/host-command-plugins.txt:

$ cd charly && GOWORK=off go test -run TestPackaging -v -count=1 .
--- PASS: TestPackagingSectionWellFormed (0.00s)
--- PASS: TestPackagingDeclaresTheNerdctlEngineStack (0.00s)
--- PASS: TestPackagingVariantsCoverWeldedPlugins (0.00s)
--- PASS: TestPackagingFullVariantIsComplete (0.00s)
--- PASS: TestPackagingSystemdDeclarations (0.00s)
--- PASS: TestPackagingConfigDeclared (0.00s)
PASS
ok  	github.com/opencharly/charly/charly	2.405s

The net diff from main (the pinned change):

$ git diff origin/main...HEAD -- scripts/host-command-plugins.txt
[email protected]
[email protected]

Rulebook compliance

  • R0 skills: /charly-internals:git-workflow and /charly-internals:plugin loaded first.
  • R1 RCA: the missing per-file patch was root-caused in opencharly/plugin-review#21 (GitHub API omits oversized patch); this weld carries that fix. Lockstep skew checked and shown to be zero-delta.
  • R2 complete: the one-line weld lands now, not deferred.
  • R3 no duplication: the pin lives once in scripts/host-command-plugins.txt (the single source for both the release tarball and charly-lib-gen).
  • R4 no workaround: a pin bump to a published, tagged release — no shim.
  • R5: the old pin is replaced in place; no stale reference remains.
  • R6 git safety: fix/ branch; no force-push; no direct push to main.
  • R7 gate: the packaging test is run and pasted on the final tree.
  • R8/R9/R10: N/A — a one-line pin file change; the artifact is the release bundle built from this pin, and the plugin's own tests/ADE plan cover the engine (proven in opencharly/plugin-review#21).

Change classification

  • Change class: charly-or-sdk Go/config — release pin (scripts/host-command-plugins.txt), one line.
  • Verification gate: charly/packaging_test.go (TestPackaging|TestRelease) + the live plugin build marker grep.
  • Attribution tier: analysed on a live system — the target plugin was built live and its fix marker read from the binary; the shared host was compiled with the new pin; the full release build is the post-merge step.

Breaking / rollback

  • Breaking: none. One line, no schema/API change.
  • Rollback: revert the one-line pin to [email protected].

Relates to opencharly/plugin-review#21 (merged fix) and opencharly/charly#625 (auto-closed as core-diff-unverifiable).

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 3cc69cb5d67449265481bfa020ce238c05e1daf6 (branch: not exposed by tools; base 3cd78f23ea76)

Change class: config/release pin — one line in scripts/host-command-plugins.txt ([email protected] → v2026.266.1944); matches meta (1 file, +1/−1) and the body's "net change from main is one line".

Security screen: PASS — no injection/instruction content in body or commit; diff does exactly what the description states (no scope mismatch, no secrets/egress, no guardrail weakening, no new dependency beyond the documented pin bump). The bumped plugin is the validator engine, but the change strengthens it (recovers API-omitted per-file patches) and is not a change to this validator's spec or the rulebook, so no T4 concern.

Checklist: All applicable rules PASS or NA.

  • A1 body supplies Summary / How tested (gate named, pasted output) / rulebook section with per-rule HOW / honest tier / correct trailing *Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)* footer.
  • A2/A3: config-class gate (charly/packaging_test.go, which consumes the changed pin file) run and pasted; tier analysed on a live system is not inflated (release bundle build is post-merge — rule 3, self-gated install proof cannot exist yet).
  • B4–B18: R1 zero-warning output, R2 nothing deferred, R3 pin lives once, R4 no shim, R5 old pin replaced in place, R6 branch discipline stated, R8/R9/R10 N/A with reason, B13 SDD N/A (no cue/proto/gen), B15 one atomic commit, B16 placement CORRECT (release manifest, not core/sdk/candy code; no alias file, no new core import), B18 N/A (no Go changed).
  • Comment intake: no comments on the thread — nothing to re-derive.

Tool-limited (non-blocking): I cannot re-run the tag build, the charly-lib-gen host compile, or grep for other references to the old pin; the pasted outputs are internally consistent (marker strings match the described fix, sdk/spec identical across both pins, CalVer v2026.266.1944 consistent with the 2026-09-24 commit date) and the model name in the footer is not verifiable from the body.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 24, 2026 00:45
@github-actions
github-actions Bot merged commit 8725e8f into main Sep 24, 2026
2 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 24, 2026
@aitrawog
aitrawog deleted the fix/weld-plugin-review-266 branch September 25, 2026 19:06
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.

2 participants