Continuum
  1. Continuum
  2. CONTINUUM-2229

Update the status icon of the project when it is added in build-prepare-queue

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.4 (Beta)
    • Component/s: Web - UI
    • Labels:
      None

      Description

      When it is forced build, the status icon of the project doesn't change if there are other projects waiting to be processed in build-prepare-queue. Users get confused that nothing happened especially if the project that precedes it is very big (hence taking too long to finish). We can change the status icon of the project to "in queue" as an indicator that it is already inserted in build-prepare-queue.

      To reproduce:
      1. add a small project
      2. add a big project
      3. build the big project and then immediately build the small project.
      notice the status icons of the small project, it will only be updated once the big project has finished processing in the build-prepare stage.

        Issue Links

          Activity

          jancajas created issue -
          Hide
          jancajas added a comment -

          attached patch. thanks

          Show
          jancajas added a comment - attached patch. thanks
          jancajas made changes -
          Field Original Value New Value
          Attachment CONTINUUM-2229.patch [ 41891 ]
          Hide
          Wendy Smoak added a comment -

          I think this is a step in the right direction.

          If the 'in queue' icon is displayed, then I expect to see the project listed on the 'Queues' page. (I also expect to be able to cancel it.)

          Those can be separate issues, I just wanted to raise the concern here as I don't think this is a complete fix for the "I clicked build but nothing is happening!" user perception problem.

          Show
          Wendy Smoak added a comment - I think this is a step in the right direction. If the 'in queue' icon is displayed, then I expect to see the project listed on the 'Queues' page. (I also expect to be able to cancel it.) Those can be separate issues, I just wanted to raise the concern here as I don't think this is a complete fix for the "I clicked build but nothing is happening!" user perception problem.
          Maria Catherine Tan made changes -
          Link This issue is related to CONTINUUM-2208 [ CONTINUUM-2208 ]
          Wendy Smoak made changes -
          Link This issue is related to CONTINUUM-2231 [ CONTINUUM-2231 ]
          Hide
          Maria Catherine Tan added a comment -

          Projects won't be added to build queue until it finishes the prepare build successfully.

          So changing it to "in queue" icon might be confusing to users because they won't see the projects in the queues page.

          Instead of changing the icon of each project to "in queue" when they're in the the build prepare queue, we could change the icon of the project scm root url to "in queue" icon?

          WDYT?

          Show
          Maria Catherine Tan added a comment - Projects won't be added to build queue until it finishes the prepare build successfully. So changing it to "in queue" icon might be confusing to users because they won't see the projects in the queues page. Instead of changing the icon of each project to "in queue" when they're in the the build prepare queue, we could change the icon of the project scm root url to "in queue" icon? WDYT?
          Hide
          Maria Catherine Tan added a comment -

          Also showing the prepare build queues in the Queues page will be a great help

          Show
          Maria Catherine Tan added a comment - Also showing the prepare build queues in the Queues page will be a great help
          Hide
          Wendy Smoak added a comment -

          Has any work been done on this? On vmbuild (r777534) I'm seeing it show the 'checkout' icon next the scm url when the project is in the prepare build queue.

          http://people.apache.org/~wsmoak/continuum/continuum-scm-url-showing-checkout-instead-of-queued.png

          Show
          Wendy Smoak added a comment - Has any work been done on this? On vmbuild (r777534) I'm seeing it show the 'checkout' icon next the scm url when the project is in the prepare build queue. http://people.apache.org/~wsmoak/continuum/continuum-scm-url-showing-checkout-instead-of-queued.png
          Hide
          Maria Catherine Tan added a comment -

          While it is currently prepare build, the icon next to the scm url will show a 'checkout' icon. But while it is still in the prepare build queue, no icon to indicate that it is already in queue.

          Show
          Maria Catherine Tan added a comment - While it is currently prepare build, the icon next to the scm url will show a 'checkout' icon. But while it is still in the prepare build queue, no icon to indicate that it is already in queue.
          Hide
          Maria Catherine Tan added a comment -

          We can include in the documentation that when that "in queue" icon is displayed, it means that the project is either in the prepare build queue or in the build queue.

          Show
          Maria Catherine Tan added a comment - We can include in the documentation that when that "in queue" icon is displayed, it means that the project is either in the prepare build queue or in the build queue.
          Hide
          Maria Catherine Tan added a comment -

          Patch applied in
          r800168 of 1.3.x branch
          r800170 of trunk

          Thanks Jan!

          Show
          Maria Catherine Tan added a comment - Patch applied in r800168 of 1.3.x branch r800170 of trunk Thanks Jan!
          Hide
          Maria Catherine Tan added a comment -

          Added documentation
          r 800172 of 1.3.x branch
          r 800173 of trunk

          Show
          Maria Catherine Tan added a comment - Added documentation r 800172 of 1.3.x branch r 800173 of trunk
          Maria Catherine Tan made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 1.3.4 [ 15301 ]
          Assignee Maria Catherine Tan [ ctan ]
          Status Open [ 1 ] Closed [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
          Mark Thomas made changes -
          Workflow jira [ 12710881 ] Default workflow, editable Closed status [ 12740460 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
          Mark Thomas made changes -
          Workflow jira [ 12947902 ] Default workflow, editable Closed status [ 12983327 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          82d 19h 6m 1 Maria Catherine Tan 02/Aug/09 19:15

            People

            • Assignee:
              Maria Catherine Tan
              Reporter:
              jancajas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development