Repository navigation
test(mobile): repin the recording baseline to main after #19850 - #21092
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
A header-only repin of mobile's RPC recording corpus, the documented follow-up after #19850 landed a fenced product change without moving baseline.
pilot-scenarios.jsonbaseline moves to97aa5ff(#19850's merge commit, main's last commit to touch a fenced path).- 705 goldens get the matching
baselineheader rewritten — 706 files, one line each, 706 insertions / 706 deletions.
I verified the repin is exact and safe to land:
- Every added/removed line in the diff is a
baselineline; the old side is uniformlya28085a…and the new side uniformly97aa5ff…, so no golden body or other header (recorderSha256,adapterSha256,scenarioSha256,lockfileSha256) moved. git diff 97aa5ff origin/main -- mobile/src src/shared mobile/pnpm-lock.yaml ':(exclude)mobile/src/test-support/rpc-recording'is empty, so--record's fence passes; the only commit after the pin (e6a3b5d) is docs-only.97aa5ffis an ancestor oforigin/main, and no stalea28085a…reference remains anywhere in the tree.- Confirmed #19850 changed five golden bodies plus twelve
adapterSha256headers and leftpilot-scenarios.jsonalone, so the corpus had named a tree it was not recorded from; its bodies reproduce byte-for-byte from97aa5ff, which is exactly the fix this PR makes.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
Jinwoo-H
added a commit
that referenced
this pull request
Sep 16, 2026
Main repinned the recording baseline to 97aa5ff in #21092, which rewrote the `baseline` header of all 705 goldens and the manifest. Every golden and the manifest are resolved to main's version: the re-record in the next commit overwrites them, and taking main's side keeps the merge commit itself a faithful copy of the repin rather than a half-merged corpus. No non-golden conflicts. Claude-Session: https://claude.ai/code/session_01JNnE9qzUZMMnqpZWCqM3nb
This was referenced Sep 16, 2026
ivanvykopal
pushed a commit
to ivanvykopal/orca
that referenced
this pull request
Sep 20, 2026
8 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What this is
A baseline repin of mobile's RPC recording corpus, the same shape as #21065.
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. The corpus was pinned toa28085adbfb65d3f27393cc7a0d78cfa2b4ff07e, main's tip at the time of #21065. Three commits have landed on a fenced path since:So recording on main refuses:
Why the detached-pin recipe was not the answer here
#19850 did more than drift the product tree. It changed five golden bodies and twelve
adapterSha256headers, and it did not touchpilot-scenarios.json, so the corpus still named the older tree:matrix-worktree.create-retry-worktree.create-1matrix-worktree.runtime-capabilities-status.get-1agentLaunch: falsecapability membertw-capabilities-advertisedagentLaunch: falsecapability membertw-capabilities-cutover-retriedagentLaunch: falsecapability membertw-capabilities-legacy-idempotencyagentLaunch: falsecapability membermatrix-settings.*andsettings-*goldensadapterSha256onlyThe README's other recipe records from a detached worktree at the pinned commit. Run at
a28085adbf, that would have produced the pre-#19850 bodies and reverted all five, deleting a landed behaviour change from the corpus. Repinning forward to main's last fenced commit is what makes the corpus reproducible in place again.The new pin
baselineinmobile/rpc-foundation/pilot-scenarios.jsonmoves to97aa5ff19b19231670ab7d06d070115640bb8f41, main's last commit to touch a fenced path, and the whole corpus is re-recorded against it.No behaviour moved
Each golden was decoded through its own
valuespool against theorigin/maincopy, stripping the header keysbaseline,lockfileSha256,recorderSha256,adapterSha256,scenarioSha256andrunnerVersion, and resolving 12-hex value references through the product's ownresolveRecordingbefore the comparison.baselineis the only header key that differs on any golden, and it differs on all 705.lockfileSha256,recorderSha256,adapterSha256andscenarioSha256are unchanged everywhere, which is what a pure repin looks like. The zero body moves also settle the open question about #19850: its recorded goldens do reproduce from its own product tree, they were simply pinned to an older one. 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 134s.
One recommendation
A PR that changes a golden body should repin
baselineto its own last fenced commit and re-record in the same PR, which is the README's behaviour-change recipe. #19850 changed five bodies without repinning, so main carried a corpus that named a tree it was not recorded from until this follow-up.Reproducing the typecheck in a fresh worktree needs
mobile/src/terminal/terminal-webview-engine.generated.tsandmobile/src/components/pr-sidebar/mermaid-webview-engine.generated.ts, both gitignoredpostinstallartifacts. Runningnode scripts/build-terminal-webview-engine.mjsandnode scripts/build-mermaid-webview-engine.mjsfirst clears the twoTS2307errors they otherwise cause.