Repository navigation
Merge v17/main into v18/main (2026-10-13) - #1120
Merged
Merged
Conversation
A new uSync.Tests.E2E project, using @umbraco/playwright-testhelpers, with smoke tests for the uSync dashboard: it opens from the settings menu, shows the actions for a group, and can run a report. The tests run locally against uSyncSource.Site, which Playwright starts when it isn't already running. They are not wired into the workflows, as the test sites are not in the repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add Playwright end-to-end tests for the uSync dashboard
Being public is enough on its own: the action repo's organization-level Actions access only reaches private repos, so moving this repo into the Jumoo org wouldn't remove the need for the checkout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Correct the nightly feed checkout comment
DisableDashboard, SummaryDashboard and DisableNotificationSuppression had string DefaultValues on bool properties, and Folders had a single comma-separated string on a string array. The swagger and appsettings schemas carried those through as string defaults. RootFolder and Folders also still pointed at v14. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
uSyncAction.Exception is a System.Exception, so Swashbuckle walked TargetSite and emitted the .NET reflection graph (Assembly, MethodBase, Module, Type, IntPtr...) as component schemas. Map Exception to a small object instead and regenerate the backoffice client types. The JSON returned at runtime is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MapType changes the shared SwaggerGenOptions, so it rewrote Exception in every swagger document on the site, not just ours. Use a document filter that only acts on the uSync document: it swaps in the simple Exception schema and removes the schemas only the old one referenced. The base class lets other packages apply it to their own documents. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ImportSingle was the only endpoint returning a raw uSyncAction, which put System.Exception (and the reflection graph behind it) into the swagger doc. Map it with ToActionView like every other endpoint, which already folds the exception message into Message, and drop the document filter that was hiding the exception schema. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ToActionView is obsolete in favour of AsActionView, which does the same mapping. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…aults Clean up the uSync swagger doc: ImportSingle response and setting defaults
ClearByKey does a starts-with scan over every cache entry, which goes O(n^2) over large export/report runs and also over-clears (clearing id 12 also cleared 123). These keys are always exact, so use Clear(key). Ported from #1022 by @AndersKaae. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use Clear(key) for exact-key cache removal
Port of #1118 from v13. GetFolderItemsAsync packed level and sort order as (level * 1000) + sortOrder, so a node with sortOrder >= 1000 could sort before its own parent. Store the real level and sort by Level then SortOrder instead. TemplateHandler used Level > 1000 to detect non-root templates, which relied on the packed value; it now checks Level > 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix import ordering overflow past 1000 siblings
- #1119 Fix import ordering overflow past 1000 siblings - #1117 Use Clear(key) for exact-key cache removal - #1116 Swagger exception and DefaultValue fixes - #1114 Nightly feed comment in prerelease workflow - #1111 Playwright E2E tests Conflicts: - uSyncSettings: RootFolder/Folders defaults set to uSync/v18/. - Generated API client: regenerated from the v18 site's swagger. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 9, 2026
This was referenced Nov 27, 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.
Forward merge of v17/main into v18/main. Baseline is the last forward merge (
3bb68192, 2026-09-30); ancestry is intact, so this carries exactly five PRs.Clear(key)for exact-key cache removalDefaultValuefixesprerelease.ymlConflicts
uSyncSettings.cs: theRootFolderandFoldersdocumented defaults are set touSync/v18/; the rest of v18's settings are kept.src/api): regenerated from the v18 source site's swagger, not taken from either side. The result includes the Clean up the uSync swagger doc: ImportSingle response and setting defaults #1116 changes (Import returnsUSyncActionView, noExceptiontype) and v18's own endpoints (Running,Status). It also adds settings v18 had never regenerated (cacheImportState,additionalBadNames,includeWindowsReservedNames), and refreshes the hey-api runtime files from the locked 0.99.0.Checks
dotnet build uSync.slnx: 0 errorsuSync.Tests: 250 passednpm run build(tsc + vite): passesPlease merge with a merge commit, not a squash, so the next forward port can trace the branch history.
🤖 Generated with Claude Code