Skip to content

deps: batch soaked Wails, D-Bus, and undici updates - #2300

Merged
nadaverell merged 1 commit into
mainfrom
deps/dependabot-batch-2026-10-25
Oct 25, 2026
Merged

nadaverell merged 1 commit into
mainfrom
deps/dependabot-batch-2026-10-25

Conversation

@nadaverell

@nadaverell nadaverell commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Batch three soaked Dependabot updates into one dependency-only change. Echo stays on its current version because its proposed target has not completed the required 72 hours.

Screening and reconciliation

Screened at 2026-10-25 08:31:24 UTC; exact 72-hour cutoff: 2026-10-22 08:31:24 UTC. Ages below are measured at that instant, never from the bot PR creation dates. Go times are exact-version Go module proxy metadata; npm time is registry publication metadata.

Fetched/reconciled again before final QA and rebased onto 0200075dd003c2040dc554093ad04966b10d54a2. All four open PRs were authored by app/dependabot; inspected bodies, exact diffs, commits, files, reviews/comments, and checks. No target was already landed, no manifest baseline had drifted, and no new bot PR appeared during reconciliation. Original PR CI jobs passed or were appropriately skipped; CodeQL aggregate results were neutral. Bugbot comments on the Go PRs report billing configuration preventing review, with no code findings.

Included

Original PR Dependency Old → new Published (UTC) Soak age Risk conclusion
#2299 undici (dev-only via jsdom 29.1.1) 7.29.1 → 7.30.1 2026-10-15 14:18:31.283 234.215 h Security and lifecycle/backpressure fixes; exercise both jsdom-consuming workspace suites.
#2244 github.com/godbus/dbus/v5 v5.2.2 → v5.2.4 2026-10-13 15:56:18 280.585 h Decoder allocation/panic hardening, bus-address/error fixes; Radar uses session-bus portal theme detection on Linux.
#2249 github.com/wailsapp/wails/v2 v2.16.0 → v2.17.0 2026-10-18 03:52:50 172.643 h Dev IPC origin/host/capability hardening and MIME replacement; native/Windows builds and targeted upstream tests.
via #2249 github.com/gabriel-vasile/mimetype added v1.4.16; replaces github.com/wailsapp/mimetype v1.4.1 2026-10-17 10:11:07 190.338 h Required upstream companion replacement; review full old-to-new MIME behavior and test Wails asset detection.

Publication metadata: undici registry, D-Bus proxy, Wails proxy, MIME proxy. The GitHub Wails release publication is 03:53:50 UTC (one minute after its proxy timestamp), also safely beyond 72 hours.

Held / excluded

  • deps(go): bump github.com/labstack/echo/v4 from 4.15.3 to 4.16.1 #2298 — hold for soak: Echo v4.15.3 → v4.16.1 was published at 2026-10-22 16:32:16 UTC, only 63.986 hours old at screening; earliest eligible instant is 2026-10-25 16:32:16 UTC. GitHub release publication is 16:32:49 UTC, also under 72 hours. It changes proxy/WebSocket, body capture/decompression limits, routing and scheme handling, and requires Go 1.26; review those behavior changes and its go-colorable companion before including it later. Its security fixes do not override the soak gate. Leave this PR open. Release notes, compare, proxy metadata.
  • No risk-excluded or stale/already-landed PRs.

Upstream review and Radar usage

  • Undici: reviewed both 7.30.0 and 7.30.1, plus the complete compare. Fixes cover TLS option preservation/renegotiation, redirect-cache separation, decompression, SRI, SSE/WebSocket bounds, cookies, and upgrade diagnostics. No Radar direct/deep imports; only jsdom's dev dependency resolves it, so it is outside the shipped browser runtime. Open macOS EINVAL report #6075 explicitly reproduces on baseline 7.29.1; pool validation report #6054 involves unchanged pool dispatch/validation failure paths (pool-base.js is byte-identical across the bump). These are inherited issues rather than newly introduced regressions, and do not justify retaining the older security-vulnerable dev dependency.
  • D-Bus: reviewed 5.2.3, 5.2.4, and full compare. Radar's Linux theme_linux.go connects to the session bus, reads a portal variant, and already handles connection/property errors. No dependency graph additions from this bump. Protocol regression tests exercise the changed encoders/decoders.
  • Wails: reviewed 2.17.0 notes, full tag compare, and the exact v2 module source archive delta (the repository compare also contains unrelated v3/docs work). Production IPC is not the dev IPC transport. Radar's custom asset handler redirects to its own loopback server, so most asset serving stays in Radar. Changes include development IPC host/origin/token gating and reconnect-cookie refresh, remote-template warnings, Windows WinRT-only notifications (Radar has no notification API call sites), and macOS swallowing of unhandled key/Escape beeps outside fullscreen. Existing full-screen escape behavior is retained. No application migration or compatibility fallback is needed.
  • MIME: reviewed all intervening releases from v1.4.2 through v1.4.16 and compare. Detection has broader formats, updated MIME names, bounded/pathological-input fixes, and a Go 1.24 minimum (Radar is already Go 1.26). v1.4.16 is not retracted; its module retracts v1.4.4, v1.4.14, and v1.4.15, all bypassed here. Wails strips UTF-8 BOMs and explicitly tests JS/CSS/HTML/SVG/JSON/PNG MIME handling. Radar does not use generic Office/media detection paths from the open upstream reports.
  • Run modes: desktop dependencies affect local desktop; Undici is test-only. Shared in-cluster authorization and Hub's embedded UI/public APIs receive no source or wire-contract changes.

