Closed Bug 1653030 Opened 5 years ago Closed 5 years ago

"All" optimization strategy should return False as soon as one of its substrategies returns False

Categories

(Firefox Build System :: Task Configuration, enhancement)

enhancement

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: marco, Assigned: marco)

Details

Attachments

(2 files)

Currently, all substrategies are evaluated before returning.

E.g. this would help on backstop pushes when you have a strategy such as:

    All(
        "backstop"
        "bugbug-reduced-fallback",
    )

since on such pushes the "bugbug-reduced-fallback" wouldn't need to be evaluated.

Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Pushed by mcastelluccio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b4d91130e5ef Make 'All' optimization strategy return early as soon as one of its substrategies returns False. r=ahal
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: