API Pageid for collections is 'scopedcollection:collectionresource' which does not mention the origin page id

Bug #606184 reported by Robert Collins
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Diogo Matsubara

Bug Description

e.g. in Lpnet Errors for 2010-07-15

=== Top 10 Time Out Counts by Page ID ===

    Hard / Soft Page ID
     142 / 139 ScopedCollection:CollectionResource

its very unclear that this is a (in this case) bugs/attachment API call. I am guessing, but I suspect errorlog.py isn't generating an appropriate pageid (and am also guessing that that would be a good place to fix it, as it keeps the complexity constrained to the generator, rather than the processor of the data - the generator knows the code that is actually executing, after all).

Fixing this would make OOPS reports that include such timeouts easier for domain teams to drill down into and fix.

Thanks,
Rob

Related branches

Gary Poster (gary)
Changed in launchpad-foundations:
status: New → Triaged
assignee: nobody → Diogo Matsubara (matsubara)
summary: - oops reports contain 'scopedcollection:collectionresource' which is hard
- to debug/easy to ignore
+ API Pageid for collections is 'scopedcollection:collectionresource'
+ which does not mention the origin page id
Revision history for this message
Robert Collins (lifeless) wrote :

Hey Diogo, just thought I'd ping to see how this is going; I know its huge in the scheme of things, but it would make a real difference to the page performance report and to the oops reports to have the actual collection being traversed be more obvious.

Revision history for this message
Gary Poster (gary) wrote :

Diogo is working on it actively.

Changed in launchpad-foundations:
status: Triaged → In Progress
milestone: none → 10.09
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Revision history for this message
Robert Collins (lifeless) wrote :

So I've seen the branch that lands adds a 'type' marker for the page id.

This is better than what we had before, but not what I was hoping we'd achieve. Specifically there can be N API calls which expose a collection of type T; this leaves engineers guessing about which one was involved.

Should I file a new bug?

Revision history for this message
Robert Collins (lifeless) wrote :

I've filed bug 627027 after chatting with Diogo on IRC.

tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.