Skip to content

fix(pr-pipeline): keep pr-unblock under GitHub's workflow size limit - #17572

Merged
kyle-sexton merged 1 commit into
mainfrom
fix/pr-unblock-object-size
Nov 20, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
fix/pr-unblock-object-size

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Refs: #17538

Delivers from #17538: the fix for the pr-unblock startup failure ("Maximum object size exceeded") that blocks round-1 check 1.

Left for later work on #17538: a round-1 pr-unblock run on main that reaches its model job after this merges; the round-1 work-resolve-issue and eval: run checks; round 2 after the 16 secrets are loaded into claude-lanes; removing the organization copies of the secrets once #17537 and ci-workflows#1154 have landed.

Summary

Every PR Unblock dispatch since #17516 merged has failed at startup (30 runs, every one startup_failure). Run 44642359431 gives the reason:

Invalid workflow file: .github/workflows/pr-unblock.yml#L5075 ... Error from called workflow 959addebe4: Maximum object size exceeded

pr-unblock expands pr-run-activity-read.yml 15 times and pr-run-activity-write.yml 12 times. #17516 added two claude-lanes environment blocks to the read reusable and six to pr-unblock, about 2KB once expanded, and that was enough to cross the limit. It is the only commit between the last good run (c13006c) and the first failure that touches pr-unblock or either reusable. No other workflow has a startup failure since the merge.

Fix

pr-run-activity-read.yml drops the description: of its 62 workflow_call inputs, outputs and secrets: 221 lines removed and none added. GitHub parses those descriptions into the expanded workflow, so this cuts about 10KB per call, roughly 150KB across pr-unblock's 15 calls (about 75 times the overflow). Nothing reads them at run time. The file parses to exactly its old object minus the descriptions, checked with the yaml package. The claude-lanes blocks and the guard are unchanged.

Not done:

  • Turning the descriptions into comments. The repo's comment lint rejects it ("comment outside the necessary posture").
  • Removing the environment blocks. That would loosen the Claude-secrets guard.

The margin is finite. Each line added to pr-run-activity-read.yml costs 15 times its size in pr-unblock, and each line added to pr-run-activity-write.yml costs 12 times.

Verification

  • GitHub is the only size check. No local test or CI job expands pr-unblock, so each candidate was dispatched on its own branch, with resolve-conflicts on feat(testing): hand an uncovered can't-fail test pattern in setup to corrections:codify #17548, which has no conflicts:
    • Main (959addebe4 and later): startup_failure, 30 runs.
    • Probe without the descriptions in both reusables: run 44659099443 started, then was cancelled.
    • This head (4c5e88efd8, read reusable only): run 44659406779 started, then was cancelled.
  • No test reads these descriptions. I grepped the tests that name either reusable.

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01KeBVgbERyakZ33T4AetfRj

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T02:17:00.128156Z 4c5e88e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review needs no new review of 2434d4b1c56230b9ab18056ceb1c0e5cb1504204: no file of this pull request changed since the review of 4c5e88e.

Security review: no security issues found

Complete review: I read every hunk of both changed files in .claude-lane/pr.diff.

What the change does

  • .github/workflows/pr-run-activity-read.yml (trusted path) drops 221 lines. Every one is a description: key, or the continuation text of a folded description, on a workflow_call input, secret or output.
  • No line is added to that file.
  • required, type, default and value are untouched on every entry. So are the secrets set (scan-carrier-private-key stays required: true), the output source jobs, the inline # comments and permissions: {}.
  • No job, step, environment: block, if: condition or token request changes.
  • .changes/pr-pipeline/fix-pr-unblock-object-size-5d2a7c91.md is a new changelog fragment with prose only.

What I checked

  • Trust controls: nothing in the diff widens the trusted-trigger check, lane token scope, the kill switch, the broker's grants or any merge hold. The claude-lanes environment blocks the PR says it keeps are outside the hunks, and no hunk touches them.
  • Instruction surface: some of the removed descriptions carried trust notes for people reading the file, for example the head-sha output's "no caller may trust it for a decision" and the lane-class / credential-present / handed-off caveats. They are YAML metadata for people, not instructions a model reads. They also enforced nothing: callers take their decisions from scan / check-broker / check-issue-fields outputs, and the diff leaves those sources unchanged. The # comments stating the same trust rules (lines 264-266, 300-302, 364-367, 402-404 and 426 of the base file) stay. So no rule is lost.
  • Actions hardening: no trigger, expression, permission or pin changes, so there is nothing for zizmor to flag either.
  • Spend: none. The change only lets pr-unblock start again, so lane runs resume and spend prepaid API credit or subscription usage as before.

PR context: the description matches the diff. It contains no embedded directives.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

claude-review needs no new review of 2434d4b1c56230b9ab18056ceb1c0e5cb1504204: no file of this pull request changed since the review of 4c5e88e.

Code review: no findings

I read the whole diff for both changed files and found nothing to flag.

What the PR does. It removes all 62 description: keys from the workflow_call inputs, secrets and outputs in .github/workflows/pr-run-activity-read.yml. The aim is to bring the expanded pr-unblock.yml back under GitHub's "Maximum object size" limit. It also adds a patch changelog fragment.

