Skip to content

Merge v17/main into v18/main (2026-10-13) - #1120

Merged
KevinJump merged 15 commits into
v18/mainfrom
merge/v17-to-v18-2026-10-13
Oct 13, 2026
Merged

KevinJump merged 15 commits into
v18/mainfrom
merge/v17-to-v18-2026-10-13

Conversation

@KevinJump

Copy link
Copy Markdown
Member

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.

Conflicts

  • uSyncSettings.cs: the RootFolder and Folders documented defaults are set to uSync/v18/; the rest of v18's settings are kept.
  • Generated API client (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 returns USyncActionView, no Exception type) 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

Please merge with a merge commit, not a squash, so the next forward port can trace the branch history.

🤖 Generated with Claude Code

KevinJump and others added 15 commits October 7, 2026 14:11
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant