Skip to content

worktrunk: init at 0.29.0 - #496607

Merged
GaetanLepage merged 1 commit into
NixOS:masterfrom
siriobalmelli:sb/add-worktrunk
Mar 11, 2026
Merged

GaetanLepage merged 1 commit into
NixOS:masterfrom
siriobalmelli:sb/add-worktrunk

Conversation

@siriobalmelli

@siriobalmelli siriobalmelli commented Mar 4, 2026 •

Copy link
Copy Markdown
Contributor

worktrunk is a git worktree manager designed for running parallel AI agent workflows.

The wt CLI wraps git worktree with a simpler interface and integrates with tools like Claude Code, Cursor, and Aider.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Mar 4, 2026
@siriobalmelli

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 496607
Commit: 69fa33ad11b3ccf0380f5ea903779177e4183e22


x86_64-linux

✅ 1 package built:
  • worktrunk

aarch64-linux

✅ 1 package built:
  • worktrunk

x86_64-darwin

✅ 1 package built:
  • worktrunk

aarch64-darwin

✅ 1 package built:
  • worktrunk

@siriobalmelli
siriobalmelli marked this pull request as ready for review March 4, 2026 16:37
@nixpkgs-ci nixpkgs-ci Bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Mar 4, 2026
Comment thread pkgs/by-name/wo/worktrunk/package.nix Outdated

