Closed Bug 2014036 Opened 7 months ago Closed 3 months ago

Update treeherder to support alternate lando URLs

Categories

(Tree Management :: Treeherder: Frontend, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: shtrom, Assigned: aryx)

References

Details

(Keywords: leave-open)

Attachments

(4 files)

In bug 1965997, we are moving to a new instance of lando, at https://lando.moz.tools for try Pushes.
It offers a compatible API to check jobs, but has a separate namespace for job id.

As part of bug 1979252, we are adding support for mach to use the new lando, while retaining support for the old lando.

At the end of a successful try push, mach instructs users to check https://treeherder.mozilla.org/jobs?repo=try&landoCommitID={job_id}".

We'll be keeping both instances for a short transition period, so we'll need to be able to tell Treeherder which Lando instance to use, for the landoCommitID to be valid. I'd suggest simply adding a landoInstance={old,new} parameter, defaulting to old if unspecified.

At some point the mach default will flip to using new lando by default (likely after updating ESRs) and we'll flip the default.

Blocks: 1979252
Blocks: 2014041

FWIW, I'm happy to do this myself, but I would welcome some discussion/suggestions as to the preferred way to proceed.

Assignee: nobody → aryx.bugmail
Status: NEW → ASSIGNED

Needed by Treeherder to query the correct Lando instance to redirect to after
the Try push has been created and has been ingested by Treeherder.

:Aryx: is there anything preventing the landing of your first mach path, and the treeherder PR? I'm thinking about excluding mach perf from automatically using the new instance for a bit longer, so we could move forwards with plain try for now.

Flags: needinfo?(aryx.bugmail)

FWIW: I now have a way to separate the dependency on Perf.Compare from that on TreeHerder (it's pretty simple: https://phabricator.services.mozilla.com/D285188), so we don't need to land all the fixes in one go, and we can land and support TreeHerder on its own as soon as it's ready.

Flags: needinfo?(aryx.bugmail)

This allows us to decouple the name of the lando instance from the
section in the configuration file. The instance_id is useful for tools
such as TreeHerder and PerfCompare to talk to the appropriate Lando
instance.

Attachment #9542103 - Attachment description: Bug 2014036 - also return Lando instance for Try pushes. r=ahal → Bug 2014036 - also return Lando instance for Try pushes. r=ahal,aryx,sparky
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED

Mach changes are in; TreeHerder changes still need to be merged.

Status: RESOLVED → VERIFIED
Status: VERIFIED → REOPENED
Resolution: FIXED → ---

Authored by https://github.com/Archaeopteryx
https://github.com/mozilla/enterprise-firefox/commit/2cb7e08e46016c6e594ecbd9109da88f72b3b185
[enterprise-main] Bug 2014036 - also return Lando instance for Try pushes. r=ahal,perftest-reviewers,sparky

Authored by https://github.com/shtrom
https://github.com/mozilla/enterprise-firefox/commit/1269c64056b3b3b9720863310e8306ae0fee342d
[enterprise-main] Bug 2014036 - add instance_id attribute to lando.ini sections r=ahal,sparky

Status: REOPENED → RESOLVED
Closed: 5 months ago5 months ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Blocks: 2033360

Is there more to do here?

Flags: needinfo?(omehani)

There is still one patch which hasn't landed, but it's waiting for support on the Perf.Compare side (bug 2014041)

Flags: needinfo?(omehani)
Attachment #9542104 - Attachment description: Bug 2014036 - use Lando instance in urls created with perf Try selector. r=sparky → Bug 2014036 - Use Lando instance in urls created with mach try perf. r?#perftest
Pushed by gmierz2@outlook.com: https://github.com/mozilla-firefox/firefox/commit/c778e4c62f1c https://hg.mozilla.org/integration/autoland/rev/4151518b7d38 Use Lando instance in urls created with mach try perf. r=perftest-reviewers,aryx,shtrom,aglavic
Status: REOPENED → RESOLVED
Closed: 5 months ago3 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: