chore(ci): drop stale shared-header packaging, fallback, and nightly narrative
Merged
TH
11h ago+15+15+01234567890123456789-46-46-01234567890123456789
Summary
Five hygiene deletions around the shared header landed by #3918, with no behavior change. 5 files.
scripts/size-report-package.mjs:assertPublishPackageContentsrebuiltapple/macos-helper/Tests/<target>/PackStub.swiftfrom the manifest three times; buildexpectedStubsonce and derive both the missing list and its message from it (the take-or-leave note from the #3969 review). Both error messages keep their meaning.scripts/package-apple-runner-source.mjs: delete thedist/apple/snapshot-bridgelegacy entry.git log -Sshows that mirror existed only on the #3918 branch iterations (581357bc72,d4032ed7f2, two checkpoints);git tag --contains 581357bc72is empty, so no released package ever had it..github/workflows/xctest-nightly.yml: the iPad-leg comments described "the evidence line that probe prints", which the runner no longer prints; correct them to name the assertions. No steps,-only-testing:flags, or assertions change.packages/platform-apple/src/runner/__tests__/runner-source.test.ts: delete the packaged-layout fingerprint duplicate. Production has no checkout/package branch for that header (runner-source.tsreads it at the same root-relative path in both layouts), so the two tests replayed one branch.packages/platform-apple/src/snapshot-source/cache.ts: delete thedist/apple/snapshot-bridgepackaged fallback inresolveSnapshotBridgeSourceRoot. It dates from #2277, before the package shippedapple/snapshot-bridgeat its root; an installed package now resolves through the same root-relative path the checkout uses, and nothing writes thedistmirror anymore. One root check, samenative-source-missingerror.
Net ā31 lines. 0 shipped bytes.
Validation
Head 45787ad7c5 on 581357bc72.
pnpm check:affected --run --head 45787ad7c5: all runnable checks passed,exactCommit=true. (One earlier run'svitest-relatedfailure was a load-induced timing flake in two untouchedprovider-scenariostests; both pass standalone and the rerun passed.)pnpm check:xctest-selection: passes ā nightly reaches 499, iPad leg selects 4, 0 unreachable.- Focused tests:
size-report-package.test.ts+xctest-selection.test.ts34 passed;runner-source.test.ts9 passed;prepare-publish-assets/build-package-xcuitest/packaged-runner-swift/shipped-test-code17 passed;apple-runner-package-source.test.ts12 passed;cache+preparation+adapter+cache-native-runtime65 passed. - Mutants (disposable
git worktrees, per test-audit):- Deleted fingerprint test: baseline
runner-source.test.ts10 passed; candidate removed +files.push(sharedHeader)deleted ā retained checkout-layout test fails (1 failed | 8 passed). - Deleted packaged fallback: no unit test drives the resolver (all pass
sourceRoot), so the retained check is the packaged-install gate. Baselinepnpm check:package -- --verify-snapshot-bridge-preparationexit 0; with the fallback deleted and the root check's path broken,verify-installed-snapshot-bridgefails withnative-source-missing(exit 1); the fallback alone cannot rescue the broken path either (pre-deletion mutant, exit 1).
- Deleted fingerprint test: baseline
- No device-code change: no simulator lane and no nightly required.
- Self-review: no independent reviewer was available in this worker; the full diff was re-read cold instead.
git diff --stat origin/main...HEAD:
.github/workflows/xctest-nightly.yml | 11 ++++++-----
.../src/runner/__tests__/runner-source.test.ts | 18 ------------------
packages/platform-apple/src/snapshot-source/cache.ts | 14 +++-----------
scripts/package-apple-runner-source.mjs | 3 ---
scripts/size-report-package.mjs | 15 ++++++---------
5 files changed, 15 insertions(+), 46 deletions(-)
Size Report (first commit): 0 B installed / unpacked / download; startup unchanged within noise.
š¤ Generated with Claude Code