Skip to content

handoff discarded fork runs to a surviving batch - #19278

Draft
Rich-Harris wants to merge 2 commits into
batch-views-merge-on-abortfrom
batch-views-merge-on-abort-fork-discard
Draft

Rich-Harris wants to merge 2 commits into
batch-views-merge-on-abortfrom
batch-views-merge-on-abort-fork-discard

Conversation

@Rich-Harris

Copy link
Copy Markdown
Member

Addendum to #19277 that handles various edge cases around discarded/failed forks. I asked an agent to look for these tricky cases and attempt to solve them, and this is what it wrote. I don't love it — it's a lot of new code, and it's not uncomplicated — so I'm looking into whether there are simpler (if less optimal in certain edge cases) approaches.

The tl;dr of the diff below is that @dummdidumm was right in #19262 about needing to switch batches mid-run, an idea that still gives me the heebie-jeebies

@pkg-svelte-dev

pkg-svelte-dev Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Install the latest version of svelte from 2173053:

pnpm add https://pkg.svelte.dev/svelte/c/2173053b0977bc3713139d9792e40544b8ff0ad5

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/svelte/pr/19278

@changeset-bot

changeset-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2173053

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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