Repository navigation
Version Packages - #462
Merged
Merged
Version Packages#462
Conversation
Contributor
Benchmarks: Patchwork with this PR against main
Nothing changed by more than the runs vary. every benchmark: the median of 3 runs of main and 3 runs of the PR, their range in brackets
|
Contributor
🪡 PatchworkTorn down. |
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@inkandswitch/patchwork-bootloader@0.8.6
Patch Changes
3585501: A restart of the automerge worker no longer makes every tab look up every package at once. Those lookups reached the worker while it was shutting down, and answering them pushed the replacement over its memory threshold, so it recycled again. That kept the worker restarting about every 30s, with package lookups failing with HTTP 556 until the page was reloaded.
The sync node's
changednow carries its heads for the sedimentree. They're attached only once the tree holds every record that caused the change. Otherwisechangedcomes without them. The node also answers eachwatchwith the heads it has, so a replacement node tells watchers what it holds, including anything the node before it stored.PortSyncRemote.reconnect()re-sends its watches and no longer calls every watcher.These are Subduction's heads, not the document's: once a document has a long history they include ancestors of its automerge heads. So they only say whether anything arrived, never which version to load.
watchDocument(url, onChange)callsonChange(seen)with a summary of what the node holds, or with no argument when the node doesn't say.PackageTracker.watch'sonChangetakes the same optionalseen.ModuleWatcherlooks a package up whenseenchanges or is absent, and does nothing when a restarted node says the same as before.A reload also waits for its import to finish before the next one starts, so the changes that land meanwhile collapse into one more import at the latest heads.
Updated dependencies [3585501]
@inkandswitch/patchwork-filesystem@0.2.15
Patch Changes
3585501: A restart of the automerge worker no longer makes every tab look up every package at once. Those lookups reached the worker while it was shutting down, and answering them pushed the replacement over its memory threshold, so it recycled again. That kept the worker restarting about every 30s, with package lookups failing with HTTP 556 until the page was reloaded.
The sync node's
changednow carries its heads for the sedimentree. They're attached only once the tree holds every record that caused the change. Otherwisechangedcomes without them. The node also answers eachwatchwith the heads it has, so a replacement node tells watchers what it holds, including anything the node before it stored.PortSyncRemote.reconnect()re-sends its watches and no longer calls every watcher.These are Subduction's heads, not the document's: once a document has a long history they include ancestors of its automerge heads. So they only say whether anything arrived, never which version to load.
watchDocument(url, onChange)callsonChange(seen)with a summary of what the node holds, or with no argument when the node doesn't say.PackageTracker.watch'sonChangetakes the same optionalseen.ModuleWatcherlooks a package up whenseenchanges or is absent, and does nothing when a restarted node says the same as before.A reload also waits for its import to finish before the next one starts, so the changes that land meanwhile collapse into one more import at the latest heads.