Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74884

RunningFlowActions transient action factory should inform about action it handles

    • workflow-cps:3996.va_f5c1799f978

      RunningFlowActions is a transient action factory that consult org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.isComplete that eventually requires a lock on the flow execution. But since the factory does not inform about the type of action, it is consulted quite often un-necessarily.

      Moreover it could cause contention and deadlock if the caller has a some locks already.

          [JENKINS-74884] RunningFlowActions transient action factory should inform about action it handles

          Allan BURDAJEWICZ created issue -
          Allan BURDAJEWICZ made changes -
          Link New: This issue relates to JENKINS-66258 [ JENKINS-66258 ]
          Allan BURDAJEWICZ made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          Allan BURDAJEWICZ made changes -
          Remote Link New: This issue links to "CloudBees Internal Issue (Web Link)" [ 30241 ]
          Allan BURDAJEWICZ made changes -
          Assignee New: Allan BURDAJEWICZ [ allan_burdajewicz ]
          Allan BURDAJEWICZ made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Allan BURDAJEWICZ made changes -
          Remote Link New: This issue links to "workflow-cps-plugin #956 (Web Link)" [ 30242 ]
          Allan BURDAJEWICZ made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Allan BURDAJEWICZ made changes -
          Released As New: workflow-cps:3996.va_f5c1799f978
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

            allan_burdajewicz Allan BURDAJEWICZ
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: