Skip to content

Commit 4c0fa0e

Browse files
committed
fix(ci): support pwsh whitespace checks
- replace unsupported Unicode escape syntax in the local PowerShell whitespace checker Make renders consistent on CI test(render): force deterministic font rasterization Force ANTIALIASED_QUALITY for render tests by setting FW_FONT_QUALITY=4 in the render test assembly setup and reading that override in the native LOGFONT creation paths. This keeps local and CI rasterization aligned without changing production rendering. Also remove the RootSite per-channel pixel tolerance now that tests render deterministically again, so snapshot failures remain strict and actionable. fix(render): refresh baselines and restore datatree chrome test: normalize deterministic render fonts test: warm hidden-fields render capture test: enrich render diff diagnostics test: stabilize hidden-fields capture width
1 parent f33cec1 commit 4c0fa0e

39 files changed

Lines changed: 1260 additions & 344 deletions

File tree

Build/Agent/check-whitespace.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Get-Content check-results.log | ForEach-Object {
8383
}
8484

8585
if ($problems.Count -gt 0) {
86-
Write-Host "`u26A0`uFE0F Please review the output for further information."
86+
Write-Host 'WARNING: Please review the output for further information.'
8787
Write-Host '### A whitespace issue was found in one or more of the commits.'
8888
Write-Host ''
8989
Write-Host 'Errors:'
-663 Bytes
Loading
-1.91 KB
Loading
-2.57 KB
Loading
-1.8 KB
Loading
-2.08 KB
Loading
-1.92 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"ScenarioId": "subsubsub-hidden-productionlike",
3+
"SnapshotName": "DataTreeRenderTests.DataTreeRender_subsubsub-hidden-productionlike",
4+
"CapturedAtUtc": "2026-04-07T19:31:52.092415Z",
5+
"ImageWidth": 1024,
6+
"ImageHeight": 1296,
7+
"MachineName": "SIL-XPS",
8+
"OsVersion": "Microsoft Windows NT 10.0.26200.0",
9+
"EnvironmentHash": "3sUMmJxy5F2yJfd/zkW+tp+Srfbv4NmGLzt3D19Uu7c=",
10+
"Environment": {
11+
"DpiX": 96,
12+
"DpiY": 96,
13+
"FontSmoothing": true,
14+
"ClearTypeEnabled": true,
15+
"ThemeName": "Light",
16+
"TextScaleFactor": 1.0,
17+
"ScreenWidth": 1366,
18+
"ScreenHeight": 768,
19+
"CultureName": "en-US"
20+
},
21+
"DpiAwareness": "Unaware",
22+
"FontQuality": "4",
23+
"DeterministicFontFamily": "Segoe UI",
24+
"DeterministicFontInstalled": true
25+
}
Loading
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"ScenarioId": "subsubsub-hidden",
3+
"SnapshotName": "DataTreeRenderTests.DataTreeRender_subsubsub-hidden",
4+
"CapturedAtUtc": "2026-04-07T19:31:49.8258833Z",
5+
"ImageWidth": 1024,
6+
"ImageHeight": 1259,
7+
"MachineName": "SIL-XPS",
8+
"OsVersion": "Microsoft Windows NT 10.0.26200.0",
9+
"EnvironmentHash": "3sUMmJxy5F2yJfd/zkW+tp+Srfbv4NmGLzt3D19Uu7c=",
10+
"Environment": {
11+
"DpiX": 96,
12+
"DpiY": 96,
13+
"FontSmoothing": true,
14+
"ClearTypeEnabled": true,
15+
"ThemeName": "Light",
16+
"TextScaleFactor": 1.0,
17+
"ScreenWidth": 1366,
18+
"ScreenHeight": 768,
19+
"CultureName": "en-US"
20+
},
21+
"DpiAwareness": "Unaware",
22+
"FontQuality": "4",
23+
"DeterministicFontFamily": "Segoe UI",
24+
"DeterministicFontInstalled": true
25+
}

0 commit comments

Comments
 (0)