Closed Bug 1591591 Opened 5 years ago Closed 5 years ago

Change the app.statusContext configuration for github.com/apps/community-tc-integration

Categories

(Taskcluster :: Services, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: SimonSapin, Assigned: dustin)

References

Details

Servo has automation (bors a.k.a. homu) that automatically merges pull requests when CI reports that tests pass. This is based on GitHub Status API. Results from multiple CI systems (Travis-CI, AppVeyor, Taskcluster, …) are distinguished based on the context string in Statuses.

For migrating (bug 1574648) of Servo to the community-tc deployment we’ll likely want to have a both https://github.com/apps/taskcluster and https://github.com/apps/community-tc-integration enabled at the same time on the same repository, each reporting a Status on the same commit in reaction e.g. to a given push event.

To be able to tell these two Status entries apart, they should ideally have different context string. My reading of handlers.js is that (part of) this string is based on the app.statusContext string in the configuration of the integration service.

To avoid breaking the existing/legacy integration, I’d prefer the new one (community-tc) to change, if it doesn’t already have a different string configured.

Flags: needinfo?(bugzeeeeee)
Assignee: nobody → dustin

https://github.com/taskcluster/taskcluster/pull/1869

I've set APPLICATION_NAME in the Heroku deployment to "Taskcluster", so the existing integration's behavior should not change. The new one will be "Community-TC".

Flags: needinfo?(bugzeeeeee)

I'll see if I can get an expedited review here and make a release Monday morning. Cloudops does the releases, and will need to do a minor bit of adjustment, so I would hope for deployment mid-day pacific time.

Please disregard comment 3. It was an idea for an alternative plan but a chat with Dustin on IRC convinced me to continue as we had planned earlier.

This has been deployed. See for example https://github.com/servo/servo/pull/24652 which has statuses for both Community-TC (pull_request) and Taskcluster (pull_request). Thanks!

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.