meta = {
description = "Git worktree manager for parallel AI agent workflows";
homepage = "https://github.com/max-sixty/worktrunk";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
homepage = "https://github.com/max-sixty/worktrunk";
homepage = "https://worktrunk.dev/";

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you, respun

@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Mar 4, 2026
@siriobalmelli
siriobalmelli force-pushed the sb/add-worktrunk branch 3 times, most recently from ef70894 to a169038 Compare March 7, 2026 05:26
@DuskyElf
DuskyElf self-requested a review March 7, 2026 06:52

@DuskyElf DuskyElf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@DuskyElf

DuskyElf commented Mar 7, 2026

Copy link
Copy Markdown
Member

@delafthi can you please have a look at this ?

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Mar 7, 2026
Comment thread pkgs/by-name/wo/worktrunk/package.nix Outdated
Comment on lines +63 to +66
passthru = {
tests.version = testers.testVersion { package = worktrunk; };
updateScript = nix-update-script { };
};

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.

Suggested change
passthru = {
tests.version = testers.testVersion { package = worktrunk; };
updateScript = nix-update-script { };
};
passthru.updateScript = nix-update-script { };

versionCheckHook and this perform the same thing. However, versionCheckHook is generally considered better.

Comment thread pkgs/by-name/wo/worktrunk/package.nix Resolved
Comment thread pkgs/by-name/wo/worktrunk/package.nix Outdated
stdenv,
fetchFromGitHub,
rustPlatform,
git,

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.

Suggested change
git,
gitMinimal,

Try if gitMinimal is enough.

@siriobalmelli

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 496607
Commit: 4233ac321bf96815235626f85eb3aad767ba4131


x86_64-linux

✅ 1 package built:
  • worktrunk

aarch64-linux

✅ 1 package built:
  • worktrunk

x86_64-darwin

✅ 1 package built:
  • worktrunk

aarch64-darwin

✅ 1 package built:
  • worktrunk

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Mar 8, 2026
@siriobalmelli

Copy link
Copy Markdown
Contributor Author

Upstream has released v0.29.0 — updated the package.

@nixpkgs-ci nixpkgs-ci Bot added the 8.has: package (update) This PR updates a package to a newer version label Mar 9, 2026
@VuiMuich

VuiMuich commented Mar 9, 2026 •

Copy link
Copy Markdown
Contributor

Upstream has released v0.29.0 — updated the package.

Thanks for keeping this up to date, but please squash the commits and rename commit and PR to "worktrunk: init at 0.29.0".

@nixpkgs-ci nixpkgs-ci Bot removed the 8.has: package (update) This PR updates a package to a newer version label Mar 9, 2026
@VuiMuich

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 496607
Commit: 6db13150360134e6fc328edda6193a5ec5124db8


x86_64-linux

✅ 1 package built:
  • worktrunk

@VuiMuich

Copy link
Copy Markdown
Contributor

@siriobalmelli please also rename the title of the PR

@delafthi
delafthi requested a review from GaetanLepage March 10, 2026 14:10
@delafthi

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 496607
Commit: 6db13150360134e6fc328edda6193a5ec5124db8 (subsequent changes)
Merge: 6883fb7f960077d528cd2cdf8b469af27f3d112a

Logs: https://github.com/delafthi/nixpkgs-review-gha/actions/runs/22906676824


x86_64-linux

✅ 1 package built:
  • worktrunk

aarch64-linux

✅ 1 package built:
  • worktrunk

x86_64-darwin (sandbox = relaxed)

✅ 1 package built:
  • worktrunk

aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • worktrunk

@delafthi delafthi 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.

Approved automatically following the successful run of nixpkgs-review.

Comment on lines +52 to +53
# Expects `which` on PATH
"--skip=output::commit_generation::tests::test_command_exists_known_command"

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.

I'm curious, which package is it trying to find on PATH?

@siriobalmelli siriobalmelli Mar 11, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test being disabled (from https://github.com/max-sixty/worktrunk/blob/24905111239ad5aeb8f871863ad8e9e1ebcf1342/src/output/commit_generation.rs#L229) is:

    #[test]
    fn test_command_exists_known_command() {
        // 'which' (Unix) or 'where' (Windows) should always exist
        #[cfg(not(windows))]
        assert!(command_exists("which"));
        #[cfg(windows)]
        assert!(command_exists("where"));
    }

And the command_exists function it calls (in https://github.com/max-sixty/worktrunk/blob/24905111239ad5aeb8f871863ad8e9e1ebcf1342/src/output/commit_generation.rs#L55) is:

/// Check if a command is available in PATH.
///
/// Uses platform-appropriate method: `where` on Windows, `which` on Unix.
fn command_exists(cmd: &str) -> bool {
    #[cfg(windows)]
    let check_cmd = "where";
    #[cfg(not(windows))]
    let check_cmd = "which";

    std::process::Command::new(check_cmd)
        .arg(cmd)
        .stdout(std::process::Stdio::null())
        .stderr(std::process::Stdio::null())
        .status()
        .map(|s| s.success())
        .unwrap_or(false)
}

so on linux it's calling which which ... which is not in the sandbox by default. I could add it to nativeCheckInputs but the test itself is a bit absurd so I'm choosing to skip.

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.

Definitely, let's keep it skipped.

@siriobalmelli siriobalmelli changed the title worktrunk: init at 0.28.2 worktrunk: init at 0.29.0 Mar 11, 2026
Signed-off-by: Sirio Balmelli <[email protected]>
Co-authored-by: jan Lemata <[email protected]>
Co-authored-by: Thierry Delafontaine <[email protected]>
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. and removed 12.approvals: 2 This PR was reviewed and approved by two persons. labels Mar 11, 2026
@GaetanLepage

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 496607
Commit: 1cf2ec386732b4f3e48ac123b713be39325e3bd8


x86_64-linux

✅ 1 package built:
  • worktrunk

aarch64-linux

✅ 1 package built:
  • worktrunk

x86_64-darwin

✅ 1 package built:
  • worktrunk

aarch64-darwin

✅ 1 package built:
  • worktrunk

@GaetanLepage
GaetanLepage added this pull request to the merge queue Mar 11, 2026
Merged via the queue into NixOS:master with commit 55ed201 Mar 11, 2026
28 of 31 checks passed
@siriobalmelli
siriobalmelli deleted the sb/add-worktrunk branch March 11, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 3+ This PR was reviewed and approved by three or more persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants