Page MenuHomePhabricator

[Flow202][keyserver][skip-ci] [10/x] Address type errors with promiseAll / Promise.all
ClosedPublic

Authored by ashoat on Nov 13 2023, 3:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 12:22 AM
Unknown Object (File)
Mon, Dec 16, 12:22 AM
Unknown Object (File)
Mon, Dec 16, 12:22 AM
Unknown Object (File)
Mon, Dec 16, 12:22 AM
Unknown Object (File)
Mon, Dec 16, 12:22 AM
Unknown Object (File)
Mon, Dec 16, 12:21 AM
Unknown Object (File)
Mon, Dec 16, 12:12 AM
Unknown Object (File)
Wed, Dec 11, 5:01 PM
Subscribers
None

Details

Summary

The new version of Flow is fairly particular about these. I had to restructure some of the log in places to use async IIFEs.

NOTE: CI will fail on this diff. I considered the possibility of fixing Flow errors BEFORE upgrading Flow, but it wasn't possible... in some cases, the fixes to support the new version of Flow caused errors in the old version. I could have hidden these type errors with $FlowFixMe lines and then later revert those, but that seemed like too much busy work.

Depends on D9858

Test Plan

Confirm the Flow errors go away

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 13 2023, 3:21 PM
Harbormaster failed remote builds in B24076: Diff 33175!

Some promise stuff that accidentally got into D9858

keyserver/src/creators/update-creator.js
437–446 ↗(On Diff #33193)

Snuck this fix in

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 13 2023, 6:42 PM
Harbormaster failed remote builds in B24094: Diff 33193!
This revision is now accepted and ready to land.Nov 14 2023, 8:34 AM
ashoat retitled this revision from [Flow202][keyserver] [10/x] Address type errors with promiseAll / Promise.all to [Flow202][keyserver][skip-ci] [10/x] Address type errors with promiseAll / Promise.all.Nov 19 2023, 5:06 PM