Closed
Bug 1281423
Opened 10 years ago
Closed 10 years ago
Inconsitent naming for Treeherder staging references under treeherderEnv and routes
Categories
(Firefox Build System :: Task Configuration, task)
Firefox Build System
Task Configuration
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: whimboo, Unassigned)
Details
Current tasks expect Treeherder instance information for staging the following way:
[..]
'routes': [
'tc-treeherder-stage.mozilla-aurora.23c56144e51c56304df9620bb18fb8786e087e40'
],
'extra': [
'treeherderEnv': [
'staging'
],
],
[..]
Given that we might not able to easily change the routing key due to the known treeherder Pulse exchange (treeherder-stage) we might be able to update the task definition to use "stage" instead of "staging" under treeherderEnv?
It would give more consistency.
Flags: needinfo?(dustin)
Comment 1•10 years ago
|
||
I'm sorry, I'm not sure understand the question. Is the issue the difference between "stage" and "staging"? If so, I think that battle has been lost ages ago -- references to non-production environments are split almost 50/50 between stage and staging, with no consistency.
I expect that changing either of those strings would cause compatibility issues.
Flags: needinfo?(dustin)
Comment 2•10 years ago
|
||
I believe the only thing that consumes the treeherderEnv information is our in-tree stuff that uses it to determine what treeherder routes to add to a task. Changing it to "stage" for the staging environment to match the identifier in the treeherder route should be safe as long as all references to treeherderEnv are updated.
Honestly that key could probably be deleted entirely once the task definition is processed by our in-tree scheduling because I do not believe it's used elsewhere.
I think that task definition maintainers should just know that there are two values for treeherderEnv currently, staging or production, and those represent a treeherder destination to report job events to without any knowledge of what a treeherder route looks like.
| Reporter | ||
Comment 3•10 years ago
|
||
Dustin might be right here. There are some other tools around which use `staging` in `treeherderEnv`. As example I can reference funsize:
https://github.com/mozilla/funsize/blob/master/funsize/tasks/funsize.yml#L48
So I will keep maintaining those two separate values for staging in mozmill-ci.
Is that a wontfix?
Comment 4•10 years ago
|
||
Yea, I'm +1 with wontfix because there are things outside of the in-tree stuff that rely on it it seems.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: TaskCluster → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•