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

Input state isn't updated in activity/branch listing from SSE

    XMLWordPrintable

    Details

    • Epic Link:
    • Sprint:
      tethys, christmas
    • Similar Issues:

      Description

      If you have a pipeline running and then open an activity screen for it, and it transitions to input needed state, the state of the row doesn't change to input waiting (it just shows as in-progress).

      There is likely a missing event to tell the front end that state has changed... minor thing.

        Attachments

          Issue Links

            Activity

            Hide
            tscherler Thorsten Scherler added a comment -

            Not sure whether this is a minor thing, but it seems since the introduction of mbox we do not listen to sse events for that pages. Need to look deeper into the issue

            Show
            tscherler Thorsten Scherler added a comment - Not sure whether this is a minor thing, but it seems since the introduction of mbox we do not listen to sse events for that pages. Need to look deeper into the issue
            Hide
            tscherler Thorsten Scherler added a comment -

            Notes on what I found so far. The activity listing is controlled by the defaulfSSEHandler in the core-js.

            The events that are coming in:

            • "job_run_queue_enter"
            • "job_run_queue_left"
            • "job_run_started"

            Meaning I need to look into adding the pause event to the sse event transmitter.

            Show
            tscherler Thorsten Scherler added a comment - Notes on what I found so far. The activity listing is controlled by the defaulfSSEHandler in the core-js. The events that are coming in: "job_run_queue_enter" "job_run_queue_left" "job_run_started" Meaning I need to look into adding the pause event to the sse event transmitter.
            Hide
            vivek Vivek Pandey added a comment -

            Thorsten Scherler I looked in to underlying pipeline libraries, there is no event fired after submission of input step. step rest api can generate events to indicate continue of input step.

            Show
            vivek Vivek Pandey added a comment - Thorsten Scherler I looked in to underlying pipeline libraries, there is no event fired after submission of input step. step rest api can generate events to indicate continue of input step.
            Show
            tscherler Thorsten Scherler added a comment - https://github.com/jenkinsci/blueocean-plugin/pull/678 https://github.com/jjenkinsci/sse-gateway-plugin#14 https://github.com/jjenkinsci/pubsub-light-module#4

              People

              • Assignee:
                tscherler Thorsten Scherler
                Reporter:
                michaelneale Michael Neale
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: