• Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      There seems to be something interesting going on in the SSE/pubsub plugin where:

      • SSE connections are opened/closed every thirty seconds
      • During this time some events are not replayed to the client on reconnect and events are lost
        • To reproduce: have two browser windows open on the Activity screen running/stopping pipelines - things will go out of sync particularly around reconnects).
        • I think we open and close so often because there is no "heartbeat" back to the server

      I am not sure if these modules are following our new standards for code quality either.

      We need to:

      • Get to the bottom of the lost events
      • Introduce a heart beat to reduce reconnections every 30 secons
      • Analyse test coverage
      • Relook at how threads are being serialized (lots of usages of synchronized)
      • Ensure that we improve the quality around replay.
      • Make these modules more testible

          [JENKINS-44637] Investigate SSE/pubsub code quality

          James Dumay created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.2 [ 326 ] New: Blue Ocean 1.3 [ 296 ]
          James Dumay made changes -
          Rank New: Ranked lower
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.3-beta-2 [ 296 ] New: Blue Ocean 1.4 [ 311 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.5 - candidates [ 311 ]
          James Dumay made changes -
          Rank New: Ranked higher

            vivek Vivek Pandey
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: