fix(release): keep build and publish on one resource configuration; smoke test what ships #88

Merged
KofTwentyTwo merged 2 commits from fix/GH-87-stale-pri-smoke-test into main 2026-10-10 18:04:23 +00:00
2 Commits
Author SHA1 Message Date
james.maesandClaude Fable 5.1 074d617351 ci(release): no NuGet cache in the smoke job (zizmor cache-poisoning)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: James Maes <james@kof22.com>
2026-10-10 12:55:24 -05:00
james.maesandClaude Fable 5.1 339f9c2180 fix(release): keep build and publish on one resource configuration; smoke test what ships
v1.0.1 (and the beta.3 rehearsal) crashed at startup with 0xc000027b: the
published gclo.pri was 115 KB instead of 2.3 MB and lacked the WinUI theme
resources a self-contained unpackaged app must carry. The shared release
workflow builds Release (framework-dependent) and then publishes with
WindowsAppSDKSelfContained=true into the same obj; the incremental
_GenerateProjectPriFileCore target saw its new inputs as older than the index
it had already written and skipped, so the stale index shipped. Reproduced from
clean with the workflow's exact commands; publish alone, or a Debug build first
(the 1.0.0 pipeline), produced the correct index.

gclo ships only unpackaged and self-contained, so gclo.csproj now fixes
WindowsPackageType=None and WindowsAppSDKSelfContained=true for every build:
the Release build and the publish generate the same index (verified from clean
with the workflow's sequence; the published app opens).

release.yml gains a smoke job between the gates and the shared release: it
publishes with the shared workflow's exact command and runs the FlaUI suite
against the published gclo.exe (GCLO_UITEST_EXE). The release job needs it, so
a build that does not start can no longer be published. RELEASING.md documents
the job; v1.0.1 is marked prerelease with a warning per "A broken release".

Closes #87

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: James Maes <james@kof22.com>
2026-10-10 12:48:17 -05:00