Skip to content

test(mobile): repin the RPC recording corpus to main after #21169 - #21173

Merged
Jinwoo-H merged 1 commit into
mainfrom
main-repin-21169
Sep 17, 2026
Merged

Jinwoo-H merged 1 commit into
mainfrom
main-repin-21169

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 761 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​761 $\color{#cf222e}{\Huge{\mathbf{−}}}$​761 0

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 a baseline header naming the commit its recording was made against, and --record refuses 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 of main), 5ec0430e7179a8d3543f9e8eb7ba825716728918. That commit was squashed away when #21169 landed as 01a1b6b024, so the pin is not an ancestor of main:

$ git merge-base --is-ancestor 5ec0430e71 origin/main; echo $?
1

Nobody can record on main against a commit main does not contain, and the CI guard this series wants (baseline is an ancestor of main and 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 a main ancestor.

The new pin

baseline in mobile/rpc-foundation/pilot-scenarios.json moves to 01a1b6b024f6664c110e9ae50717ef4880fd8d82, main's tip and its last commit to touch a fenced path. git diff 01a1b6b024 origin/main over 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 values pool against the origin/main copy, resolving value references before the comparison and comparing the header key by key.

class count
header-only 760
body moved 0
added 0
deleted 0

baseline is the only header key that differs on any golden, and it differs on all 760. lockfileSha256, recorderSha256, adapterSha256, scenarioSha256 and runnerVersion are 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.

gate result
tsc --noEmit clean
vitest run src/test-support/rpc-recording 21 files, 927 passed, 3 skipped
oxfmt --check . 2676 files correct

The full re-record itself passed 762 tests in 177s.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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: baseline in mobile/rpc-foundation/pilot-scenarios.json and all 760 goldens moves from 5ec0430e71… to 01a1b6b024…, 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.

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@Jinwoo-H
Jinwoo-H merged commit 229dd62 into main Sep 17, 2026
23 checks passed
@Jinwoo-H
Jinwoo-H deleted the main-repin-21169 branch September 17, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant