fix(v3/examples): update go.sum files for Windows webview2 dependency#5400
Conversation
…ntries Six examples (dev, file-association, gin-routing, gin-service, notifications, server) had go.sum files missing the Windows-only webview2 dependency (github.com/wailsapp/wails/webview2), causing `go build .` to fail on Windows with "missing go.sum entry for module providing package github.com/wailsapp/wails/webview2/pkg/edge". Fixes wailsapp#4042
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
WalkthroughThe gin-service example's go.mod adds the indirect dependency ChangesDependency Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.1)level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies" Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…es): update go.sum files for Windows webview2 dependency
Summary
Six examples had
go.sumfiles generated on Linux/macOS that were missing the Windows-onlygithub.com/wailsapp/wails/webview2dependency. On Windows,go build .failed with:Affected examples:
dev,file-association,gin-routing,gin-service,notifications,serverFix: Ran
go mod tidyon Windows in each affected example directory to add the missing webview2 entry togo.sum.Changes
v3/examples/dev/go.sum— addgithub.com/wailsapp/wails/webview2 v1.0.24v3/examples/file-association/go.sum— addgithub.com/wailsapp/wails/webview2 v1.0.24v3/examples/gin-routing/go.sum— addgithub.com/wailsapp/wails/webview2 v1.0.24v3/examples/gin-service/go.mod+go.sum— addgithub.com/wailsapp/wails/webview2 v1.0.24andgithub.com/coder/websocket v1.8.14v3/examples/notifications/go.sum— addgithub.com/wailsapp/wails/webview2 v1.0.24v3/examples/server/go.sum— addgithub.com/wailsapp/wails/webview2 v1.0.24Test plan
go mod tidyran successfully on Windows (go1.26.2 windows/amd64) in all six directoriesgo build .in each example directory on Windows (no CGo errors, no missing go.sum entries)Summary by CodeRabbit