Issue Details (XML | Word | Printable)

Key: CONTINUUM-2229
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Maria Catherine Tan
Reporter: jan ancajas
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Continuum

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

Created: 12/May/09 12:08 AM   Updated: 02/Aug/09 07:15 PM   Resolved: 02/Aug/09 07:15 PM
Return to search
Component/s: Web - UI
Affects Version/s: None
Fix Version/s: 1.3.4

Time Tracking:
Not Specified

File Attachments: 1. Text File CONTINUUM-2229.patch (0.7 kB)

Issue Links:
Related
 

Complexity: Intermediate


 Description  « Hide

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.



jan ancajas added a comment - 12/May/09 12:10 AM

attached patch. thanks


Wendy Smoak added a comment - 13/May/09 03:34 PM

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 added a comment - 18/May/09 06:56 PM

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?


Maria Catherine Tan added a comment - 18/May/09 06:58 PM

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


Wendy Smoak added a comment - 22/May/09 11:14 AM

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


Maria Catherine Tan added a comment - 22/May/09 07:49 PM

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.


Maria Catherine Tan added a comment - 02/Aug/09 06:32 PM

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.


Maria Catherine Tan added a comment - 02/Aug/09 07:07 PM

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

Thanks Jan!


Maria Catherine Tan added a comment - 02/Aug/09 07:15 PM

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