Skip to content

deps(desktop): wails v3.0.0-beta.6 → v3.0.0-beta.9 (GDK-294) - #42

Merged
midagedev merged 1 commit into
mainfrom
fix/w5-wails
Aug 19, 2026
Merged

midagedev merged 1 commit into
mainfrom
fix/w5-wails

Conversation

@midagedev

Copy link
Copy Markdown
Owner

Bumps the wails v3 pin the desktop module deferred at v0.14.

Why a PR and not a direct push: it touches desktop/ and its go.mod, so the verdict that matters comes from Desktop Linux build (GTK4 + WebKitGTK + AppImage, ubuntu) and Desktop Windows build (windows-latest) — neither runs on this machine.

What actually changed upstream

  • WebView2 init is now bounded. beta.6 pumped GetMessageW until the controller reported ready, with no deadline. beta.9 bounds it at 30s and calls errorCallback with a timeout (internal/webview2/pkg/edge/chromium.go). os.Exit(1) after our ErrorHandler is unchanged.
  • GTK4 uses G_APPLICATION_NON_UNIQUE (pkg/application/linux_cgo.h, upstream PR 5971). Our second-instance behaviour is SingleInstanceOptions keyed per profile (desktop/main.go:223-226), and GTK's app id is the global org.wails.gadak — so GTK uniqueness would have threatened a second profile, and turning it off is a fix for us, not a conflict.
  • #5963's asset-request cancel is macOS/iOS only. request_linux.go is byte-identical between the pins and still calls newRequestFinalizer, not the native-cancel wrapper. The release note reads as a GTK fix; it is not one.

No transitive requirement moved — the go.mod/go.sum delta is the wails module alone.

coldStartDecisionFor's two premises were re-read against the new source: Windows still emits ApplicationLaunchedWithUrl iff len(args)==2 && strings.Contains(args[1], "://") (application_windows.go:159-167), GTK4 run() still never emits it (application_linux.go:89-99).

Recurrence

TestPinnedWailsVersionIsNamed fails when go.mod's version is absent from main.go, README.md or build-windows.ps1. That is not hypothetical — the bump left build-windows.ps1:31 naming beta.6, and extending the check to the pack script is what caught it (FAIL-first captured). TestWailsModuleVersionMatchesGoMod ties debug.ReadBuildInfo() to the require line.

Gates (lead-run, cold)

go build ./... 0 · go vet ./... 0 · go test ./... -count=1 ok · GOOS=windows GOARCH=amd64 0 · GOOS=windows GOARCH=arm64 0. Linux/darwin CGO_ENABLED=0 still fails as before the bump — documented at .github/workflows/ci.yml:266-268, not introduced here.

Not verified — no GUI in this environment

The 30s WebView2 deadline against a real missing runtime; a second-profile launch under NON_UNIQUE; Darwin's asset-cancel path.

🤖 Generated with Claude Code

…→ beta.9 (GDK-294)

Three upstream changes actually land here. WebView2's Embed used to pump
GetMessageW until the controller reported ready, with no deadline; beta.9
bounds it at 30s and calls errorCallback with a timeout instead of hanging
(internal/webview2/pkg/edge/chromium.go). GTK4 now creates its GApplication
with G_APPLICATION_NON_UNIQUE (pkg/application/linux_cgo.h), which matters
because our second-instance behaviour is SingleInstanceOptions keyed per
profile (main.go:223-226), not GTK uniqueness — GTK's app id is the global
org.wails.gadak, so uniqueness there would have blocked a second profile.
The third, #5963's asset-request cancel, is macOS/iOS only: request_linux.go
is byte-identical between the pins and still has no GCancellable. The
release note reads as a GTK fix and is not one.

coldStartDecisionFor's two premises were re-read against the new pin rather
than assumed: Windows still emits ApplicationLaunchedWithUrl exactly when
len(args)==2 and args[1] contains "://" (application_windows.go:159-167),
and GTK4 run() still never emits it (application_linux.go:89-99). No
transitive requirement moved.

Recurrence: the comments that name the pin are beliefs about upstream, and
GDK-296 already closed one round of that rot. TestPinnedWailsVersionIsNamed
fails when go.mod's version is missing from main.go, README.md or
build-windows.ps1 — build-windows.ps1:31 was in fact left at beta.6 by the
bump and is what the check caught. TestWailsModuleVersionMatchesGoMod ties
debug.ReadBuildInfo to the require line. Deliberately not scraping upstream
source: a rename of the "://" check would fail us even where behaviour held.

Debuggability: one startup line names version, wails pin and whether this
process defers to the launch event.

Not verified here, because there is no GUI in this environment: the 30s
WebView2 deadline on a real missing runtime, the second-profile launch under
NON_UNIQUE, and Darwin's asset-cancel path.

Co-Authored-By: Claude Opus 5 <[email protected]>
@midagedev
midagedev merged commit c031dc1 into main Aug 19, 2026
6 checks passed
@midagedev
midagedev deleted the fix/w5-wails branch August 20, 2026 07:13
midagedev added a commit that referenced this pull request Sep 7, 2026
…gate scripts are wired (GDK-1570, GDK-1567, GDK-1568, GDK-1573)

Nine capture-only tests (six web, three phone) ran on every CI pass and
photographed surfaces nobody in CI looked at; they skip now unless a
vision round names a *_SHOT_DIR, and e2e/capture-guard.unit.ts keeps every
.screenshot( in the CI set behind such a guard. The /tmp/fNN-shots
writers went with the ux-fNN files they lived in.

readTerm was copied four times (three demo specs, the phone shell spec),
and none of the copies stitched wrapped rows — the 2026-08-30 CI class
re-introduced, latent on the 402px phone gate. e2e/term-read.ts is the
import-free owner both trees import; helpers.ts re-exports it and a lint
holds translateToString( to that one module.

tools/check-lockfile-platforms.sh and tools/ci-status-test.sh existed to
prevent measured incidents and nothing ran them; doc-checks #42–#44 wire
both and fail when a script that calls itself a gate is referenced by
nothing. The lockfile loop gains mobile/package-lock.json.

The e2e ladder: ux-f7/f11/f12/f13 (audit-batch names) redistribute into
surface-named specs, test for test; the width axis has one owner
(list-row-overflow); theme's static half becomes a unit test; one
Tailwind-output assertion goes.

Second release audit v0.21, tests and simplify axes. Round on GLM-5.3.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant