Closed Bug 2014041 Opened 7 months ago Closed 3 months ago

Update perf.compare to support alternate lando URLs

Categories

(Testing :: PerfCompare, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: shtrom, Assigned: shtrom)

References

Details

(Whiteboard: [pcf])

Attachments

(1 file)

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.

When using a mach try perf mach instructs users to check https://perf.compare/compare-lando-results?baseLando=177080&newLando=177081&baseRepo=try&newRepo=try&framework=15

We'll be keeping both instances for a short transition period, so we'll need to be able to tell Perf.Compare which Lando instance to use, for the baseLando and newLando jobIds 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.

We have a similar bug for TreeHerder: bug 2014036

Summary: Update treeherder to support alternate lando URLs → Update perf.compare to support alternate lando URLs

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

Flags: needinfo?(csevere)

From sparky:

given that you'll be supporting both for a bit, you could start with either adding the flag "landoInstance" to mach try perf when we build the url https://searchfox.org/firefox-main/source/tools/tryselect/selectors/perf.py#1666 or start with accepting that option in perfcompare. For perfcompare, you'd need to add a new function to handle the new API call then use it in the landoToCommitLoader https://github.com/mozilla/perfcompare/blob/499093107fc3a2e337a3319d434186baec356dae/src/components/CompareResults/landoToCommitLoader.ts#L33-L38.

Severity: -- → S3
Flags: needinfo?(csevere)
Priority: -- → P3
Whiteboard: [pcf]
Blocks: 2033360

Note from :sparky:

we'd need to adjust this code to accept a new URL param for the lando instance to use: https://github.com/mozilla/perfcompare/blob/ec289b8132df0d67b017869aa2ed76a601b0654f/src/logic/lando.ts#L5-L19

Assignee: nobody → omehani
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 3 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: