Closed
Bug 1306588
Opened 8 years ago
Closed 8 years ago
Make Pulse jobs ingestion gracefully handle jobs for unknown repositories
Categories
(Tree Management :: Treeherder: Data Ingestion, defect, P2)
Tree Management
Treeherder: Data Ingestion
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: camd)
References
Details
Attachments
(1 file)
Currently job_loader.py does:
for project, job_list in validated_jobs.items():
with JobsModel(project) as jobs_model:
...which I think means it will raise DatasetNotFoundError if the job is for an unknown repository, and then go on to retry 10 times.
Should we add a try-except and instead log?
Flags: needinfo?(cdawson)
Comment 1•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(cdawson)
Attachment #8797795 -
Flags: review?(emorley)
Reporter | ||
Updated•8 years ago
|
Attachment #8797795 -
Flags: review?(emorley)
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → cdawson
Reporter | ||
Comment 2•8 years ago
|
||
Ping for my question here:
https://github.com/mozilla/treeherder/pull/1895#discussion_r82301550
Flags: needinfo?(cdawson)
Assignee | ||
Comment 3•8 years ago
|
||
Ed: yeah, you're right. And this code changed a fair bit since the ORM changes went in. Fixed this up now.
Flags: needinfo?(cdawson)
Assignee | ||
Comment 4•8 years ago
|
||
Comment on attachment 8797795 [details] [review]
[treeherder] mozilla:unknown-repo-gracefully > mozilla:master
Thanks for the ping on this. :)
Attachment #8797795 -
Flags: review?(emorley)
Reporter | ||
Comment 5•8 years ago
|
||
Comment on attachment 8797795 [details] [review]
[treeherder] mozilla:unknown-repo-gracefully > mozilla:master
r+ with review comment addressed :-)
Attachment #8797795 -
Flags: review?(emorley) → review+
Comment 6•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/2b0ef8a6ddd1df50ec8a01e69d35324934e87afe
Bug 1306588 - Log unsupported repos for pulse jobs (#1895)
Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•