Final graph audit

Only go.mod, go.sum, and package-lock.json change. Native go get/go mod tidy and npm update undici --package-lock-only --ignore-scripts produced:

  • Go: Wails and D-Bus upgraded; new upstream mimetype replaces the Wails fork. No other resolved module versions move (including Echo, gommon, go-colorable, and golang.org/x modules).
  • npm: exactly one entry changes, undici 7.29.1 → 7.30.1. No new packages, manifest edits, or unrelated lockfile refreshes.
  • Six obsolete historical go.mod-only checksum entries disappear with the removed MIME fork; these are checksum pruning, not resolved upgrades/removals.
  • No source, generated frontend bundles, workflows, release configuration, tags, or distribution artifacts are included. Install used npm ci --ignore-scripts; candidate lifecycle scripts were never executed.

Review triage

Independent cross-model review of 9ddca269f717501e4aa8fd7e1c8cb4982dbcec08 found no blocking defect in the dependency graph. Its verification-gap finding was based on reading still-running logs; completion and exact results are reported below. Platform build coverage is explicitly listed. Existing release workflow @latest CLI installs and the Linux theme portal property call were verified as pre-existing follow-ups; neither is changed in this dependency-only batch. The portal's Settings API exposes color-scheme via Read/ReadOne rather than the Properties.Get call currently used by Radar, so protocol tests and compile coverage are the evidence here, not a claim of live portal theme detection.

Qodo also completed its automated review of 9ddca269f717501e4aa8fd7e1c8cb4982dbcec08: zero bugs, rule violations or requirement gaps; no inline findings.

Verification

The exact reviewed/pushed head is 9ddca269f717501e4aa8fd7e1c8cb4982dbcec08.

  • make tsc: passed locally on Node 24.14.1.
  • make build: passed locally (frontend → embed → Go binary).
  • go mod verify: all modules verified.
  • Native macOS production desktop: make desktop-binary GOFLAGS=-p=2 passed; ./radar-desktop --version prints v1.18.1-7-g9ddca269f. AppKit emits an existing setShowsBaselineSeparator deprecation warning.
  • Windows amd64 production desktop: GOOS=windows GOARCH=amd64 CGO_ENABLED=0 GOFLAGS=-p=2 go build -tags production ... ./cmd/desktop passed. Binary module metadata confirms Wails v2.17.0 and upstream mimetype v1.4.16; Radar's D-Bus integration is Linux-only.
  • Linux: Radar's standalone theme file compiles for linux/amd64; upstream D-Bus protocol tests execute successfully in a read-only, network-disabled linux/arm64 container. Full GTK/WebKit desktop linking was not run; the Wails v2 Linux native frontend is unchanged in the reviewed source delta.
  • Targeted upstream checks passed: Wails asset-server MIME regression cases and IPC token tests; Wails development host/origin/cookie/auth/reconnect tests; D-Bus encoding, decoding, length/panic handling, message validation and bus-address tests.
  • git diff --check: passed; final worktree clean. Only the three dependency files are committed.

All relevant CI jobs passed:

Check Result
Backend (all packages except server) passed
Backend (internal/server) passed
Frontend 294 files, 2,965 tests passed
Shared k8s-ui 307 files, 5,147 tests passed; 1 pre-existing skip
Settings browser journeys 142 passed
Helm refresh on Windows passed
CodeQL JavaScript/TypeScript analysis passed (aggregate CodeQL result neutral)

Local test caveats, kept explicit:

  • The initial local make test failed deadline-sensitive tests in MCP, server large-metrics and upgrade response bounding while the shared host was under severe build/test contention. Local frontend runs likewise hit timing failures; an isolated failing What’s New case passed. The bounded local retries were interrupted to stop consuming the overloaded host after the same head's full CI suites passed. No tests or timeouts were changed and no source workaround was added. The passing Backend + server CI jobs collectively exercise the root Go suite, including those deadline tests.
  • npm ci --ignore-scripts succeeds and npm ls undici --all resolves 7.30.1 correctly. npm ls --all exits 1 because the existing root DOMPurify 3.4.17 security override conflicts with Monaco 0.57.0's exact 3.4.15 declaration. Both values and the override are identical on the base.
  • Wails devserver's upstream test command triggers Go vet's nonconstant-format check at six Logger.Error(err.Error()) calls. All six are unchanged from v2.16.0. The actual dev IPC behavior tests pass with go test -tags dev -vet=off github.com/wailsapp/wails/v2/internal/frontend/devserver -count=1. Radar's normal Go tests and CI keep vet enabled.

