Closed
Bug 1283202
Opened 9 years ago
Closed 9 years ago
Pulse jobs from taskcluster concatenate the retry id to the job_guid erroneously
Categories
(Tree Management :: Treeherder: Data Ingestion, defect)
Tree Management
Treeherder: Data Ingestion
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: camd, Assigned: camd)
References
Details
Attachments
(1 file)
it's already in the taskId from task cluster, we don't need to append it in treeherder
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → cdawson
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8766560 -
Flags: review?(garndt)
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8766560 [details] [review]
[treeherder] mozilla:pulse-job-guid-retryid-fix > mozilla:master
Got an r+ on irc from garndt
Attachment #8766560 -
Flags: review?(garndt) → review+
Comment 3•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/f3eef9903de87bd97370f47542dd49736b26483d
Bug 1283202 - Stop concatenating retryId to the end of the taskId for… (#1634)
* Bug 1283202 - Stop concatenating retryId to the end of the taskId for job_guid from pulse
Comment 4•9 years ago
|
||
Should we disallow slashes in job guids? They break URLs in the UI at the moment due to lack of URL encoding -- it seems like we should just avoid the footgun if possible?
Flags: needinfo?(cdawson)
Comment 5•9 years ago
|
||
(ie replace '/0' with say '_0' or '-0')
Updated•9 years ago
|
Assignee | ||
Comment 6•9 years ago
|
||
using '_0' would cause problems because of the stupid hack I had to do for buildbot retries. But perhaps the '-0' would work.
Greg: would that be do-able on your end? Or if you didn't include the retry, I could do the concatenation on my end.
Comment 7•9 years ago
|
||
So a "-" is a valid character in a uuid which might confuse things. Also, with any change to this format it will need to be changed in a few spots:
1. taskcluster-treeherder pulse job submission
2. mozilla-taskcluster api job submission
3. mozilla-taskcluster retrigger handling
Assignee | ||
Comment 8•9 years ago
|
||
Maybe the safest thing is to properly url encode our url params when using a job_guid in Treeherder.
Flags: needinfo?(cdawson)
Assignee | ||
Comment 9•9 years ago
|
||
since this bug is resolved, I opened bug 1283545 for this specific URL issue with job_detail
You need to log in
before you can comment on or make changes to this bug.
Description
•