Skip to content

fix(release): weld plugin-review v2026.263.0549 — bounded generation + separate-message thread delivery - #622

Merged
aitrawog merged 1 commit into
mainfrom
fix/weld-plugin-review-2026.263.0549
Sep 20, 2026
Merged

aitrawog merged 1 commit into
mainfrom
fix/weld-plugin-review-2026.263.0549

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

Bump the welded plugin-review pin from v2026.255.1648 → v2026.263.0549
so the next charly release's plugin bundle carries the two engine fixes that merged
into opencharly/plugin-review#10:

  1. Bounded generation — the engine now sends reasoning_effort: low +
    max_tokens: 65536, so a reasoning model is no longer free to generate
    megabytes of thinking before answering (measured: 1.75 MB / 786 s unbounded vs
    47–107 s bounded, with a verdict present).
  2. Separate-message thread delivery — get_pr_body, a paginated comment
    get_pr_thread INDEX, and get_pr_comment {id}, so the PR body, the index and
    each comment travel as their own bounded tool message instead of one aggregate
    blob that the 64 KiB per-message cap truncated (measured: 65,536 of 113,650 bytes — the thread tail, including the newest review rounds and the maintainer
    sign-off, was structurally invisible to the validator).

Why this PR is the unlock. The org PR validator runs charly review from the
pinned charly release bundle (charly-linux-amd64 + charly-plugins-linux-amd64.tar.gz),
not from plugin-review@main. The release welds the plugins from this very file,
so merging plugin-review#10 alone changed nothing in the running gate — the
bundle still carried v2026.255.1648, an engine that is BOTH unbounded (so a
large-context review burns past the 20-minute wall clock and is cancelled with no
verdict) AND aggregates the thread into a blob it then truncates. This one-line
weld is what makes the merged fix reach the gate.

The precedent is #593 (weld plugin-review v2026.255.1648 — it carries the x-opencode-session fix), which pinned the engine half of a previous org-wide
validator outage and was exactly this one line.

