Forge install --upgrade command fails if there are too many installations

XMLWordPrintable

    • Major
    • M

      Issue Summary:

      Running forge install --upgrade or forge deploy commands fail if there are too many installations.

      Steps to Reproduce

      1. Install a Forge app into > 20000 sites
      2. Execute forge deploy or forge install --upgrade command

      Expected Results

      The command is executed successfully

      Actual Results

      The command fails with

      Error: request to https://api.atlassian.com/graphql failed, reason:FetchError: request to https://api.atlassian.com/graphql failed, reason:
      at ClientRequest.<anonymous> (/home/username/.nvm/versions/node/v22.14.0/lib/node_modules/@forge/cli/node_modules/node-fetch/lib/index.js:1501:11)
      at ClientRequest.emit (node:events:518:28)
      at ClientRequest.emit (node:domain:489:12)
      at emitErrorEvent (node:_http_client:104:11)
      at TLSSocket.socketErrorListener (node:_http_client:518:5)
      at TLSSocket.emit (node:events:518:28)
      at TLSSocket.emit (node:domain:489:12)
      at emitErrorNT (node:internal/streams/destroy:170:8)
      at emitErrorCloseNT (node:internal/streams/destroy:129:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
      

       

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Nguyen Dang
            Reporter:
            Nguyen Dang
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: