Uploaded image for project: 'Atlassian Ecosystem'
  1. Atlassian Ecosystem
  2. ECO-211

Enable parallel installation and uninstallation by considering combination of site, app and environment ids

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      With the custom environment concept, partners hoped to be able to get rid of the locking. But whenever concurrently a second forge --install command is triggered for the same app and at the same site (not the same environment!), the install is not performed with the following error:

      CDAC query for details

      https://community.developer.atlassian.com/t/un-install-in-parallel-to-multiple-muoa-custom-environments/78501 

      Steps to Reproduce

      Concurrently install/uninstall the same app with different environment ids to same site 

      Expected Results

      There should be no error as the combination of site, app and environment id is unique

      Actual Results

      The below exception is thrown in the CLI:

      Error: Installation error: Task any-task-id conflicts with another pending or in progress task. (requestId: any-request-id) 

      Workaround

      Include environment id into consideration for blocking concurrent installs/uninstalls

            [ECO-211] Enable parallel installation and uninstallation by considering combination of site, app and environment ids

            Julia Daehne made changes -
            Assignee Original: Chris Graham [ 522820ac06aa ]
            Chandana Meka made changes -
            Assignee Original: Julia Daehne [ 6bf560b8d566 ] New: Chris Graham [ 522820ac06aa ]

            Hi, are there any updates on this?

            Sharing a lock gets slow the more devs are working on the project. This is essential for CI/CD

            fluidattacks added a comment - Hi, are there any updates on this? Sharing a lock gets slow the more devs are working on the project. This is essential for CI/CD
            Chandana Meka made changes -
            Assignee New: Julia Daehne [ 6bf560b8d566 ]
            Chandana Meka made changes -
            Description Original: h3. Issue Summary

            With the custom environment concept, partners hoped to be able to get rid of the locking. But whenever concurrently a second {{forge --install}} command is triggered for the same app and at the same site ({*}not the same environment!{*}), the install is not performed with the following error: !image-2024-03-26-15-20-16-245.png!

            CDAC query for details - 

            [https://community.developer.atlassian.com/t/un-install-in-parallel-to-multiple-muoa-custom-environments/78501
            h3. Steps to Reproduce
             # Concurrently install/uninstall the same app with different environment ids to same site 

            h3. Expected Results

            There should be no error as the combination of site, app and environment id is unique
            h3. Actual Results

            The below exception is thrown in the CLI:
            {noformat}
            Error: Installation error: Task any-task-id conflicts with another pending or in progress task. (requestId: any-request-id) {noformat}
            h3. Workaround

            Include environment id into consideration for blocking concurrent installs/uninstalls
            New: h3. Issue Summary

            With the custom environment concept, partners hoped to be able to get rid of the locking. But whenever concurrently a second {{forge --install}} command is triggered for the same app and at the same site ({*}not the same environment!{*}), the install is not performed with the following error: !image-2024-03-26-15-20-16-245.png!

            *CDAC query for details* - 

            [https://community.developer.atlassian.com/t/un-install-in-parallel-to-multiple-muoa-custom-environments/78501
            h3. Steps to Reproduce

            Concurrently install/uninstall the same app with different environment ids to same site 
            h3. Expected Results

            There should be no error as the combination of site, app and environment id is unique
            h3. Actual Results

            The below exception is thrown in the CLI:
            {noformat}
            Error: Installation error: Task any-task-id conflicts with another pending or in progress task. (requestId: any-request-id) {noformat}
            h3. Workaround

            Include environment id into consideration for blocking concurrent installs/uninstalls
            Chandana Meka created issue -

              Unassigned Unassigned
              f23bf7bb5a4f Chandana Meka
              Votes:
              9 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: