Skip to content

Conversation

@gotcha
Copy link
Contributor

@gotcha gotcha commented Oct 13, 2025

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.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 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 Oct 13, 2025
@Tyler-Hardin
Copy link
Contributor

Did you test the build locally? Usually there are a few new test failures that we have to add skips for on each version bump.

@gotcha
Copy link
Contributor Author

gotcha commented Oct 13, 2025

@Tyler-Hardin I tested the build on Darwin aarch64. And had no test failures.

I am currently waiting for nixpkgs-review-gha.

Sorry for multiple attempts, this is my first time trying to contribute to an existing package... and hopefully getting there.

You might be able to help me: what is the nix-commands way of expressing nix-build -A goose-cli on the cloned repo ?

@gotcha
Copy link
Contributor Author

gotcha commented Oct 15, 2025

@Tyler-Hardin
Copy link
Contributor

Sorry, missed your last comment. Here's what I use to test a package build inside the nixpkgs repo:

nix build .#packages.x86_64-linux.goose-cli

Thanks for your work on this. Looks good!

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Oct 15, 2025
@gotcha gotcha changed the title goose-cli: 1.6.0 -> 1.9.3 goose-cli: 1.6.0 -> 1.10.2 Oct 16, 2025
@gotcha
Copy link
Contributor Author

gotcha commented Oct 16, 2025

@fusion44 updated the PR for 1.10.2...

I'll run nixpkgs-review again.

@fusion44
Copy link
Contributor

fusion44 commented Oct 16, 2025

1.10.2 has some auto generated new tests that result in names like:

    "--skip=test_replayed_session::vec_cargo_run_quiet_p_goose_server_bin_goosed_mcp_developer_vec_calltoolrequestparam_name_text_editor_into_arguments_some_object_command_view_path_goose_crates_goose_tests_tmp_goose_txt_calltoolrequestparam_name_text_editor_into_arguments_some_object_command_str_replace_path_goose_crates_goose_tests_tmp_goose_txt_old_str_goose_new_str_goose_modified_by_test_calltoolrequestparam_name_shell_into_arguments_some_object_command_cat_goose_crates_goose_tests_tmp_goose_txt_calltoolrequestparam_name_text_editor_into_arguments_some_object_command_str_replace_path_goose_crates_goose_tests_tmp_goose_txt_old_str_goose_modified_by_test_new_str_goose_calltoolrequestparam_name_list_windows_into_arguments_some_object_vec_expects"

Should I maybe patch out the whole file in the patch phase so we don't clutter the skip section in the script as much?

Edit - please don't merge yet. 1.10.2 contains a bug that should be fixed in next version:
block/goose#5202

@sikmir
Copy link
Member

sikmir commented Oct 18, 2025

Please squash commits.

@fusion44
Copy link
Contributor

Okay, package is updated to 1.11.0 and the error seems to be gone. Commits are squashed as requested.

@gotcha gotcha changed the title goose-cli: 1.6.0 -> 1.10.2 goose-cli: 1.6.0 -> 1.11.0 Oct 18, 2025
@gotcha
Copy link
Contributor Author

gotcha commented Oct 18, 2025

@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 Oct 19, 2025
@dpc
Copy link
Contributor

dpc commented Oct 20, 2025

FWIW, I added it via overlay and it works.

@Tyler-Hardin
Copy link
Contributor

Tyler-Hardin commented Oct 31, 2025

@gotcha, I think the maintainers/committers must be really busy getting the Nov release ready. You might already know this, but if not, here's how you can use your work locally now.

environment.systemPackages = with pkgs; [
  goose-cli.overrideAttrs (oldAddrs: rec {
    version = "...";                                  
    name = "${oldAttrs.pname}-${version}";
    src = oldAttrs.src.override {
      tag = "v${version}";
      hash = "...";
    };
 
    cargoDeps = rustPlatform.fetchCargoVendor {
      inherit src name;
      hash = "...";
    };
 
    checkFlags = (oldAttrs.checkFlags or []) ++ [
      ...
    ]; 
  })                                                  
];                                                    

@yzx9
Copy link
Contributor

yzx9 commented Nov 8, 2025

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 451624
Commit: 7942561d266ff47c34937bf6b2596d181b9225d5 (subsequent changes)
Merge: 4390ecbcb69bc06ad9172856ed0b29f8c151e855

Logs: https://github.com/yzx9/nixpkgs-review-gha/actions/runs/19190123217


x86_64-linux

✅ 1 package built:
  • goose-cli

aarch64-linux

✅ 1 package built:
  • goose-cli

x86_64-darwin (sandbox = relaxed)

✅ 1 package built:
  • goose-cli

aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • goose-cli

Copy link
Contributor

@yzx9 yzx9 left a comment

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.

@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 Nov 8, 2025
@SuperSandro2000 SuperSandro2000 added this pull request to the merge queue Nov 8, 2025
Merged via the queue into NixOS:master with commit d8b1af6 Nov 8, 2025
33 of 34 checks passed
@gotcha gotcha deleted the goose-cli-1_9_3 branch November 8, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants