Closed Bug 921219 Opened 11 years ago Closed 11 years ago

Include status and summary for bugs listed in `depends_on` and `blocks` fields

Categories

(bugzilla.mozilla.org :: API, defect)

Development
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: erik.bryn, Assigned: dkl)

Details

Attachments

(1 file)

I'd like to be able to provide a similar experience to the existing Bugzilla UI. Bug summaries are visible upon hovering over a bug link and if the bug is resolved it gets crossed out.
Assignee: nobody → dkl
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attached patch 921219_1.patchSplinter Review
Attachment #812667 - Flags: review?(glob)
Comment on attachment 812667 [details] [diff] [review]
921219_1.patch

r=glob

erik, be aware there's a performance cost for this request, especially for tracking bugs which have large numbers of dependencies.
Attachment #812667 - Flags: review?(glob) → review+
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bmo/4.2
modified extensions/Ember/lib/WebService.pm
Committed revision 9123.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Has this been deployed? I'm curious what the performance cost is of adding this. Since we've started loading data separately, I might end up wanting to load this information separately if it add a significant cost.
Flags: needinfo?(dkl)
(In reply to Erik Bryn from comment #4)
> Has this been deployed? I'm curious what the performance cost is of adding
> this. Since we've started loading data separately, I might end up wanting to
> load this information separately if it add a significant cost.

Not to production. I am working on syncing bugzilla-dev with the production tree right now which will bring this change in. It will not be on production until the next code push next week.

dkl
Flags: needinfo?(dkl)
(In reply to David Lawrence [:dkl] from comment #5)
> (In reply to Erik Bryn from comment #4)
> > Has this been deployed? I'm curious what the performance cost is of adding
> > this. Since we've started loading data separately, I might end up wanting to
> > load this information separately if it add a significant cost.
> 
> Not to production. I am working on syncing bugzilla-dev with the production
> tree right now which will bring this change in. It will not be on production
> until the next code push next week.
> 
> dkl

The dependency changes should be on bugzilla-dev now for your testing.

dkl
The response contains two sets of the `blocks` and `depends_on` fields. Here's an example response: https://bugzilla-dev.allizom.org/rest/ember/show/856410. The prior field data is outputted after, so that overrides the new field data, which keeps me from using it now.

Is it possible for you to do a quick and dirty assessment of the performance cost of this change? I'm wondering if we should bother with it or not. Bugzilla-dev seems to have been reverted back to embedding attachments/comments so I can't really assess it myself now.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Erik Bryn from comment #7)
> The response contains two sets of the `blocks` and `depends_on` fields.
> Here's an example response:
> https://bugzilla-dev.allizom.org/rest/ember/show/856410. The prior field
> data is outputted after, so that overrides the new field data, which keeps
> me from using it now.

Investigating now.

> Is it possible for you to do a quick and dirty assessment of the performance
> cost of this change? I'm wondering if we should bother with it or not.
> Bugzilla-dev seems to have been reverted back to embedding
> attachments/comments so I can't really assess it myself now.

May be related to a recent merge cleanup I had to do when merging from bmo/4.2. Will look into that as well.

dkl
(In reply to David Lawrence [:dkl] from comment #8)
> (In reply to Erik Bryn from comment #7)
> > The response contains two sets of the `blocks` and `depends_on` fields.
> > Here's an example response:
> > https://bugzilla-dev.allizom.org/rest/ember/show/856410. The prior field
> > data is outputted after, so that overrides the new field data, which keeps
> > me from using it now.
> 
> Investigating now.

Fixed extra blocks/depends_on entries.

Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bmo/4.2
modified extensions/Ember/lib/WebService.pm
Committed revision 9137.

> > Is it possible for you to do a quick and dirty assessment of the performance
> > cost of this change? I'm wondering if we should bother with it or not.
> > Bugzilla-dev seems to have been reverted back to embedding
> > attachments/comments so I can't really assess it myself now.
> 
> May be related to a recent merge cleanup I had to do when merging from
> bmo/4.2. Will look into that as well.

I think this should be tracked in bug 928989. 

dkl
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: