Skip to content

paket install is never a noop when clitool is in the group #3166

Open

Agent suggestions

Public preview

Description

@matthid

Description

Usually paket install will only change the lockfile when it detects relevant changes/
When the group contains a clitool then it will always start the resolver

Activity

  1. github-actions commented on Aug 28, 2026

    @github-actions
    Contributor

    🤖 This is an automated response from Repo Assist.

    I attempted to reproduce this using a manually built paket.dll against a paket.dependencies file containing both a clitool entry and a regular NuGet package. Running paket install twice in a row gives:

    Paket version 1.0.0+...
    Skipping resolver for group Main since it is already up-to-date
    Installing into projects:
    Created dependency graph (67 packages in total)
    Total time taken: 9 milliseconds
    

    paket.lock was byte-for-byte unchanged after the second run — the resolver was correctly skipped, i.e. a genuine no-op, exactly as expected.

    Since this issue is from 2018 and DependencyChangeDetection.fs has had several fixes since then, this looks like it was already resolved by unrelated later work. I couldn't find a specific fixing commit, but current behavior is correct.

    I've opened a small PR adding a regression test (CliToolNoopSpecs.fs) covering the no-op scenario for clitool packages, since no existing test covered it: this should help catch any future regression.

    Recommend closing this issue as already fixed — please reopen if you can still reproduce it on a recent Paket version.

    Generated by 🌈 Repo Assist, see workflow run. Learn more.
    Comment /repo-assist to run again

    Add this agentic workflow to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/repo-assist.md@ae8d551f07c7ed7619f8c58c7bb4c3ac89395d38
    
  2. added a commit that references this issue on Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions