Repository navigation
deps(desktop): wails v3.0.0-beta.6 → v3.0.0-beta.9 (GDK-294) - #42
Merged
Merged
Conversation
…→ 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
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]>
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.
Bumps the wails v3 pin the desktop module deferred at v0.14.
Why a PR and not a direct push: it touches
desktop/and itsgo.mod, so the verdict that matters comes fromDesktop Linux build(GTK4 + WebKitGTK + AppImage, ubuntu) andDesktop Windows build(windows-latest) — neither runs on this machine.What actually changed upstream
GetMessageWuntil the controller reported ready, with no deadline. beta.9 bounds it at 30s and callserrorCallbackwith a timeout (internal/webview2/pkg/edge/chromium.go).os.Exit(1)after ourErrorHandleris unchanged.G_APPLICATION_NON_UNIQUE(pkg/application/linux_cgo.h, upstream PR 5971). Our second-instance behaviour isSingleInstanceOptionskeyed per profile (desktop/main.go:223-226), and GTK's app id is the globalorg.wails.gadak— so GTK uniqueness would have threatened a second profile, and turning it off is a fix for us, not a conflict.request_linux.gois byte-identical between the pins and still callsnewRequestFinalizer, 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.sumdelta is the wails module alone.coldStartDecisionFor's two premises were re-read against the new source: Windows still emitsApplicationLaunchedWithUrlifflen(args)==2 && strings.Contains(args[1], "://")(application_windows.go:159-167), GTK4run()still never emits it (application_linux.go:89-99).Recurrence
TestPinnedWailsVersionIsNamedfails whengo.mod's version is absent frommain.go,README.mdorbuild-windows.ps1. That is not hypothetical — the bump leftbuild-windows.ps1:31naming beta.6, and extending the check to the pack script is what caught it (FAIL-first captured).TestWailsModuleVersionMatchesGoModtiesdebug.ReadBuildInfo()to the require line.Gates (lead-run, cold)
go build ./...0 ·go vet ./...0 ·go test ./... -count=1ok ·GOOS=windows GOARCH=amd640 ·GOOS=windows GOARCH=arm640. Linux/darwinCGO_ENABLED=0still 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