Closed Bug 1249768 Opened 9 years ago Closed 9 years ago

mozilla-taskcluster is submitting resultsets to Treeherder with 12 char revisions

Categories

(Taskcluster :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: camd, Assigned: garndt)

Details

Attachments

(1 file)

Hey man, this is the bug I was talking about on Friday.
Flags: needinfo?(garndt)
I don't have access to new relic...is it possible to send me some of the details or a job on treeherder that this happened with? I would imagine that mozilla-taskcluster would either always be sending it or never be sending short versions....I'm not immediately sure why this is yet as I think we just use what comes from the push log.
oh, sorry about the new relic access.. I'll see if I can add you to that. But here are some of the details. An example of a resultset that has the short revision is: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=8574c5890ef6 Not sure a screenshot of the new relic data has value, but here it is: https://www.dropbox.com/s/5bzmghxw5s6if30/Screenshot%202016-02-22%2009.04.59.png?dl=0
To be honest, when you call our endpoints, you always get the 12 char revision, because we haven't transitioned to the longer revisions on the front-end. So that could look pretty misleading (all resultsets look like we ONLY have the 12 char revision). But that shouldn't affect anything with this. This is purely an issue of the revision length at time of creation. But it sounds like the source you're using may give you a 12 char?
Oh, it occurred to me that TH used to barf if given a 40 char revision, so we asked submitters to always truncate to 12. Now we're changing our minds. -- TH is a fickle beast... :) Is it possible jlal did that somewhere in your code? Just throwing that out, because it maybe it's getting truncated in a non-obvious place? Just a guess...
Flags: needinfo?(garndt)
Oh awesome. That's an easy change! :)
so things are ok to be submitted without that restriction now?
they are, yeah. We are submitting to those same APIs with 40 char revisions internally at the moment.
Attachment #8722233 - Flags: review?(cdawson) → review+
Merged and deployed
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee: nobody → garndt
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: