Repository navigation
Conversation
Coverage Report for CI Build 45329573313Warning No base build found for commit Coverage: 96.567%Details
Uncovered Changes
Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats💛 - Coveralls |
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.
Deleting or renaming a source file can leave stale pages and assets in the destination that later get deployed. Full builds now empty the destination before writing output, including hidden files, while preserving the directory itself and its permissions.
Add
--no-cleanon the CLI and{ clean: false }in the API to preserve existing destination contents. The opt-out also works with--replace-watch; delegated builds reject incompatible flags instead of silently ignoring them. Watch rebuilds retain their targeted cleanup.Cleanup runs under the destination claim, rejects filesystem roots (including normalized paths and symlink aliases), protects source/copy inputs and the working directory, and refuses destinations that changed after claiming. Root guards also run inside the destructive helper itself. Child symlinks are unlinked without following their targets. If a full build fails after cleanup, previous output is not restored.
Validation: all 1,015 Node tests pass with
TMPDIR=/private/tmp, along with ESLint and the TypeScript check. Coverage includes preserved directory permissions, stale and hidden files, root paths, symlink aliases, competing destination claims, CLI/API opt-out behavior, and replacing an active watcher with cleanup enabled or disabled. Root regression tests block directory reads and deletion so a missing guard cannot make the tests destructive.