Closed Bug 1549757 Opened 5 years ago Closed 5 years ago

Lando should default to landing patches on `default` rather than unconditionally on `tip`

Categories

(Conduit Graveyard :: Transplant, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jcj, Assigned: glob)

Details

(Keywords: conduit-triaged)

Attachments

(1 file)

https://lando.services.mozilla.com/D25880/ is a landing job that successfully landed an NSPR patch.
The Phab review, https://phabricator.services.mozilla.com/D25880, shows it’s going to NSPR on default... Good, good. However, Lando put the patch on a version branch, not default: https://hg.mozilla.org/projects/nspr/rev/3262b1497babd06aa111be048ff514092c2d6f87

From :smacleod, this is "due to the old part of MozReview we're using: https://github.com/mozilla-conduit/autoland-transplant/blob/master/autoland/transplant.py#L187" always landing on tip, and for NSPR tip was not default.

NSS can also have this problem, since NSS uses version branches.

Assignee: nobody → glob
Component: Lando → Transplant
Keywords: conduit-triaged
Priority: -- → P2

On repositories where there are multiple branches, tip might point to
a HEAD on a non-default branch.

Use the remote revset default instead of tip, and rename
remote_tip to target_cset for clarity.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

This happened again.

https://hg.mozilla.org/projects/nss/rev/3c2aceba7ae8

from

https://lando.services.mozilla.com/D32067/

Does something need to be deployed?

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

Another misland of https://hg.mozilla.org/projects/nss/rev/da87cd7622ee673cb09ae234e4a4d41400c6c324 for bug 1557264.

we'll need to just stop using Lando until this is fixed.

sorry about that - this has been deployed.

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Flags: needinfo?(glob)
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Conduit → Conduit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: