Skip to content

fix(just): pass smoke arguments to the shebang recipe - #3870

Merged
kixelated merged 1 commit into
mainfrom
fix/smoke-all-positional
Sep 21, 2026
Merged

kixelated merged 1 commit into
mainfrom
fix/smoke-all-positional

Conversation

@kixelated

Copy link
Copy Markdown
Collaborator

Problem

just test smoke --all silently ran the cheap default. #3823 rewrote the recipe as a bash shebang that inspects $1, but test/justfile never enables positional-arguments, so just does not export recipe arguments to the script. CI's smoke workflow has been running the Rust-only pair instead of the full interop matrix since then.

Reproduced by stubbing smoke.sh: on main just smoke --all prints a bare invocation; with this change it prints the full publisher/subscriber matrix and forwards trailing flags.

Approach

Enable set positional-arguments for the test module. Recipes that interpolate {{ args }} are unaffected.

Public API and wire impact

None.

🤖 Generated with Claude Code

`just test smoke --all` silently ran the cheap default: the recipe reads
`$1`, but the module never enabled `positional-arguments`, so just did not
export the arguments. CI's smoke workflow was therefore not running the full
interop matrix since #3823.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@kixelated
kixelated enabled auto-merge (squash) September 21, 2026 22:57
@coderabbitai

coderabbitai Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 923948b5-e001-4c62-83b5-75fd3e430bf7

📥 Commits

Reviewing files that changed from the base of the PR and between 5534aae and 4e61109.

📒 Files selected for processing (1)
  • test/justfile

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.

@kixelated

Copy link
Copy Markdown
Collaborator Author

MERGE

Positive improvement: yes. Since #3823 rewrote smoke as a bash shebang that branches on $1 == --all, missing set positional-arguments meant just test smoke --all (and CI) silently ran the cheap Rust-only path. Three lines restore the intended full interop matrix.

Worth the complexity: yes — complexity is essentially zero. Module-level positional-arguments is the documented just knob for shebang recipes; recipes that already interpolate {{ args }} (smoke-negative, smoke-media, drill, etc.) stay as they are.

Different approach: none better. Per-recipe tricks or rewriting smoke back to {{ args }} would either fail to detect --all cleanly or undo the shebang design from #3823. Enabling the setting once at the module top matches how just expects shebang argument passing to work.

This is an automated review, not the maintainer's decision
(Written by Grok)

@moq-bot

moq-bot Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

No issues found.
Verdict: approve
(Written by Muse Spark)

New%20session%20-%202026-09-21T22%3A57%3A52.922Z
opencode session  |  github run

@kixelated
kixelated merged commit 1bbd748 into main Sep 21, 2026
6 checks passed
@kixelated
kixelated deleted the fix/smoke-all-positional branch September 21, 2026 23:23
kixelated pushed a commit that referenced this pull request Sep 22, 2026
Main is red for every PR: #3873 added a file-wide setting on line 7
while #3870's scoped one on line 19 remained, and just rejects the
redefinition. Line 7 already covers all shebang recipes.

Drive-by for #3871 CI; split or cherry-pick as preferred.
kixelated added a commit that referenced this pull request Sep 22, 2026
#3870 and #3873 each added `set positional-arguments` to test/justfile, and
just refuses a setting that is set twice, so every `just` invocation on main
fails before reaching a recipe.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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