See https://github.com/jenkins-infra/update-center2/pull/599. Since https://github.com/jenkinsci/workflow-api-plugin/releases/tag/1162.va_1e49062a_00e is not available to 2.319.x users, https://github.com/jenkinsci/workflow-durable-task-step-plugin/releases/tag/1144.vd77b_57189936 should be prohibited as well, but apparently it is offered on the UC and then cannot be loaded after restart.

      It seems like a bug in Jenkins core that it even permits you to install the latter when its declared dependency is not satisfied, and/or a bug in the update center that it offers such an update. (The block added in update-center2#599 is to prevent you from accidentally installing a plugin update that effectively requires another plugin update—updating workflow-api but not workflow-cps—beyond what Jenkins plugin metadata is currently capable of expressing.)

          [JENKINS-68727] workflow-durable-task-step update uninstallable

          Jesse Glick created issue -
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Daniel Beck added a comment -

          a bug in the update center that it offers such an update

          Known limitation, when we suspend plugins we always need to check whether any dependent plugins exist and suspend them likewise. Some folks have also published uninstallable plugins before (depending on incrementals or similar) – essentially what's happening here, except not involving a suspension.

          Daniel Beck added a comment - a bug in the update center that it offers such an update Known limitation, when we suspend plugins we always need to check whether any dependent plugins exist and suspend them likewise. Some folks have also published uninstallable plugins before (depending on incrementals or similar) – essentially what's happening here, except not involving a suspension.

          Jesse Glick added a comment -

          The problem arose because https://github.com/jenkinsci/workflow-cps-plugin/pull/512 updated that plugin’s baseline to 2.332.x (perhaps for a solid reason, perhaps not), and later https://github.com/jenkinsci/workflow-api-plugin/pull/221 had a soft requirement that https://github.com/jenkinsci/workflow-cps-plugin/pull/534 also be applied. https://github.com/jenkinsci/workflow-durable-task-step-plugin/pull/226 also depends on the workflow-api update, but these two plugins had an older baseline than workflow-cps; and unlike the bom, the update center just automatically offers the latest version of every plugin compatible with a given LTS baseline discovered in Artifactory without an as-code manifest, only permitting manual overrides via artifact-ignores.properties which is applied to all lines.

          Jesse Glick added a comment - The problem arose because https://github.com/jenkinsci/workflow-cps-plugin/pull/512 updated that plugin’s baseline to 2.332.x (perhaps for a solid reason, perhaps not), and later https://github.com/jenkinsci/workflow-api-plugin/pull/221 had a soft requirement that https://github.com/jenkinsci/workflow-cps-plugin/pull/534 also be applied. https://github.com/jenkinsci/workflow-durable-task-step-plugin/pull/226 also depends on the workflow-api update, but these two plugins had an older baseline than workflow-cps ; and unlike the bom , the update center just automatically offers the latest version of every plugin compatible with a given LTS baseline discovered in Artifactory without an as-code manifest, only permitting manual overrides via artifact-ignores.properties which is applied to all lines.

          Jesse Glick added a comment -

          The root of the problem, arguably, is lack of JENKINS-49651: no way for the workflow-api update to programmatically express that older versions of workflow-cps should be considered incompatible.

          Jesse Glick added a comment - The root of the problem, arguably, is lack of JENKINS-49651 : no way for the workflow-api update to programmatically express that older versions of workflow-cps should be considered incompatible.
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-49651 [ JENKINS-49651 ]

          Jesse Glick added a comment -

          Seems like the solution should be to follow up https://github.com/jenkinsci/workflow-api-plugin/pull/226 by requiring 2.332.x in workflow-durable-task-step, then blocking https://github.com/jenkinsci/workflow-durable-task-step-plugin/releases/tag/1144.vd77b_57189936 (from all lines).

          Jesse Glick added a comment - Seems like the solution should be to follow up https://github.com/jenkinsci/workflow-api-plugin/pull/226 by requiring 2.332.x in workflow-durable-task-step , then blocking https://github.com/jenkinsci/workflow-durable-task-step-plugin/releases/tag/1144.vd77b_57189936 (from all lines).
          Jesse Glick made changes -
          Remote Link New: This issue links to "workflow-durable-task-step-plugin #233 (Web Link)" [ 27833 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "jenkins-infra/update-center2 #600 (Web Link)" [ 27834 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: