fix(lanes): sync the files synced suites read and leave out the rest #476
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 3% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
kyle-sexton
Closes #475
Summary
On
main, 141 of 6,406 tests failed across 44 of the 170 synced.test.mjsfiles (with.github/actions/resolve-config's locked dependencies installed bynpm 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.shand the files it governs, copied byte for byte from claude-code-plugins975ad85, the commit of the last full resync (#460).SYNCED gains four paths:
.github/scripts/diff-chunking: the synced.github/scripts/pr-verify/chunk-diff.shruns../diff-chunking/diff_chunking.py, and the sandbox'spr-verify.ymlcallschunk-diff.shat 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-failuresandpublish-promotion-evidencepass once they are present, and the synced Python suitestest_babysit_split_child_trust.pyandtest_babysit_demotion_record.pyread the same two vector files.LEFT_OUT gains 39 suites, removed here, in three arrays whose names give the reason.
LEFT_OUTexpands 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, eitherdocs/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.mjsformerge-job.test.mjsandlib/cdn-pins/fixtures/npm-tarball.mjsforapply-patch.test.mjs. Both suites still failed on upstream-only config, so I dropped those two copies.Verification
.test.mjs,node --test --test-concurrency=4over the 132 files thatSYNCEDminusLEFT_OUTnow selects:tests 4571, pass 4571, fail 0. Before the change the same run gavetests 6406, pass 6263, fail 141.scripts/lanes/check-sync.sh 975ad8577079e42a1be5bd4875fc79f87a0d2672 --repo <claude-code-plugins clone>: this PR adds no difference. It already fails onmainwith 9 differences. Eight are synced workflows that #464 and #474 edited by hand here. The ninth iscallers.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.shellcheckonsync-lists.shandcheck-sync.sh: clean.typoson the new files: clean.Related
check-sync.shreports predate this PR. They belong in ADAPTED, or need a resync that carries their change, as separate work.🤖 Generated with Claude Code