Closed
Bug 1428032
Opened 7 years ago
Closed 7 years ago
Link Github PRs to Perfherder alerts
Categories
(Tree Management :: Perfherder, enhancement, P1)
Tree Management
Perfherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: igoldan, Assigned: igoldan)
References
Details
(Whiteboard: [PI:February])
Attachments
(2 files)
Currently, Perherder can only link perf alerts to Bugzilla bugs.
It should be able to do this with Github PRs as well.
Updated•7 years ago
|
Whiteboard: [PI:January]
Updated•7 years ago
|
Whiteboard: [PI:January] → [PI:February]
Comment 1•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Attachment #8949773 -
Attachment is patch: true
Attachment #8949773 -
Attachment mime type: text/x-github-pull-request → text/plain
Attachment #8949773 -
Flags: feedback?(rwood)
| Assignee | ||
Updated•7 years ago
|
Attachment #8949773 -
Attachment is patch: false
Attachment #8949773 -
Attachment mime type: text/plain → text/x-github-pull-reques
Comment 2•7 years ago
|
||
Comment on attachment 8949773 [details]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3211
Thanks Ionut. Feedback given in the PR.
Note: I think you can just leave the attachment details as their default and just set the feedback or review flag as needed.
Attachment #8949773 -
Flags: feedback?(rwood)
| Assignee | ||
Comment 3•7 years ago
|
||
Comment on attachment 8949773 [details]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3211
Can you please review this?
Attachment #8949773 -
Flags: review?(wlachance)
Comment 4•7 years ago
|
||
Comment on attachment 8949773 [details]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3211
Left comments in PR
Attachment #8949773 -
Flags: review?(wlachance)
| Assignee | ||
Comment 5•7 years ago
|
||
Comment on attachment 8949773 [details]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3211
I addressed your comments. I prepared the ORM class, but don't actually make real use of it. I'm still using the hardcoded *.js values.
Attachment #8949773 -
Flags: review?(wlachance)
Updated•7 years ago
|
Attachment #8949773 -
Flags: review?(wlachance) → review+
Updated•7 years ago
|
Component: Performance Monitoring → Perfherder
Product: Toolkit → Tree Management
Version: unspecified → ---
| Assignee | ||
Updated•7 years ago
|
Priority: -- → P1
Comment 6•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/0badc9ec5f8f2ab7041b48f87c4ff94015146011
Bug 1428032 - Allow linking Perfherder alerts to Servo GitHub PRs (#3211)
Comment 7•7 years ago
|
||
can we close this bug?
Comment 8•7 years ago
|
||
Could you file the bug for that followup?
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(igoldan)
Resolution: --- → FIXED
Comment 9•7 years ago
|
||
I am unable to assign bugs on perfherder to alerts- this looks to be related, I see this in the console:
Possibly unhandled rejection: {"data":{"issue_tracker":["Invalid pk \"1\" - object does not exist."]},"status":400,"config":{"method":"PUT","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/performance/alertsummary/11672/","data":{"bug_number":1435648,"issue_tracker":1},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8","X-CSRFToken":"YA2JMzVzJall5nx0vLWsNN9fPnsP2FjSUVlTswrIXxo40NjzOEyEDG7As4LvDiiS"}},"statusText":"Bad Request","xhrStatus":"complete"}
I know :igolden is out today- I am not sure if we need to add some keys to a database for the issue_tracker field to resolve properly?
Flags: needinfo?(wlachance)
Comment 10•7 years ago
|
||
(In reply to Joel Maher ( :jmaher) (UTC-5) from comment #9)
> I am unable to assign bugs on perfherder to alerts- this looks to be
> related, I see this in the console:
> Possibly unhandled rejection: {"data":{"issue_tracker":["Invalid pk \"1\" -
> object does not
> exist."]},"status":400,"config":{"method":"PUT","transformRequest":[null],
> "transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/
> performance/alertsummary/11672/","data":{"bug_number":1435648,
> "issue_tracker":1},"headers":{"Accept":"application/json, text/plain,
> */*","Content-Type":"application/json;charset=utf-8","X-CSRFToken":
> "YA2JMzVzJall5nx0vLWsNN9fPnsP2FjSUVlTswrIXxo40NjzOEyEDG7As4LvDiiS"}},
> "statusText":"Bad Request","xhrStatus":"complete"}
>
> I know :igolden is out today- I am not sure if we need to add some keys to a
> database for the issue_tracker field to resolve properly?
See bug 1440691. I have a pull request pending, will ask for review when verified that it's passing tests etc.
Flags: needinfo?(wlachance)
Comment 11•7 years ago
|
||
Updated•7 years ago
|
Attachment #8953937 -
Flags: review?(emorley)
Comment 12•7 years ago
|
||
Comment on attachment 8953937 [details] [review]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3266
Many thanks :-)
Attachment #8953937 -
Flags: review?(emorley) → review+
Comment 13•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/bab66d806693f2051cb3d56da75b9f68981512f6
Bug 1428032 - Docs: Grant visibility for new issue_tracker table (#3266)
Comment 14•7 years ago
|
||
I've run this against production:
GRANT SELECT ON treeherder.issue_tracker to 'redash';
GRANT SELECT ON treeherder.issue_tracker to 'activedata';
GRANT SELECT ON treeherder.issue_tracker to 'sclements';
GRANT SELECT ON treeherder.issue_tracker to 'igoldan';
| Assignee | ||
Comment 15•7 years ago
|
||
(In reply to Ed Morley (away until 3rd April) [:emorley] from comment #8)
> Could you file the bug for that followup?
Yes, I filed bug 1443772 for that.
Flags: needinfo?(igoldan)
You need to log in
before you can comment on or make changes to this bug.
Description
•