Skip to content

v0.11.0: Remote commands move under patchula remote, shell completions, and lockfile fixes

Choose a tag to compare

@github-actions github-actions released this 24 Nov 01:47
· 22 commits to main since this release
c74ec43

The Count splits local and server commands, adds shell completions, and stops holding mise and actions.lock updates that it used to get wrong. Read the breaking changes before upgrading the CLI.

Added

  • Shell completions (@sweepies, #366). patchula completion <shell> prints a completion script for bash, elvish, fish, nu, powershell or zsh. Add --install to write it to the shell's completion directory, and --install --force to replace a file that patchula did not generate. The installed script calls patchula on Tab, so it does not need the usage binary. Release archives ship bash, zsh and fish completions under share/.

    patchula completion fish --install
  • Dashboard batch controls (@sweepies, #388). Open update PRs on the Dependency Dashboard have batch checkboxes, and the dashboard layout now matches the Count's PR descriptions (alerts, tables and collapsible sections).

  • Green batch trailer (@sweepies, #388). A patchula/batch commit gets a Patchula-Batch-Green: true trailer when every source PR passed the same clean and green check as auto-merge, the PRs touched disjoint files, and no lockfile is pending. If the proof cannot be read, the trailer is left out and the batch still writes.

  • Lockfile confirmation with gh-actions-lock (@sweepies, #394). Before publishing an actions.lock, the Count runs gh-actions-lock's online check against the workflows. A blocking finding holds the update with its reason. A retryable failure, such as GitHub being unreachable or rate-limited, makes the Count wait.

Fixed

  • Lock regeneration for an action that is also used directly (@sweepies, #392). gh-actions-lock 0.4.1 could drop a composite action's edge from actions.lock when the workflow also used the same pin directly, and the incomplete lock was published. The Count now runs gh-actions-lock 0.5.1.
  • mise updates no longer held by lockfile version skew (@sweepies, #393). A mise.lock written by a newer mise than the Count's pinned version made every mise update hold with "mise lock changed unrelated entries". The Count now keeps unchanged entries byte-for-byte and takes only the entries for the tools it updated. Any other change still holds, and the reason names what changed.
  • Tools declared with options or under a different spelling (@sweepies, #393). mise records some tools under a short name, so the Count failed to find them: tools with bracketed options (such as github:...[bin=...]), nodejs, golang and dotnet-core could not be matched. Platform selection also fell back to every platform in the file. These now resolve to the entry mise recorded.
  • CLI output and errors (@sweepies, #389). Local runs print only the spinner unless the cache is cold or -v is set, and --json output is no longer mixed with stderr chatter. Bare patchula prints root help. Parse errors show the failing command's help inline. patchula apply writes summaries to stdout, and --dry-run summaries to stderr, so stdout holds only the diff. Skipped-update reasons now name the dependency and its file.

Breaking Changes

  • Server commands move under patchula remote (@sweepies, #380). Local commands no longer talk to a server. Migrate as follows:
    • patchula auth is removed. Use patchula remote login and patchula remote logout.
    • --remote and --here are removed. Use patchula remote lookup, patchula remote run, patchula remote tui, each with --server <URL> (or PATCHULA_SERVER).
    • apply, lookup, tui and run always run on the local machine. They never read remotes.json or offer to switch to a server.
    • Local-only flags such as --cache, --config, --concurrency and --all-repos do not exist under patchula remote.
    • --recheck moved from the root flags to patchula run and patchula serve.
    • patchula run reads the repository from GitHub, inferring this checkout's remote when no repository is named. It no longer checks that the checkout is clean and on the default branch. patchula run --dry-run --dir <DIR> plans from a local directory.
    • Remembered servers are now kept in remotes.json. Existing repositories.json files are not broken by the upgrade.

Full Changelog: v0.10.0...v0.11.0