Add a User Agent to requests that mozilla-taskcluster makes to Treeherder

RESOLVED FIXED

Status

Taskcluster
Integration
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
In bug 1230222 we're wanting to have consumers of Treeherder's API set a User Agent, to make issues (or eg deprecation of a particular endpoint) easier to track.

In addition to using treeherder-node (whose equivalent UA changes are being made in bug 1191403), mozilla-taskcluster makes direct requests to the API:
https://github.com/mozilla/mozilla-taskcluster/blob/197f81355558a346784d104f47c98a18a4716194/src/bin/import_repositories.js#L14
(Assignee)

Comment 1

2 years ago
Created attachment 8719569 [details] [review]
mozilla-taskcluster: Add a User Agent to Treeherder requests
Attachment #8719569 - Flags: review?(garndt)

Comment 2

2 years ago
Comment on attachment 8719569 [details] [review]
mozilla-taskcluster: Add a User Agent to Treeherder requests

LGTM, merged
Attachment #8719569 - Flags: review?(garndt) → review+

Updated

2 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.