Repository navigation
Release v0.3.2 - #2
Merged
Merged
Conversation
Upgrading - hydrate on a worktree that already has a Library/ now exits 0 and leaves it alone. It used to exit 2. A script that relied on that failure to detect an existing Library should read value.action from hydrate --json instead. Goldens and worktrees made with v0.3.1 keep working. Added - hydrate --json, for an agent's worktree setup script. The record says whether the Library was cloned (action hydrated) or was already there (action kept, with library uwt or other), and names the build target. - Error records from hydrate --json and new --json carry a reason a script can branch on: no_golden, editor_busy, unsupported_volume, different_volume or other_project. - seed, hydrate and doctor print the build target the golden opens on. The golden carries it so worktrees skip a platform switch, but a golden left on one platform costs a switch in every worktree that builds for another. Seed on the platform you build for. The target is read from Unity 2021.3 and later; where it cannot be read, nothing is printed. Changed - hydrate is safe to run every time: a worktree that has a Library/ is left alone, and --force replaces it. - seed's warning about uncommitted changes now says what they cost: the Library was imported from them, so every worktree reimports those assets on first open. Seed from a clean checkout. - The docs give first-open time as a range (42-66 s for one editor alone, up to about 7 minutes with four opening at once on a large project), note that the Search index rebuilds in the background after the first refresh, and explain what new shares that hydrate does not (source and art files, not only the Library). Fixes - macOS: doctor, seed, new and hydrate now refuse a volume that is not APFS. cp -c copies every byte where the filesystem cannot clone, and its success was taken as proof of a clone, so doctor reported OK on a FAT volume and a seed there would have been a full copy. - hydrate --force no longer deletes the existing Library/ before it knows the replacement will work. It checks the volume first, clones the new Library next to the old one and swaps them, so a failed check or a failed clone leaves the old Library untouched. A swap that was interrupted is repaired by the next hydrate. - The test suite no longer assumes git's default branch is master. It failed two assertions where init.defaultBranch is main.
brian-taylor-unity
requested review from
elbert-s-perez and
josephburchettunity
November 19, 2026 16:48
josephburchettunity
approved these changes
Nov 19, 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.
Upgrading
Added
Changed
Fixes