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)
Sun, Nov 24, 9:34 AM
Unknown Object (File)
Wed, Nov 13, 1:47 PM
Unknown Object (File)
Sun, Nov 10, 6:58 AM
Unknown Object (File)
Fri, Nov 8, 5:01 AM
Unknown Object (File)
Fri, Nov 8, 3:52 AM
Unknown Object (File)
Oct 13 2024, 8:30 AM
Unknown Object (File)
Oct 12 2024, 12:01 PM
Unknown Object (File)
Oct 12 2024, 10:47 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