Repository navigation
test(mobile): repin the RPC recording corpus to main after #21169 - #21173
Conversation
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — a corpus-only repin that follows the documented squash-merge follow-up, with no behavioural surface. The diff is mechanically provable: all 761 files carry exactly one changed line and every added/removed line is a baseline header.
- Corpus baseline repin:
baselineinmobile/rpc-foundation/pilot-scenarios.jsonand all 760 goldens moves from5ec0430e71…to01a1b6b024…, main's tip and the PR's base. No golden body, digest, adapter, recorder, or scenario line moves.
Verify notes: git rev-parse HEAD^ confirms the new pin is the head's parent, so it is an ancestor of main; no stale 5ec0430e71… reference remains anywhere in the tree. The old pin can't be resolved in the shallow CI clone (exit 128), which is expected here and not a defect. If main advances on a fenced path before this merges, the pin becomes stale but stays an ancestor, which the repo's own rule treats as fine.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

What this is
A baseline repin of mobile's RPC recording corpus, the same shape as #21123.
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. #21169 was a behaviour-change branch, so it pinned its corpus to its own last fenced commit (its merge ofmain),5ec0430e7179a8d3543f9e8eb7ba825716728918. That commit was squashed away when #21169 landed as01a1b6b024, so the pin is not an ancestor ofmain:Nobody can record on
mainagainst a commitmaindoes not contain, and the CI guard this series wants (baseline is an ancestor ofmainand the corpus reproduces from it) would be red from the moment #21169 merged. This is the case the plan's repin criterion names: repin when the pin is not amainancestor.The new pin
baselineinmobile/rpc-foundation/pilot-scenarios.jsonmoves to01a1b6b024f6664c110e9ae50717ef4880fd8d82,main's tip and its last commit to touch a fenced path.git diff 01a1b6b024 origin/mainover the fenced paths is empty, so this is the only tree the fence can match. The whole corpus was re-recorded against it.No behaviour moved
Each golden was decoded through its own
valuespool against theorigin/maincopy, resolving value references before the comparison and comparing the header key by key.baselineis the only header key that differs on any golden, and it differs on all 760.lockfileSha256,recorderSha256,adapterSha256,scenarioSha256andrunnerVersionare unchanged everywhere. The squashed tree reproduces #21169's bytes exactly. It also reproduces the ten session goldens #20069 re-recorded without repinning, so the corpus is consistent again after that PR as well. The diff is 761 files, one line inserted and one deleted each.Gates
Run from
mobile/with the repository's own binaries, all green.tsc --noEmitvitest run src/test-support/rpc-recordingoxfmt --check .The full re-record itself passed 762 tests in 177s.