Page MenuHomePhabricator

[Flow202][keyserver][skip-ci] [25/x] Fix type error in push notif fetchInfos
ClosedPublic

Authored by ashoat on Nov 13 2023, 3:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 12:54 AM
Unknown Object (File)
Fri, May 3, 8:24 PM
Unknown Object (File)
Tue, Apr 30, 8:28 PM
Unknown Object (File)
Sun, Apr 28, 4:39 PM
Unknown Object (File)
Fri, Apr 26, 8:59 AM
Unknown Object (File)
Mon, Apr 22, 3:35 PM
Unknown Object (File)
Wed, Apr 17, 6:29 PM
Unknown Object (File)
Tue, Apr 16, 3:24 AM
Subscribers

Details

Summary

The new version of Flow is detecting an issue here. We can't mutate serverThreadInfos, as it is an immutable collection. Instead we'll need to do some copies.

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 D9873

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:47 PM
Harbormaster failed remote builds in B24091: Diff 33190!
This revision is now accepted and ready to land.Nov 15 2023, 1:24 AM
ashoat retitled this revision from [Flow202][keyserver] [25/x] Fix type error in push notif fetchInfos to [Flow202][keyserver][skip-ci] [25/x] Fix type error in push notif fetchInfos.Nov 19 2023, 5:11 PM