Repository navigation
test(mobile): repin the recording baseline to main after #20950 - #21065
Conversation
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — a mechanical baseline repin of mobile's RPC recording corpus, the documented follow-up half of the two-step re-record flow.
- Manifest pin moved —
mobile/rpc-foundation/pilot-scenarios.jsonbaselinegoes from9e01c50e…(the squashed-away #20950 branch commit) toa28085adbf…(main's tip, the #20950 squash commit). - All 705 goldens re-headered — each
mobile/rpc-foundation/goldens/*.jsonchanges only itsbaselineheader line; no other header key moves, so golden bodies are byte-identical.
I verified the diff mechanically rather than trusting the table: it contains exactly 706 removed and 706 added lines, every one of them a baseline line, so no golden body moved. origin/main is a28085adbf… and is the parent of the PR head, so the new pin is reachable; because this PR touches no fenced path (mobile/src, src/shared, mobile/pnpm-lock.yaml), the fence at mobile/scripts/rpc-recording.mts:28 will still match on main after merge. The old sha appears nowhere in the tree, and nothing in .github or the docs hardcodes it. This is generated-artifact regeneration with no behavioral surface.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

What this is
A baseline repin of mobile's RPC recording corpus, the follow-up half of the two-step #20563 → #20895 used.
Every golden under
mobile/rpc-foundation/goldens/carries abaselineheader naming the commit its recording was made against, and--recordrefuses to run unless the working product tree equals that commit. #20950 recorded at its branch commit9e01c50e6dc919de3c0129e755f1ea9ec335dc59. The squash-merge rewrote that work asa28085adbfb65d3f27393cc7a0d78cfa2b4ff07e, so the pinned sha is no longer reachable from main:With the pin unreachable and main advanced past the branch point, recording on main refuses:
This PR sets
baselineinmobile/rpc-foundation/pilot-scenarios.jsontoa28085adbfb65d3f27393cc7a0d78cfa2b4ff07e, main's tip, and re-records the whole corpus so the header the goldens carry is the tree they were produced from.No behaviour moved
The repin rewrites the
baselineheader on all 705 goldens, so every file moves. Nothing else does. Each golden was decoded through its ownvaluespool against theorigin/maincopy, stripping the header keysbaseline,lockfileSha256,recorderSha256,adapterSha256,scenarioSha256andrunnerVersion, and recursively substituting 12-hex value references before the comparison.The only header key that differs on any golden is
baseline, on all 705.lockfileSha256,recorderSha256,adapterSha256andscenarioSha256are unchanged everywhere, which is what a pure repin looks like: no product source, no recorder, no adapter and no scenario input moved. The diff is 706 files, one line inserted and one deleted each.Gates
Run from
mobile/, all green.tsc --noEmitvitest run src/test-support/rpc-recordingoxfmt --check .The full re-record itself passed 707 tests in 88s.
One note for anyone reproducing the typecheck in a fresh worktree.
mobile/src/terminal/terminal-webview-engine.generated.tsandmobile/src/components/pr-sidebar/mermaid-webview-engine.generated.tsare gitignored build artifacts produced by mobile'spostinstall. Without themtscreports twoTS2307module-not-found errors that have nothing to do with this change. Runningnode scripts/build-terminal-webview-engine.mjsandnode scripts/build-mermaid-webview-engine.mjsfirst clears both.