Repository navigation
Offer to migrate a NUKE build from the command palette - #36
Draft
ChrisonSimtian wants to merge 3 commits into
Draft
ChrisonSimtian wants to merge 3 commits into
ChrisonSimtian wants to merge 3 commits into
Conversation
Add Fallout: Migrate from NUKE… to run fallout-migrate in the terminal, dry run first. Detect an unmigrated NUKE repo, show a one-time prompt and a welcome link in the empty Build views, and offer to install the tool when it is missing.
- Run the dry run first, wait for it, and only then offer the real run - Install with `dotnet tool update -g` and find the tool on disk, not PATH - Use a fresh terminal per run and a busy guard against overlapping runs - Pick the NUKE build across all workspace folders; prompt once per repo - Widen detection: quote styles, Update/Remove, nested repos, non-empty .nuke - Hide the generic welcome text in NUKE repos - Refresh the tree when the migration terminal closes
ChrisonSimtian
force-pushed
the
migrate-from-nuke
branch
from
November 16, 2026 22:05
189329e to
09a58de
Compare
- Move detection to a vscode-free src/nuke.ts and unit test it on temp repos - Extract openMigrationTerminal so an extension-host test can drive it with a stub tool - Fix the migration terminal never reporting it was done: it stays open after exit, so poll exitStatus as well as the close event
This branch has not been deployed
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 #33.
Open a NUKE build and the extension offers to migrate it with
fallout-migrate.Fallout: Migrate from NUKE…installs the tool if missing, runsfallout-migrate --dry-runand waits for it. Output goes to the "Fallout Migrate" Output channel. Only after a clean preview does it offer the real run.dotnet tool update -g Fallout.Migrate(installs or upgrades, never fails on "already installed"). The tool is found in~/.dotnet/toolsbefore PATH..nuke/directory, or a_build.csprojwithNuke.*inInclude,UpdateorRemove(either quote style), and no.fallout/. With several matches the command asks which one..nuke/parameters.json,.nuke/build.schema.jsonand_build.csproj, so the prompt can appear before any graph exists..fallout/or.nuke/appears or disappears.Start reading at
src/migrate.ts.Verified
npm testpasses: unit, webview and extension-host.Update=, nested repos, migrated, empty and legacy.nuke, skipped directories, depth limit.exitStatusis polled as well as the close event).Not verified
fallout.nukeRepoand the tree refresh after the rename are not asserted by a test.Limits
_build.csproj, the name the migrator itself requires. Other build project names are not found.node_modules,.git,binandobj. Not measured on a large monorepo.