Skip to content

fix(wails3): drive the stack with the wails3 CLI, not a Taskfile target - #82

Merged
Snider merged 1 commit into
mainfrom
fix/wails3-cli-verbs
Jul 29, 2026
Merged

fix(wails3): drive the stack with the wails3 CLI, not a Taskfile target#82
Snider merged 1 commit into
mainfrom
fix/wails3-cli-verbs

Conversation

@Snider

@Snider Snider commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Task (taskfile.dev) is its own build orchestrator and no part of Wails. Threading a Taskfile target name through this action put another project's tool into the Wails stack's vocabulary, and made the caller name an internal detail — darwin:package — that Wails already has a verb for.

The premise in the old description was wrong:

There is no wails build invocation to compose

There is. wails3 build and wails3 package are both real, and internally they route through the project's own build description with GOOS passed in — so the CLI already does the dispatch this action was reaching past it to do by hand.

The input is wails3-command now, taking build or package and nothing else. An unknown verb fails here, naming the caller, rather than reaching wails3 as a subcommand it does not have. This also drops the step that installed the Task binary: wails3 runs the build through its own embedded runner.

The contract check gains the case that let this ship broken

A composite action referencing ${{ inputs.X }} it does not itself declare gets the empty string, silently. The forwarding check could not see it — it only asks whether a name a file declares is passed on, so forwarding an input the file never declared satisfies it while passing nothing.

That is exactly how the previous attempt repaired one hop of the chain, reported sound, and stayed severed at the next. Verified against the real bug:

$ python3 tests/action_contracts.py     # with the declaration removed
  actions/action.yml:179: references inputs.wails3-command, which this file
  does not declare — it will always be empty

1 problem(s)

🤖 Generated with Claude Code
Co-Authored-By: Virgil virgil@lethean.io

Task (taskfile.dev) is its own build orchestrator and no part of Wails.
Threading a Taskfile target name through this action put another
project's tool in the Wails stack's vocabulary, and made the caller name
an internal detail — `darwin:package` — that Wails already has a verb
for.

The premise in the old description was wrong: "there is no `wails build`
invocation to compose". There is. `wails3 build` and `wails3 package` are
both real, and internally they route through the project's own build
description with GOOS passed in, so the CLI already does the dispatch
this action was reaching past it to do by hand. The input is now
`wails3-command`, taking `build` or `package` and nothing else — an
unknown verb fails here, naming the caller, rather than reaching wails3
as a subcommand it does not have.

That also drops the step installing the Task binary: wails3 runs the
build through its own embedded runner, so nothing here needs task on
PATH.

The contract check gains the case that let this ship broken. A composite
action referencing ${{ inputs.X }} it does not itself declare gets the
empty string, silently — and the forwarding check could not see it,
because it only asks whether a name a file declares is passed on.
Forwarding an input the file never declared satisfies it while passing
nothing, which is how the previous attempt at this repaired one hop of
the chain, reported sound, and stayed severed at the next.

Co-Authored-By: Virgil <virgil@lethean.io>
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@Snider, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 31 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c2b553e8-dafb-45de-8317-88ed39187bba

📥 Commits

Reviewing files that changed from the base of the PR and between 9d4159b and 0fd79e8.

📒 Files selected for processing (5)
  • action.yml
  • actions/action.yml
  • actions/build/wails3/action.yml
  • actions/build/wails3/build/action.yml
  • tests/action_contracts.py

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


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.

@Snider
Snider merged commit 1586a15 into main Jul 29, 2026
56 checks passed
@Snider
Snider deleted the fix/wails3-cli-verbs branch July 29, 2026 03:49
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