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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • tethys, christmas

      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.

          [JENKINS-40648] Input state isn't updated in activity/branch listing from SSE

          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

          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

          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.

          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.

          Vivek Pandey added a comment -

          tscherler 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.

          Vivek Pandey added a comment - tscherler 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.

          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

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

              Created:
              Updated:
              Resolved: