Skip to content

fix(deps): update rust crate worktrunk to 0.36.0 - #1498

Merged
shunkakinoki merged 1 commit into
mainfrom
renovate/cargo
Apr 18, 2026
Merged

fix(deps): update rust crate worktrunk to 0.36.0#1498
shunkakinoki merged 1 commit into
mainfrom
renovate/cargo

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Apr 18, 2026

Copy link
Copy Markdown
Owner

This PR contains the following updates:

Package Type Update Change Pending
worktrunk (source) dependencies minor 0.35.30.36.0 0.39.0 (+3)

Release Notes

max-sixty/worktrunk (worktrunk)

v0.36.0

Compare Source

Improved
  • Git-style external subcommands: wt foo now runs wt-foo from PATH when foo is not a built-in, mirroring git foogit-foo. Third-party tools can be installed and invoked as wt <name> without touching this repo. Unrecognized commands show a git-style error with typo suggestions. Docs (#​2054, thanks @​pablospe for the suggestion in #​2053)

  • {{ owner }} template variable: Expands to the GitHub/GitLab repository owner, useful for constructing URLs or paths in hook templates and worktree-path. (#​2051, thanks @​greggdonovan)

  • Typed env-var config overrides: WORKTRUNK__LIST__TIMEOUT_MS=30 and other typed overrides now work correctly. Previously, string-typed env values silently failed deserialization, wiping all user config and falling back to defaults. (#​2062)

  • Config error attribution: Config load errors now identify the source — file errors show TOML line/column pointers, env-var errors list the offending WORKTRUNK_* variable. Previously all failures showed a generic message. (#​2068)

  • Per-symbol atomic status rendering: The Status column in wt list and the wt switch picker now renders each symbol independently — unresolved gates show at their position instead of fabricating defaults when the collect deadline expires. (#​2067)

  • Hook error messages: Malformed hook command config now lists the three accepted forms (string, named table, pipeline list) with a pointer to wt hook --help, instead of an opaque serde error. (#​2042)

  • Stale trash cleanup: wt remove now sweeps orphaned .git/wt/trash entries older than 24 hours after each removal, reclaiming space from interrupted background removals. (#​2039)

Changed
  • wt hook <type> exits successfully when no hooks are configured: Previously errored; now prints a warning and exits 0, so scripts and CI can invoke wt hook unconditionally. (#​2056)

  • Hook output log layout: Log files moved from flat .git/wt/logs/{name}.log to nested {branch}/{source}/{hook-type}/{name}.log. Per-branch listing/clearing is now O(that branch). logs get --format=json paths changed to relative. Legacy flat files are swept automatically. (#​2041)

Fixed
  • wt config show false "Not configured": When the shell init line lives in a sourced file (common with dotfile managers), config show no longer reports "Not configured" — it checks whether integration is actually active at runtime. Fixes #​1306. (#​2066, thanks @​wouter-intveld for reporting)

  • Remove-then-switch hint: The hint for shadowed remote branches now uses --foreground so the chained wt remove && wt switch actually works (background removal left a placeholder directory blocking the switch). (#​2040)

  • Conflict detection unified: The wt switch picker and wt list now both run both conflict probes (commit-level and working-tree). Previously the picker skipped the cheaper probe, leaving the fallback unreachable for clean worktrees; wt list non-full skipped the working-tree probe, missing conflicts from interrupted rebases. (#​2064)

Documentation
  • Surfaced vars & aliases on homepage and tips-patterns, cross-linked state keys to dedicated docs, tightened hook links. (#​2035, #​2036, #​2037, #​2038)
Internal
  • Subcommand ordering aligned to documented policies (pipeline order for step, CRUD for state actions). (#​2043, #​2044)

Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.


Summary by cubic

Upgrade worktrunk from 0.35.3 to 0.36.0 to adopt external subcommand support and reliability fixes. Improves typed env-var config handling and error messages; wt hook exits 0 when no hooks; hook log files move to per-branch paths.

Written for commit c5f6c34. Summary will update on new commits.

@shunkakinoki
shunkakinoki enabled auto-merge (squash) April 18, 2026 03:57
@coderabbitai

coderabbitai Bot commented Apr 18, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3b814e69-5eb2-429b-920d-4366296b0409

📥 Commits

Reviewing files that changed from the base of the PR and between 92f6830 and 42404cd.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • Cargo.toml

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated internal dependency version to the latest stable release.

Walkthrough

The worktrunk crate dependency in Cargo.toml is updated from version 0.35.3 to 0.36.0. No code modifications are present; all other dependencies remain unchanged.

Changes

Cohort / File(s) Summary
Dependency Version Update
Cargo.toml
Bumped worktrunk crate from 0.35.3 to 0.36.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🐰 A tiny bump, so neat and clean,
From thirty-five-point-three, I've seen,
To thirty-six the version hops,
The worktrunk crate now upward tops! 🚀

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and accurately summarizes the main change: updating the worktrunk dependency from 0.35.3 to 0.36.0, which is the only substantive modification in this PR.
Description check ✅ Passed The description is directly related to the changeset, providing comprehensive release notes, dependency update details, and context about the worktrunk version upgrade.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/cargo

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.

@mesa-dot-dev

mesa-dot-dev Bot commented Apr 18, 2026

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate
renovate Bot force-pushed the renovate/cargo branch from c5f6c34 to 42404cd Compare April 18, 2026 03:57
@mesa-dot-dev

mesa-dot-dev Bot commented Apr 18, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Updates the worktrunk Rust crate from version 0.35.3 to 0.36.0.

What changed?

  • Cargo.lock: Updated locked versions of project dependencies to reflect the worktrunk update.
  • Cargo.toml: The worktrunk dependency version was updated from 0.35.3 to 0.36.0.
  • The worktrunk update introduces improvements such as Git-style external subcommands, a new {{ owner }} template variable, and more robust handling of typed environment variable overrides. It also includes fixes for config display issues and unified conflict detection.

Description generated by Mesa. Update settings

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 2 files

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request updates the 'worktrunk' dependency from version 0.35.3 to 0.36.0 in both Cargo.toml and Cargo.lock. I have no feedback to provide.

@shunkakinoki
shunkakinoki merged commit b952ce1 into main Apr 18, 2026
34 of 38 checks passed
@shunkakinoki
shunkakinoki deleted the renovate/cargo branch April 18, 2026 08:38
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