Closed Bug 1562651 Opened 6 years ago Closed 6 years ago

My Dashboard broken, reporting "Failed to load last changes from Bugzilla"

Categories

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

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: zombie, Assigned: kohei)

References

Details

(Keywords: regression)

Attachments

(3 files)

Attached image bz-err.png

Since this Friday, I've been getting this error when trying to expand any bug on My Dashboard.

I've tried logging out and back in, tried a clean profile, and both current Firefox Beta and Nightly, same error.

Can reproduce the issue. Will figure out why.

Component: General → Extensions: MyDashboard
OS: Windows 10 → All
Hardware: x86_64 → All

But I cannot reproduce the issue on my local server… Did we perhaps change any server config last week?

Flags: needinfo?(ckolos)

Yes, there was a deploy on Friday morning, per :dkl - https://bugzilla.mozilla.org/show_bug.cgi?id=1562237 . You(kohei) did the verification.

Flags: needinfo?(ckolos)

The Friday release was a hotfix for Bug 1562139 so the code change seems unrelated. Did the Thursday release change something in the server config?

This is working on production for me. I am not able to reproduce the error message. I would say for the reporter to clear their cookies and other related BMO data/cache but he already stated he tried with a fresh profile.

@kohei, can you look in the network debugger when you get the error and see what other information can be pulled out to track down the error?

No code related to the dashboard extension has changed in a long time. The only thing maybe possible related is bug 1559988.

The error appears only when you click the triangle icon on each row to show the last change to the bug. I can reproduce the issue even after clearing cookies and also with my another account (MoCo email). Here’s a screenshot of the net monitor.

(In reply to Kohei Yoshino [:kohei] (Bugzilla UX) (FxSiteCompat) from comment #7)

Created attachment 9075214 [details]
mydashboard-error-netmonitor.png

The error appears only when you click the triangle icon on each row to show the last change to the bug. I can reproduce the issue even after clearing cookies and also with my another account (MoCo email). Here’s a screenshot of the net monitor.

Yeah I am also clicking on the triangle and I see the last change content that is expected. Just curious, when you look at the network data, under the Params tab, does the data look proper? For example I see:

{"version":"1.1","method":"MyDashboard.run_last_changes","params":{"bug_id":1562694,"changeddate_api":"2019-07-01 18:30:23","Bugzilla_api_token":"xxxxx"}}

I can also look at the stackdriver logs to see if any other error messages are ending up there.

The same:

{"version":"1.1","method":"MyDashboard.run_last_changes","params":{"bug_id":1562364,"changeddate_api":"2019-06-29 03:48:36","Bugzilla_api_token":"xxxxx"}}

What we talked on Slack yesterday: This issue might be regressed by Bug 1560245 but I’m not sure because I cannot reproduce it locally. We’ll see if the removal of the legacy JSON-RPC code in Bug 1380437 would solve the issue.

Keywords: regression

There doesn't seem to be much activity in bug 1380437, is it possible to revert changes from bug 1560245 until this is figured out?

I'm almost unable to get any work done because of this.

We are going to ship the fix for Bug 1380437 as soon as possible.

By the way, is this feature useful? It will be removed in the future once we get rid of the old YUI table. UX-wise, the last change is not the most important change and is just a CC or minor change in many cases.

For someone who doesn't want to use (a limited, generic UI) email as a way to interact with a website, this feature is essential in being able to keep up with updates to bugs I care about.

And yes, the feature is not ideal, but that should be a reason to improve it, not get rid of it, people obviously use and depend on it.

(In reply to Tomislav Jovanovic :zombie from comment #13)

For someone who doesn't want to use (a limited, generic UI) email as a way to interact with a website, this feature is essential in being able to keep up with updates to bugs I care about.

And yes, the feature is not ideal, but that should be a reason to improve it, not get rid of it, people obviously use and depend on it.

I can second this. I prefer the dashboard over bugmail, and this bug makes it significantly more cumbersome to keep up with bugs.

As a UX designer, my long-term goal is reducing bugmail overload by offering more personalized features on the site, but as I said earlier, this particular feature only shows the last change, not all the unread changes, so you may miss important changes if you rely solely on this. I don’t have a plan to improve the current My Dashboard.

My PR for Bug 1380437 has been merged to master and will be pushed to production probably later next week, so let’s see if it solves the issue.

(In reply to Kohei Yoshino [:kohei] (Bugzilla UX) (FxSiteCompat) from comment #16)

As a UX designer, my long-term goal is reducing bugmail overload by offering more personalized features on the site, but as I said earlier, this particular feature only shows the last change, not all the unread changes, so you may miss important changes if you rely solely on this. I don’t have a plan to improve the current My Dashboard.

I can still load the bug if I think there might be more updates worthy my attention. This is a trade-off I've been willing to make and that has worked pretty well for me in the last few years. (Needless to say, it would be even better if the dashboard ignored CC list changes.) As a UX designer please try to sympathize with different individual workflows that may differ from what you'd consider the ideal workflow.

(In reply to Kohei Yoshino [:kohei] (Bugzilla UX) (FxSiteCompat) from comment #16)

My PR for Bug 1380437 has been merged to master and will be pushed to production probably later next week, so let’s see if it solves the issue.

Seems like it didn't?

Flags: needinfo?(kohei.yoshino)

I’ll ask to do a release tomorrow.

Flags: needinfo?(kohei.yoshino)

Hmm, now I can reproduce the issue locally. Bug 1380437 didn’t fix the issue; the REST API still returns an error. I’ll try to debug it.

Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Attached file GitHub Pull Request

It doesn’t look like a recent regression, and I still don’t know why it only happens to some people, but I could figure out the cause and develop a solution.

(In reply to Kohei Yoshino [:kohei] (Bugzilla UX) (FxSiteCompat) from comment #22)

It doesn’t look like a recent regression, and I still don’t know why it only happens to some people, but I could figure out the cause and develop a solution.

Thanks!

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED

Still not working here.

This will be fixed on production later today.

The fixed deployed a couple of minutes ago.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: