Repository navigation
chore: clean up Fern Replay state before the next regeneration - #183
Merged
Merged
Conversation
windows-smoke.yml has no generated counterpart, so a regeneration deletes it (#182). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Patches replayed: - patch-809b383f: fix(deps): patch two advisories; keep the verification script - patch-composite-7dd8e976: Customer customizations (composite) - patch-3acf25c9: feat: Adds new say command (#143) - patch-3866acd2: Make intent optional (#150) - patch-0d14627a: fix: don't send Authorization alongside an explicit API key (#153) - patch-68caee9a: feat: add onboard init, connect, check and test for agent-led setup (#154) - patch-d0001ac9: fix: onboard flags that survive npx, and check that the app loads the key (1.5.1) (#159) - patch-ab3cae7d: fix: onboard check finds the key file by name in a monorepo package (1.5.2) (#160) - patch-c6e92222: fix: bump rustls-webpki to 0.103.16 for RUSTSEC-2026-0382 (#174) - patch-ef424569: fix: the browser's approval reaches onboard on Windows (1.7.1) (#167)
kraenhansen
force-pushed
the
fernignore-hand-written-config
branch
from
October 28, 2026 09:49
c658b05 to
35398f2
Compare
kraenhansen
marked this pull request as ready for review
October 28, 2026 09:53
PaulAsjes
approved these changes
Oct 28, 2026
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.
Every regeneration has to hand-restore files Fern overwrites (#166, #182): the RUSTSEC-patched
Cargo.lock,publish-prereleases = false, and the Windows smoke workflow. The cause is stale Fern Replay state: one patch replays the alpha-erapublish-prereleases = true, and 10 of the 14 tracked customizations were stuckunresolved, so Replay skipped them.Merging this PR will:
patch-3324bcc8, which re-enabled prerelease publishing on every regeneration.Cargo.lock,Cargo.tomlandwindows-smoke.ymlforward. Three byte-identical patches were consolidated, leaving 10 tracked..github/workflows/windows-smoke.ymlto.fernignore, since it has no generated counterpart.Additional context intended for coding agents and bots
Root cause
dist-workspace.tomltemplate has never containedpublish-prereleases, so cargo-dist's default offalseapplies. In SDK regeneration #182 the[fern-generated]commit removed the key and the[fern-replay] Applied customizationscommit re-addedtruefrompatch-3324bcc8. No setting inelevenlabs-dx'sfern/apis/cli/generators.ymlcontrols this.fern replay statusonmainreported 10[unresolved]patches, includingpatch-c6e92222(rustls-webpki 0.103.16, RUSTSEC-2026-0382) andpatch-ef424569(windows-smoke). Replay skips unresolved patches, so the regeneratedCargo.lockand the deleted workflow landed as-is.How the resolve was done
fern replay forget patch-3324bcc8 -y, thenfern replay resolve. The only conflicts were stacked historicalversionlines inCargo.tomlandCargo.lock. Both were resolved tomain, which is the state verified in SDK regeneration #182 (cargo test, CIaudit).resolvepass needs the generation commits inreplay.lockto be present locally. Four had been squash-merged away and were fetched by SHA from GitHub. Without them, every patch is skipped with "cumulative-diff fallback failed for unlocatable files".Cargo.lock/Cargo.tomlhunks (cumulative-diff fallback). They merge cleanly in the simulation below.Test plan and verification
@fern-api/replay0.19.3: laid down the07f8471generator output (respecting.fernignore), then ranReplayService.prepareReplay+applyPreparedReplaywithstageOnly. Result: 10 patches applied, 0 conflicts.Cargo.lock,Cargo.tomlanddist-workspace.tomlmatch this branch exactly, withrustls-webpki0.103.16 andpublish-prereleases = false.main'sreplay.lock:Cargo.lockregresses torustls-webpki0.103.13, reproducing SDK regeneration #182.src/openapi/executor.rsmis-merges two adjacent tests frompatch-0d14627a(fix: don't send Authorization alongside an explicit API key #153), which this PR does not touch. The real SDK regeneration #182 regeneration produced a correct file, so this is likely a local@fern-api/replayversion difference. Checkexecutor.rsin the next regeneration PR.Cargo.lock,dist-workspace.tomlandwindows-smoke.ymluntouched.🤖 Generated with Claude Code