What I checked:

  • Nothing else changed. Every removed line in the hunks is a description: key or its folded text. Each required, type, default and value line is still there. The permissions: {} block and the explanatory # comments are kept.
  • Nothing reads the descriptions. No description key is left in on.workflow_call. The only other match in the file is prompt text at line 3630. A search of scripts and tests turned up nothing that reads or requires workflow_call input descriptions.
  • The contract is still documented. The file header still points to docs/conventions/pr-pipeline/pr-run-activity.md. That doc still covers what the deleted text said, for example merge-base-sha/merge-conflict-tree, scan-collect-refused, feedback-disputed, caller-releases-lease, post-decline, and the warnings that run-job outputs can be forged. So the descriptions were not the only record of these rules.
  • Changelog fragment. bump: patch is the right level for a fix with no behaviour change.
  • Closing issue. The PR only refers to Verify the claude-lanes lanes on merged runs before removing the organization Claude secrets #17538 (Refs:) and closes no issue, so there were no acceptance criteria to check.

Verification is the author's claim; I did not confirm it. The PR says a dispatch from this head started where main hit startup_failure, and that the YAML parses to the old object minus the descriptions. I could not run either check here.

Spend. No hold is needed. Fixing pr-unblock lets its lane runs start again, and those runs use subscription and prepaid API credit as before.

Loosened checks. Removing descriptions loosens no check. The prompt had no loosened_check_verdict: or loosened_check_patterns: line, so I used the defaults (fail, no consumer entries). It had no loosened_check_decision_record: line either, so I did not check whether a decision citation was required.

Loosened-check verdict: fail (default; wrapper supplied none); patterns: 0

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 4c5e88efd82a440c851530918babae6b35097b80. What it wrote, as data:

What it wrote (36 lines)
Summary: The code change itself looks right. The PR is linked to #17538 by a `Refs:` line only, and
  its body does not say which part of that issue it delivers or what is left, so under the
  partial-delivery rules it fails.

#17538 asks for owner-run checks after #17516 moved the Claude-secret jobs into the `claude-lanes`
  environment:
- round 1: one pr-unblock run, one work-resolve-issue run and one eval-label run each reach their
  model step and finish as before;
- round 2: repeat the three after the secrets are loaded into the environment;
- step 3: remove the organization copies of the secrets.

The diff fixes something that blocks round-1 check 1: since #17516 merged, every pr-unblock run has
  failed at startup. It removes the 221 `description:` lines from the `workflow_call` inputs,
  outputs and secrets of `.github/workflows/pr-run-activity-read.yml`, and adds a changelog
  fragment. Nothing else changes: the YAML keys, types, defaults, values, the `claude-lanes` blocks
  and the guards are all the same, and GitHub treats `description` as optional. That repair fits
  within the issue's scope.

Test evidence: every suite job in pr-require-checks run 44659487379 on the head passed (Test Node
  https://github.com/melodic-software/claude-code-plugins/actions/runs/44659487379/job/136034095139,
  Lint Repo
  https://github.com/melodic-software/claude-code-plugins/actions/runs/44659487379/job/136034095183,
  and the Bash and Python shards). Lint Shell was skipped, which is expected because no shell file
  changed. Two things the body says are not visible from here: that this head got past startup in a
  branch dispatch, and that the file parses to the old object minus the descriptions.

The PR loosens no check, hold or secret, touches nothing in the takeover set, and has no binary
  files. No text in the PR or the issue tries to steer the reviewer. The `Evidence loop` cap line is
  not in the body.
- PR body: it says only `Refs: #17538` and lists #17538 under Related. Add a line saying which part
  of #17538 this PR delivers: it fixes the pr-unblock startup failure (Maximum object size exceeded)
  that blocks round-1 check 1.
- PR body: name the parts of #17538 still left for later work, for example: a round-1 pr-unblock run
  on main that reaches its model job after this merges, the work-resolve-issue and `eval: run`
  checks, round 2 after the 16 secrets are loaded into `claude-lanes`, and removing the organization
  copies once #17537 and ci-workflows#1154 have landed.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. and removed pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. labels Nov 20, 2026
Every pr-unblock dispatch since #17516 has failed at startup: "Error from
called workflow .../pr-run-activity-write.yml: Maximum object size
exceeded". pr-unblock expands pr-run-activity-read.yml 15 times, so the
claude-lanes environment blocks #17516 added (about 2KB once expanded)
pushed it over.

pr-run-activity-read.yml drops its workflow_call input, output and
secret descriptions (10KB parsed, about 150KB across pr-unblock's 15
calls). GitHub parses them into the expanded workflow, and nothing reads
them at run time: the file parses to its old object minus the
descriptions. Git history keeps the text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KeBVgbERyakZ33T4AetfRj

# Conflicts:
#	.github/workflows/pr-run-activity-read.yml
@kyle-sexton
kyle-sexton force-pushed the fix/pr-unblock-object-size branch from 4c5e88e to 2434d4b Compare November 20, 2026 02:49
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit a3cc2f4 Nov 20, 2026
51 checks passed
@kyle-sexton
kyle-sexton deleted the fix/pr-unblock-object-size branch November 20, 2026 03:10
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 20, 2026
kyle-sexton added a commit that referenced this pull request Nov 23, 2026
pr-unblock.yml expands pr-run-activity-write.yml once per call (15
calls), and the new apply-cdn-pins-sync call put it 82,354 bytes over
the workflow-template-size fail line. Dropping the description of each
workflow_call input and output, as #17572 did for the read reusable,
cuts 35,572 bytes per call. The file parses to its old object minus the
descriptions; nothing reads them at run time.

pr-unblock.yml: 10,658,662 -> 10,160,654 bytes, 415,654 under the fail
line 10,576,308.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UJUn7JjbzH3qP4NugM6Ns5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant