← Back to Pull requests

fix(lanes): sync the files synced suites read and leave out the rest #476

Re-review Required
kyle-sexton merged 64 files (54662 lines) on Nov 29, 2026 05:17 UTC
View on GitHub
kyle-sexton kyle-sexton commented on Nov 29, 2026 04:24 UTC
Author

Closes #475

Summary

On main, 141 of 6,406 tests failed across 44 of the 170 synced .test.mjs files (with .github/actions/resolve-config's locked dependencies installed by npm ci, as upstream's test lane does). Each failure read a claude-code-plugins file the sandbox does not carry. No sandbox workflow runs these suites, so the failures were noise to anyone checking a change locally (#472).

Fix

All of it is in scripts/lanes/sync-lists.sh and the files it governs, copied byte for byte from claude-code-plugins 975ad85, the commit of the last full resync (#460).

SYNCED gains four paths:

  • .github/scripts/diff-chunking: the synced .github/scripts/pr-verify/chunk-diff.sh runs ../diff-chunking/diff_chunking.py, and the sandbox's pr-verify.yml calls chunk-diff.sh at lines 206, 976 and 1635. Without it the verify lane cannot split a diff, so this is a lane-runtime gap and not only a test one.

  • .github/scripts/maintenance-reconcile-lost-runs/fixtures, .github/scripts/intake-triage/split-child.vectors.json, .github/scripts/post-merge-demotion-alert/demotion-record.vectors.json: JSON test data only. fix-ci-context, fix-ci-dispatch, merge-risk-failures and publish-promotion-evidence pass once they are present, and the synced Python suites test_babysit_split_child_trust.py and test_babysit_demotion_record.py read the same two vector files.
  • LEFT_OUT gains 39 suites, removed here, in three arrays whose names give the reason. LEFT_OUT expands all three, because the sandbox's comment lint refuses an explanatory comment:

  • TESTS_OF_UPSTREAM_WORKFLOWS (19 suites): they check claude-code-plugins' own workflows, which the sandbox does not carry or keeps in its own form (pr-require-checks.yml).

  • TESTS_OF_UPSTREAM_CONFIG (11 suites): they check its live configuration, either docs/conventions/pr-pipeline.yaml, which is ADAPTED here, or files the sandbox does not carry (lane-funding.json, docs-naming.yaml, the standards trusted-actor list, docs/upstream).

  • TESTS_OF_LANES_NOT_RUN_HERE (9 suites): they load scripts of lanes and tools the sandbox does not run (work-unblock, maintenance-monitor-signals, security-outside-actor, pr-refine/plan-passes.mjs, scripts/plan-test-lanes.sh, selection-audit.sh, affected-tests.sh, run-test-file.sh).
  • I chose LEFT_OUT over SYNCED for these 39 because syncing what they read would mean carrying upstream workflows that then run live here, or overriding the ADAPTED config. I tried syncing red-main.mjs for merge-job.test.mjs and lib/cdn-pins/fixtures/npm-tarball.mjs for apply-patch.test.mjs. Both suites still failed on upstream-only config, so I dropped those two copies.

    Verification

  • All synced .test.mjs, node --test --test-concurrency=4 over the 132 files that SYNCED minus LEFT_OUT now selects: tests 4571, pass 4571, fail 0. Before the change the same run gave tests 6406, pass 6263, fail 141.

  • scripts/lanes/check-sync.sh 975ad8577079e42a1be5bd4875fc79f87a0d2672 --repo <claude-code-plugins clone>: this PR adds no difference. It already fails on main with 9 differences. Eight are synced workflows that #464 and #474 edited by hand here. The ninth is callers.test.mjs, which this PR leaves out, so 8 remain. Those 8 predate this PR, and it does not fix them.

  • scripts/lanes/resync.test.sh: all tests passed. shellcheck on sync-lists.sh and check-sync.sh: clean. typos on the new files: clean.
  • Related

  • Refs: #472, where the failures were seen.

  • Refs: #460, the latest full resync, whose commit these copies match.

  • The 8 hand-edited synced workflows that check-sync.sh reports predate this PR. They belong in ADAPTED, or need a resync that carries their change, as separate work.
  • 🤖 Generated with Claude Code

    Diff: 54662 lines (+5253 / -49409) across 64 files Reviewer: kyle-sexton Review duration: 53m
    Review confidence threshold not met — re-review recommended
    Residual risk 0.68 = Change Risk (0.91) × (1 − Review Confidence (0.25)). Flagged for follow-up review before production rollout.
    Model 1 · Change Risk (XGBoost)
    Score: 0.91 · 54662 lines diff across 64 files
    0.91
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.35 · 1 substantive comment(s)
    0.35
    Model 3 · Review Timing & Attention
    Session adequacy: 3% · Reviewer familiarity: 50%
    25%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.400
    Self Review self_review
    0.140
    Mass File Touch mass_file_touch
    0.080
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "LGTM"
    rubber_stamp weight: 0.0
    Reviewers
    Assignees
    kyle-sexton kyle-sexton
    Labels
    risk: high confidence: 25.2% needs-re-review
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 90.5% (HIGH) · Higher = larger blast radius
    90.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 25.2% · Lower = rushed or shallow review
    25.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 67.7% · Re-review required
    67.7%