Why the weld PR itself can be reviewed by the OLD engine. Its diff is one line
of scripts/host-command-plugins.txt, so the review context is small: the
unbounded generation completes well inside the wall clock and yields a verdict.
The large-context PRs (plugin-review#10, spec#140, .github#102) are the ones
the old engine cannot finish — and they are already signed off (T13/T4) or land
after this weld.

How tested

The new tag exists and carries both fixes. Verified by reading the published
source at the tag (not assumed):

$ gh api repos/opencharly/plugin-review/tags --jq '.[0].name'
v2026.263.0549
$ gh api repos/opencharly/plugin-review/git/refs/tags/v2026.263.0549 --jq '.object.sha'
fd7156c207acb5f7b96e48bf5337c5b97d2c0a80        # == the plugin-review#10 squash merge

$ curl -fsSL .../plugin-review/archive/refs/tags/v2026.263.0549.tar.gz | tar xz
$ grep -c 'get_pr_body\|get_pr_comment' candy/plugin-review/llm.go        # 6  (the new tools)
$ grep -c 'apiPaginated\|paginate'      candy/plugin-review/ghclient.go   # 6  (pagination)
$ grep -c 'reasoning_effort\|_tokens'   candy/plugin-review/llm.go        # 5  (the generation bound)
$ ls candy/plugin-review/thread_index_test.go                             # present (RCA coverage)

The pin file change:

$ git diff --stat
 scripts/host-command-plugins.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Rulebook compliance

  • R1 — the need for the weld is a MEASURED divergence: the running bundle
    (v2026.255.1648) lacks the merged fix, proven by the plugin-review#10
    run cancelling at the 20-minute wall clock with no verdict.
  • R2 — the engine fix is the named PR opencharly/plugin-review#10; this PR
    only points the weld at its merged tag. Nothing is deferred.
  • R3 — the welded pin lives in ONE place (scripts/host-command-plugins.txt),
    the documented single source for the welded plugin set.
  • R4 — no workaround; the fix is welded so the real gate carries it.
  • R5 — the old pin v2026.255.1648 is replaced in the same change.
  • R6 — feat branch off main; PR-only; no force-push.
  • R10 — the artifact is the release bundle built by release-binary.yml from
    this file; the pin's content is verified against the published tag above.

Change classification

  • Change class: release/weld pin (one line of scripts/host-command-plugins.txt).
  • Verification gate: the tag exists, points at the merge commit, and its source
    carries both fixes (pasted above); release-binary.yml builds the bundle from
    this file at the next release.
  • Attribution tier: fully tested and validated — the changed pin was verified
    against the published plugin-review tag, and the weld path is the proven
    precedent (#593).

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

…ded-generation + separate-message thread fixes
@github-actions

Copy link
Copy Markdown
Contributor

validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)

The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.

  • class: verdict-less review output
  • review exit code: 1
  • in-job retries: none — the gate REPORTS the class instead of papering over it (R4)

Root cause. The review plan produced no Verdict line, and this log carries NONE of the recognised signatures: no completed turn 1, no stall marker, and no HTTP rejection. The gate therefore REPORTS the class instead of inventing a cause.

Durable remedy.

  1. open the diagnostics tail below — it names the failing step;
  2. classify from THAT evidence (a provider status, a stall, a timeout, a crashed plan) rather than from this template.

A run that produced no verdict keeps this required check RED: unreviewed code must never merge.

Diagnostics (tail of the review log)
Downloading github.com/opencharly/plugin-review:main...
charly: fetching git metadata for 1 repo(s) (first run — may take a moment)...
charly: git metadata cached.
Downloading github.com/opencharly/plugin-review:v2026.251.1928...
Downloading github.com/opencharly/layer-gh:v2026.239.1624...
plugin-review: pass 1/1 — provider=ollama-cloud model=deepseek-v4.1-flash base_url=https://ollama.com/v1
plugin-review: turn 1: 4 tool call(s)
plugin-review: turn 2: final content len=0
plugin-review: pass 1 review_len=0 verdict_lines=0 distinct=[]
review: [step: review] all 1 attempts failed to produce a Verdict line

@aitrawog
aitrawog merged commit 690d11e into main Sep 20, 2026
2 of 3 checks passed
@aitrawog
aitrawog deleted the fix/weld-plugin-review-2026.263.0549 branch September 20, 2026 06:16
charly-auto-merge Bot added a commit that referenced this pull request Sep 20, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 20, 2026
…file diff delivery (#623)

Bump the WELDED plugin-review pin from v2026.263.0549 -> v2026.263.1642 so the
next charly release's plugin bundle carries the two engine changes merged into
opencharly/plugin-review#14:

1. Per-file diff delivery (the spiral fix). get_pr_diff is replaced by
   get_pr_files (a compact changed-file INDEX) + get_pr_file {path} (one file's
   full patch, its own tool message). Measured: a monolithic multi-file diff
   drove deepseek-v4.1-flash to 507-741 KB of reasoning and finish_reason=length
   with content=0 (13-19 min, no verdict); the same files delivered one per
   message produced 580 B of reasoning and a verdict in 2 s.
2. A fail-closed context guard (AI_REVIEW_CONTEXT_TOKENS) so an over-cap PR
   fails hard with a class instead of overflowing, and mechanical anti-skim
   enforcement so a verdict is refused until every file in the index has been
   fetched via get_pr_file.

Why this PR is the unlock. The org PR validator runs `charly review` from the
pinned charly release bundle, not from plugin-review@main. The release welds the
plugins from this very file, so merging plugin-review#14 alone changed nothing in
the running gate: it still welds v2026.263.0549, whose monolithic-diff delivery
is exactly what produces the verdict-less INCONCLUSIVE runs (spec#140,
action-review#7). This one-line weld is what makes the merged fix reach the gate.

Precedent: #622 (weld v2026.263.0549) and #593 (weld v2026.255.1648) were the
same one-line weld for the previous validator outages.

Why the weld PR itself can be reviewed by the old engine. Its diff is one line of
scripts/host-command-plugins.txt, so the review context is small: the large-context
PRs are the ones the current engine cannot finish, and this weld is what unblocks
them.

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

Co-authored-by: Andreas Trawoeger <[email protected]>
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