Skip to content

fix: v3-alpha wails3 cli installation path#4597

Merged
leaanthony merged 2 commits into
wailsapp:v3-alphafrom
riadafridishibly:fix-v3-cli-installation-path
Sep 24, 2025
Merged

fix: v3-alpha wails3 cli installation path#4597
leaanthony merged 2 commits into
wailsapp:v3-alphafrom
riadafridishibly:fix-v3-cli-installation-path

Conversation

@riadafridishibly

@riadafridishibly riadafridishibly commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

Description

Fixes the wails3 binary installation module path in pre-release note.

Fixes #4596

Type of change

Please select the option that is relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Summary by CodeRabbit

  • Chores
    • Updated nightly release process to reference the correct v3 alpha installation target, ensuring dry-run and live release notifications point to the proper binary.
    • Minor formatting cleanup in release scripts for consistency.
  • Bug Fixes
    • Fixed nightly release pipeline issues so nightly releases run and report correctly.

@coderabbitai

coderabbitai Bot commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

Replaced two occurrences of the Go install module path from .../cmd/wails@<tag> to .../cmd/wails3@<tag> in the nightly v3 release workflow and added an Unreleased changelog entry documenting the pipeline fix.

Changes

Cohort / File(s) Summary
CI workflow
.github/workflows/nightly-release-v3.yml
Replaced go install github.com/wailsapp/wails/v3/cmd/wails@<tag> with go install github.com/wailsapp/wails/v3/cmd/wails3@<tag> in two locations; ensured trailing newline at EOF.
Unreleased changelog
v3/UNRELEASED_CHANGELOG.md
Added a Fixed entry noting pipelines were fixed for nightly release (PR #4597).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • fix: update command #4311 — Updated user-facing install command token from wails to wails3 in related documentation/CI contexts.

Suggested labels

v3-alpha

Poem

A rabbit nibbles on the log,
Fixed the path, removed the fog.
Nightly builds hum soft and free,
Wails became a friendly wails3. 🥕
Hop—CI green, hooray for me!

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Title Check ✅ Passed The PR title "fix: v3-alpha wails3 cli installation path" is concise, specific, and accurately summarizes the primary change — correcting the CLI installation module path for the v3-alpha release — making it clear to reviewers what the main change is.
Linked Issues Check ✅ Passed The changes directly address linked issue #4596 by updating the go install path from cmd/wails to cmd/wails3 in the nightly-release workflow and adding a corresponding changelog entry, fulfilling the coding-related requirement to correct the installation module path.
Out of Scope Changes Check ✅ Passed All modified files (.github/workflows/nightly-release-v3.yml and v3/UNRELEASED_CHANGELOG.md) are related to the release process and changelog, and the diffs show only the installation path fix and a changelog entry plus a trailing newline, so there are no apparent out-of-scope or unrelated changes.
Description Check ✅ Passed The PR description clearly explains the change, includes "Fixes #4596", and marks the change as a bug fix, satisfying the template's core requirement to state what was changed and which issue is fixed; however it omits explicit testing details, the wails doctor output, and completion of the checklist items requested by the repository template which maintainers normally expect.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 09503de and 710ff50.

📒 Files selected for processing (1)
  • v3/UNRELEASED_CHANGELOG.md (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • v3/UNRELEASED_CHANGELOG.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Run Go Tests v3 (ubuntu-latest, 1.24)
  • GitHub Check: Run Go Tests v3 (macos-latest, 1.24)
  • GitHub Check: Run Go Tests v3 (windows-latest, 1.24)

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. Bug Something isn't working v3-alpha labels Sep 22, 2025
@dosubot

dosubot Bot commented Sep 22, 2025

Copy link
Copy Markdown

Related Documentation

Checked 1 published document(s). No updates required.

You have 2 draft document(s). Publish docs to keep them always up-to-date

How did I do? Any feedback?  Join Discord

@github-actions github-actions Bot removed the v3-alpha label Sep 22, 2025

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c179893 and 09503de.

📒 Files selected for processing (1)
  • .github/workflows/nightly-release-v3.yml (3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: semgrep-cloud-platform/scan
🔇 Additional comments (3)
.github/workflows/nightly-release-v3.yml (3)

486-487: Correct install path updated to cmd/wails3.

Matches v3 module path and resolves #4596/PR objective. Good catch in the DRY RUN preview.


520-521: Live release notes fixed as well.

The install snippet now correctly points to cmd/wails3. Keeps DRY RUN and LIVE outputs consistent.


729-729: Trailing newline added.

Minor hygiene improvement; avoids “No newline at end of file” diffs later.

Comment on lines +486 to 487
echo "go install github.com/wailsapp/wails/v3/cmd/wails3@${{ steps.release.outputs.tag }}"
echo "\`\`\`"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

🧩 Analysis chain

Sweep for any remaining cmd/wails occurrences.

To prevent regressions in other docs/workflows, run a quick repo-wide check.

Also applies to: 520-521


🏁 Script executed:

#!/bin/bash
# Find any stale v3 install snippets still pointing at cmd/wails@
rg -nP -C2 --hidden -g '!**/vendor/**' $'go\\s+install\\s+github\\.com/wailsapp/wails/v3/cmd/wails@'
# Show all current wails3 install snippets for confirmation
rg -nP -C2 --hidden -g '!**/vendor/**' $'go\\s+install\\s+github\\.com/wailsapp/wails/v3/cmd/wails3@'

Length of output: 297


🏁 Script executed:

#!/bin/bash
# Find any stale v3 install snippets still pointing at cmd/wails@
rg -nP -C2 --ignore-dir vendor 'go\s+install\s+github\.com/wailsapp/wails/v3/cmd/wails@' .
# Show all current wails3 install snippets for confirmation
rg -nP -C2 --ignore-dir vendor 'go\s+install\s+github\.com/wailsapp/wails/v3/cmd/wails3@' .

Length of output: 885


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Searching for old 'cmd/wails@' go install lines..."
grep -RIn --binary-files=without-match --exclude-dir=vendor -E 'go[[:space:]]+install[[:space:]]+github\.com/wailsapp/wails/v3/cmd/wails@' . || true

echo "Searching for 'cmd/wails3@' go install lines..."
grep -RIn --binary-files=without-match --exclude-dir=vendor -E 'go[[:space:]]+install[[:space:]]+github\.com/wailsapp/wails/v3/cmd/wails3@' . || true

echo "Searching for any occurrences of 'cmd/wails'..."
grep -RIn --binary-files=without-match --exclude-dir=vendor -F 'cmd/wails' . || true

echo "Showing .github/workflows/nightly-release-v3.yml lines 470-530 (if present)..."
if [ -f ".github/workflows/nightly-release-v3.yml" ]; then
  sed -n '470,530p' .github/workflows/nightly-release-v3.yml || true
else
  echo "file not found: .github/workflows/nightly-release-v3.yml"
fi

Length of output: 102199


Sweep for remaining cmd/wails usages — fix v3/internal reference

nightly-release-v3.yml already uses cmd/wails3 (lines 486, 520). v3/internal/commands/update_cli.go:164 still runs go install github.com/wailsapp/wails/v3/cmd/wails@… — change to github.com/wailsapp/wails/v3/cmd/wails3@… or confirm it's intentional. Other matches are v2 docs/translations and can remain.

🤖 Prompt for AI Agents
In v3/internal/commands/update_cli.go around line 164, the code still runs "go
install github.com/wailsapp/wails/v3/cmd/wails@…" which mismatches the rest of
the repo using cmd/wails3; update the import string to
"github.com/wailsapp/wails/v3/cmd/wails3@${tagOrVersion}" (or the equivalent
variable used there), i.e., replace "cmd/wails" with "cmd/wails3" so the
installed binary matches the v3 workflow, and run tests/CI to confirm no other
references need changing.

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Sep 24, 2025
@github-actions github-actions Bot added Documentation Improvements or additions to documentation v3-alpha labels Sep 24, 2025
@leaanthony leaanthony enabled auto-merge (squash) September 24, 2025 05:36
@sonarqubecloud

Copy link
Copy Markdown

@leaanthony leaanthony merged commit da9fd96 into wailsapp:v3-alpha Sep 24, 2025
51 checks passed
Grantmartin2002 pushed a commit to Grantmartin2002/wails that referenced this pull request Apr 29, 2026
* fix: v3-alpha wails3 cli installation path

* Update Changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files. v3-alpha

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants