Skip to content

fix(setup): restore just default recipe listing - #256

Merged
c-vigo merged 4 commits into
feature/173-wire-cross-repo-dispatch-release-gatefrom
bugfix/254-fix-just-default-recipe
Mar 11, 2026
Merged

c-vigo merged 4 commits into
feature/173-wire-cross-repo-dispatch-release-gatefrom
bugfix/254-fix-just-default-recipe

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 11, 2026 •

Copy link
Copy Markdown
Contributor

Description

Running just with no arguments no longer shows available recipes because the lint recipe was placed before the default recipe in the justfile. This PR moves default back to the first position and adds a regression test. Also bumps expected gh CLI version to 2.88.x.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • justfile — reordered recipes so default appears before lint, restoring just with no arguments listing available recipes
  • tests/bats/just.bats — new bats test asserting just output starts with "Available recipes"
  • tests/test_image.py — bump expected gh version from 2.87 to 2.88
  • CHANGELOG.md — added Fixed entry for [BUG] just without arguments runs lint instead of listing recipes #254 and Changed entry for gh 2.88 bump

Changelog Entry

Fixed

  • just default recipe hidden by lint recipe (#254)
    • The default recipe must appear before any other recipe in the justfile; lint was placed first, shadowing the recipe listing
    • Moved default recipe above lint to restore just with no arguments showing available recipes

Changed

  • Bump GitHub CLI to 2.88.x
    • Update expected gh version in image tests from 2.87 to 2.88

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

N/A

Refs: #254

@c-vigo c-vigo self-assigned this Mar 11, 2026
@c-vigo
c-vigo merged commit 23ca217 into feature/173-wire-cross-repo-dispatch-release-gate Mar 11, 2026
2 checks passed
@c-vigo
c-vigo deleted the bugfix/254-fix-just-default-recipe branch March 11, 2026 08:43
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