Closed Bug 1625500 Opened 5 years ago Closed 1 years ago

Tell people to use `.finally()` instead of `.then(foo, foo)` when `foo` is the same thing for both arguments

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

Attachments

(2 obsolete files)

I didn't actually realize this existed (and it is several years newer than .then!). It's neat, we should be using it.

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED

Depends on D68613

Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/0a35b13dfcde tell people to use promise.finally() instead of passing 2 identical things to .then, r=Standard8 https://hg.mozilla.org/integration/autoland/rev/7d80233bcfcd fix use of .then(x, x) in the tree, r=marionette-reviewers,Standard8,whimboo
See Also: → 1631248

Talked to Mark, going to split up the fixing patch because not all consumers here like being switched to .finally(), as we no longer catch rejections that way.

Flags: needinfo?(gijskruitbosch+bugs)

There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:Gijs, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #6)

There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:Gijs, could you have a look please?
For more information, please visit auto_nag documentation.

Thanks for reminding me how busy I am, bugbug.

Flags: needinfo?(gijskruitbosch+bugs)
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3

I think the subtle differences here are annoying enough that this isn't worth doing.

Status: ASSIGNED → RESOLVED
Closed: 1 years ago
Resolution: --- → WONTFIX
Attachment #9136409 - Attachment is obsolete: true
Attachment #9136410 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: