Skip to content

[BUG]: CLI bundles isomorphic-git 1.44.2 after upstream fix in 1.44.16 #3700

Backlog

Description

@Brady-Walker

Before You Submit

  • I'm using the latest version of Salesforce CLI
  • I've searched the existing issues
  • I've run sf doctor to diagnose common issues

Related Issue

isomorphic-git/isomorphic-git#2512

Command

npm install @salesforce/cli@2.160.6 --ignore-scripts

Org Type

Not applicable

Did this work before?

Yes, this is a regression

Last Working Version

2.146.3

Summary

Salesforce CLI 2.160.6 bundles isomorphic-git@1.44.2. That release contains code marked LGPL-3.0-or-later, while its package metadata declares an MIT license.

This regression began in Salesforce CLI 2.147.0, which moved from isomorphic-git@1.34.2 to version 1.40.0. Salesforce CLI 2.146.3 is the last unaffected release.

The upstream project removed that code in isomorphic-git PR #2514. The fix shipped in isomorphic-git 1.44.16.

@salesforce/source-tracking@8.1.16 already permits version 1.44.16 through its ^1.44.2 dependency range.

Could the Salesforce CLI dependency tree be refreshed and republished with isomorphic-git@1.44.16 or newer?

Repository to Reproduce

No response

Steps to reproduce

No Salesforce project or org is required.

tmpdir="$(mktemp -d)"
cd "$tmpdir"
npm init -y
npm install @salesforce/cli@2.160.6 --ignore-scripts
npm ls isomorphic-git

grep -RIl \
  --include='*.js' \
  --include='*.cjs' \
  'LGPL-3.0-or-later' \
  node_modules/@salesforce/cli/node_modules/isomorphic-git

Observed dependency chain:

@salesforce/cli@2.160.6
└─ @salesforce/plugin-deploy-retrieve@4.3.3
   └─ @salesforce/source-tracking@8.1.16
      └─ isomorphic-git@1.44.2

Expected Result

Salesforce CLI bundles isomorphic-git@1.44.16 or newer.

Actual Result

Salesforce CLI 2.160.6 bundles isomorphic-git@1.44.2.

Error Message

System Information

{
  "architecture": "darwin-arm64",
  "cliVersion": "@salesforce/cli/2.160.6",
  "nodeVersion": "node-v22.23.2",
  "osVersion": "Darwin 25.6.0",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 4.0.6 (core)",
    "@oclif/plugin-commands 5.0.13 (core)",
    "@oclif/plugin-help 7.0.10 (core)",
    "@oclif/plugin-not-found 4.0.7 (core)",
    "@oclif/plugin-plugins 7.0.17 (core)",
    "@oclif/plugin-search 2.0.14 (core)",
    "@oclif/plugin-update 5.0.10 (core)",
    "@oclif/plugin-version 3.0.11 (core)",
    "@oclif/plugin-warn-if-update-available 4.0.5 (core)",
    "@oclif/plugin-which 4.0.11 (core)",
    "@salesforce/cli 2.160.6 (core)",
    "agent 2.4.0 (core)",
    "apex 4.4.7 (core)",
    "api 2.0.30 (core)",
    "auth 6.0.7 (core)",
    "data 5.1.29 (core)",
    "deploy-retrieve 4.3.3 (core)",
    "info 4.0.27 (core)",
    "limits 4.0.6 (core)",
    "marketplace 2.0.29 (core)",
    "org 7.0.17 (core)",
    "packaging 3.0.17 (core)",
    "schema 4.0.17 (core)",
    "settings 3.0.30 (core)",
    "sobject 2.0.28 (core)",
    "telemetry 4.2.10 (core)",
    "templates 57.7.3 (core)",
    "trust 4.1.6 (core)",
    "user 6.0.13 (core)"
  ]
}

Additional Information

No response

Screenshots or Log Files

No response

Activity

  1. added
    investigating
    on Dec 4, 2026
  2. github-actions commented on Dec 4, 2026

    @github-actions

    Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

  3. added
    validated
    regression
    on Dec 4, 2026
  4. git2gus commented on Dec 4, 2026

    @git2gus

    This issue has been linked to a new work item: W-25133437

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

    investigatingregressionvalidated

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions