Repository navigation
Add uSync.Files and use it for the folder integrity health check - #1294
Merged
Merged
Conversation
Copied from the uSync.CommandLine files-verify code so the health check and the command line share one copy. No Umbraco dependencies (BCL and System.Xml.Linq only), packed as its own package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The key clash and invalid config checks now come from uSync.Files, and the check adds results for merge conflict markers, alias clashes and items that are both deleted and live. Keys only clash within the same type now, so Content and PublicAccess sharing a node's key is no longer reported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 26, 2026
This was referenced Nov 30, 2026
Open
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.
Adds
uSync.Files, a dependency-free package holding the offline uSync folder checks, and makes the "uSync - Folder Clash check" health check use it.The same code (same git blobs) runs in uSync.Cli's new
files-verifycommand, which the new pipeline actions (Jumoo/usync-actions) use. Once this package ships, the CLI switches to it, so there is one copy of the rules.Package
uSync.Filestargets net10.0 and has no dependencies. It is packed likeuSync.Coreand added torelease.yml,prerelease.ymlanddist/build-package.ps1.uSync.BackOfficehas a project reference to it, so the BackOffice package now depends onuSync.Files.uSync.Files.Tests(NUnit), and all three workflows run them.Health check changes
SyncFileService.VerifyFolderAsyncis unchanged. It gates imports from uploaded zips, so moving it over would start blocking imports on the new rules.Tested
healthcheck-group-check -g uSyncreturned exit 1 for a key clash on uSync 17.6.3. That is the old health check; the same call should be repeated with a package built from this branch.🤖 Generated with Claude Code