Native macOS GUI smoke

Rebuilt the same head with make desktop GOFLAGS=-p=2, then drove its actual Wails/AppKit/WKWebView application through native accessibility and keyboard input. This exercised the production localhost redirect, rather than substituting a browser tab. Used an isolated kubeconfig and a disposable kind-radar-deps-smoke cluster with a running nginx Deployment, Service and ConfigMap.

Passed:

  • Native startup, exact version v1.18.1-7-g9ddca269f, connection to the test cluster, live counts, fonts, icons and resource detail drawers.
  • Native About dialog; fullscreen entry and Escape exit; Cmd+R reload and reconnection; Cmd+, Settings open/close; Cmd+[ / Cmd+] navigation.
  • Copy a ConfigMap value into Search; native Cmd+A / Cmd+X / Cmd+V roundtrip; paste into Monaco, find the inserted marker, copy the virtual editor selection back into Search, and cancel the draft without applying it.
  • Home, resource browsing, topology (25 resources / 15 edges), Cmd+K global search, Pod details and YAML/schema editor rendering; dark/light themes.
  • Pod logs render in the native pane. Reconnected the stream, generated a new nginx request from the fixture pod, and visually verified its new access/error records and updated counters.
  • Cmd+Q quits the app and stops its loopback server. Removed the temporary cluster and verified all three snapshotted Radar settings/port files exactly match their original bytes; the user's kube context was unchanged.

Observed caveat: an idle log stream disconnected after approximately 61 seconds. Existing records remained readable and manual Stream reconnection received new records correctly. The cause and baseline behavior were not established; this smoke test does not claim idle-stream endurance or attribute the disconnect to the dependency bump.

visual-test: native desktop smoke ran — 8 screenshots captured locally in /private/tmp/radar-dependabot-audit-2026-10-25/mac-smoke. The separate Playwright /visual-test workflow was skipped because this pass explicitly targeted the native desktop. Screenshots and local logs are retained; no test assets or generated binaries are committed.

Supersedes #2299, #2244, #2249.

@nadaverell
nadaverell marked this pull request as ready for review October 25, 2026 09:21
@nadaverell
nadaverell requested a review from hisco as a code owner October 25, 2026 09:21
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Batch soaked Wails, D-Bus, and undici dependency updates

⚙️ Configuration changes 🕐 20-40 Minutes

Grey Divider

AI Description

• Upgrade Wails and D-Bus after the required soak period for desktop fixes and hardening.
• Replace Wails’ MIME fork with its new upstream dependency and update test-only undici.
• Keep Echo unchanged until its proposed version completes the 72-hour soak.
Diagram

graph TD
  GoMod["Go modules"] --> Wails["Wails desktop"] --> MIME["MIME detection"]
  GoMod --> DBus["D-Bus client"] --> Theme["Linux theme"]
  NpmLock["npm lockfile"] --> Undici["undici"] --> Suites["jsdom tests"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Merge each dependency update separately
  • ➕ Smaller review units and simpler per-dependency rollback.
  • ➖ Repeats graph reconciliation and cross-platform verification for related dependency maintenance.

Recommendation: Keep the batch: the included versions have met the stated soak gate, the resolved changes are narrow, and verification covers the affected surfaces. Retaining Echo for a later PR preserves the gate without blocking the eligible updates.

Files changed (3) +9 / -15 · 1 not counted

Other (3) +9 / -15
go.modUpgrade desktop Go dependencies and replace Wails’ MIME fork +3/-3

Upgrade desktop Go dependencies and replace Wails’ MIME fork

• Upgrades godbus/dbus/v5 from v5.2.2 to v5.2.4 and Wails from v2.16.0 to v2.17.0. Replaces the indirect github.com/wailsapp/mimetype dependency with github.com/gabriel-vasile/mimetype v1.4.16; Echo remains unchanged.

go.mod

go.sumRefresh checksums for the revised Go module graph +6/-12

Refresh checksums for the revised Go module graph

• Adds checksums for the new D-Bus, Wails, and upstream mimetype versions and removes those for their predecessors. Prunes obsolete historical go.mod-only checksum entries.

go.sum

package-lock.jsonLock dev-only undici at 7.30.1 not counted

Lock dev-only undici at 7.30.1

• Updates the undici resolution from 7.29.1 to 7.30.1 for jsdom-consuming tests. The PR reports no npm manifest changes or other resolved package updates.

package-lock.json

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can enable the Remediation agent and Qodo fixes findings in a dedicated fix PR

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@nadaverell
nadaverell merged commit 0d8a406 into main Oct 25, 2026
12 checks passed
@nadaverell
nadaverell deleted the deps/dependabot-batch-2026-10-25 branch October 25, 2026 10:34
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