Repository navigation
fix(cloudflare/workers): converge plans for unmanaged custom domains - #975
Merged
Merged
Conversation
The destructive path from #942 (omitted `domain` deleting out-of-band attachments) was closed by #932's declared-intent gate, but the diff still compared the empty desired set against custom domains carried forward in state, so an unmanaged Worker with previously-observed domains re-planned an update on every deploy, forever. Gate `domainsChanged` on `domain !== undefined` and mirror reconcile's carry-forward in the `newUrl` computation. fixes #942 Co-Authored-By: Claude Fable 5 <[email protected]>
Contributor
|
Install the packages built from this commit: alchemy bun add alchemy@https://pkg.ing/alchemy/3b767ad@alchemy.run/better-auth bun add @alchemy.run/better-auth@https://pkg.ing/@alchemy.run/better-auth/3b767ad@alchemy.run/pr-package bun add @alchemy.run/pr-package@https://pkg.ing/@alchemy.run/pr-package/3b767ad |
sam-goodwin
added a commit
that referenced
this pull request
Jul 28, 2026
…edesign Adopts #975's urlStable carry-forward for unmanaged domains against the new domain-config shape, and its plan-noop regression assertion in WorkerDomain.test.ts. Co-Authored-By: Claude Fable 5 <[email protected]>
Mkassabov
added a commit
that referenced
this pull request
Oct 26, 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.
Closes #942
#932 stopped an omitted
domainfrom deleting out-of-band custom-domain attachments, but the diff still compared the empty desired set against custom domains carried forward in state — so an unmanaged Worker with previously-observed domains re-planned an update on every deploy, forever.newUrlindiffnow mirrors reconcile's carry-forward: withdomainomitted, persisted custom domains stay first indomains, sourlstays stable across unmanaged updates.domainomitted), an identical program must plan as anoop.fixes #942
🤖 Generated with Claude Code