Closed Bug 1428032 Opened 7 years ago Closed 7 years ago

Link Github PRs to Perfherder alerts

Categories

(Tree Management :: Perfherder, enhancement, P1)

enhancement

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.
Whiteboard: [PI:January]
Whiteboard: [PI:January] → [PI:February]
Attachment #8949773 - Attachment is patch: true
Attachment #8949773 - Attachment mime type: text/x-github-pull-request → text/plain
Attachment #8949773 - Flags: feedback?(rwood)
Attachment #8949773 - Attachment is patch: false
Attachment #8949773 - Attachment mime type: text/plain → text/x-github-pull-reques
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)
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 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)
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)
Attachment #8949773 - Flags: review?(wlachance) → review+
Component: Performance Monitoring → Perfherder
Product: Toolkit → Tree Management
Version: unspecified → ---
Priority: -- → P1
can we close this bug?
Could you file the bug for that followup?
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(igoldan)
Resolution: --- → FIXED
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)
Depends on: 1440691
(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)
Attachment #8953937 - Flags: review?(emorley)
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+
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';
See Also: → 1443777
(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)
Depends on: 1443772
See Also: → 1461351
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: