New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 799038 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature



Sign in to add a comment

Allow for progress inspection on project level

Project Member Reported by emso@chromium.org, Jan 4 2018

Issue description

It would be convenient to be able to ask for overall progress for a project. The result should be a list showing status of all analyze requests (ref, run ID, status). More details for a run ID can be retrieved via the current run ID.
 
Where might this be used?

I imagine this kind of thing being shown on a page served by the tricium app, but in that case, the list of analyze requests could be directly queried from datastore and there might not be a need for an RPC endpoint.

Comment 2 by emso@chromium.org, Jan 5 2018

The overall reason for this is that it is very hard to currently get this overview. I've especially noticed this while working on the Gerrit onboarding on tricium-dev. I found myself wanting to ask for an overview more than once and the only way to get it would be to dig through the datastore - especially when Gerrit reporting is disabled.

I agree that if we had a page showing this information then that would be the natural place to put this. With the current RPC-based service, it would make sense to expand on the Progress RPC.

I suspect the data processing code in the service to be very similar for either end point. Perhaps it would make sense to add the extension and then reuse the internal code if a tracking page is added to the service?
Makes sense - were you thinking of putting this functionality in the existing RPC call? i.e., the Progress RPC would have 3 forms:
 {RunID} => {RunID, State, []AnalyzerProgress}
 {Consumer, GerritConsumerDetails} => {RunID, State, []AnalyzerProgress}
 and something like:
 {ProjectName} => {[]{RunID, State, []AnalyzerProgress}}

Or perhaps would it go in an all-new RPC called something like ProjectProgress?

Comment 4 by emso@chromium.org, Jan 8 2018

I was thinking of adding this to the existing Progress RPC - trying to keep down the top-level RPCs.
Project Member

Comment 5 by bugdroid1@chromium.org, Jan 18 2018

Comment 6 by emso@chromium.org, Jan 22 2018

Status: Fixed (was: Assigned)

Sign in to add a comment