If delete and sync operations happen concurrently, plugin leaves orphaned commits present on issues that are no longer removable.

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: High
    • None
    • Affects Version/s: None
    • Environment:

      There are 3 cases that exhibit this behaviour:

      1. Deleting a repo while it is being synced
      2. Syncing a repo while it is being deleted.
      3. Sync a repo after it has been deleted.

      The following repo steps are for the simplest case #3 above:

      • Create project "QA"
      • Add 3 issues to project "QA"
      • Add public repo: "https://github.com/farmas/TestRepo-QA"
      • Open a new browser window and navigate to configure repositories page.
      • Delete the repo in one of the browser windows.
      • On the other window, click on Force Sync

      Expected: a) Error message stating that the repo has been removed, b) no op

      Actual: Sync finished normally, commit results are displayed in the summary. If navigating to issues, under the github tab the commits are shown. However, the repo has been removed from the list.

              Assignee:
              Unassigned
              Reporter:
              Federico Silva Armas [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: