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.
Depends on D9873
Differential D9874 Authored by ashoat on Nov 13 2023, 3:26 PM.
Tags None Referenced Files
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
Event TimelineHerald added a subscriber: tomek. · View Herald TranscriptNov 13 2023, 3:27 PM2023-11-13 15:27:01 (UTC-8) Harbormaster returned this revision to the author for changes because remote builds failed.Nov 13 2023, 3:47 PM2023-11-13 15:47:53 (UTC-8) Harbormaster failed remote builds in B24108: Diff 33208!Nov 14 2023, 6:31 AM2023-11-14 06:31:30 (UTC-8) Harbormaster failed remote builds in B24112: Diff 33212!Nov 14 2023, 7:09 AM2023-11-14 07:09:19 (UTC-8) Harbormaster failed remote builds in B24118: Diff 33218!Nov 14 2023, 10:39 AM2023-11-14 10:39:34 (UTC-8) This revision is now accepted and ready to land.Nov 15 2023, 1:24 AM2023-11-15 01:24:39 (UTC-8) Harbormaster failed remote builds in B24151: Diff 33265!Nov 15 2023, 7:02 AM2023-11-15 07:02:58 (UTC-8) Harbormaster failed remote builds in B24181: Diff 33299!Nov 15 2023, 12:43 PM2023-11-15 12:43:26 (UTC-8) 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 PM2023-11-19 17:11:10 (UTC-8) Harbormaster completed remote builds in B24264: Diff 33402.Nov 19 2023, 5:39 PM2023-11-19 17:39:08 (UTC-8) Harbormaster completed remote builds in B24375: Diff 33555.Nov 23 2023, 5:36 AM2023-11-23 05:36:56 (UTC-8) Closed by commit rCOMMf2da8efc541a: [Flow202][keyserver][skip-ci] [25/x] Fix type error in push notif fetchInfos (authored by ashoat). · Explain WhyNov 27 2023, 3:27 PM2023-11-27 15:27:32 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 33218 keyserver/src/push/send.js
|
wondering, shouldn't we also add action.type === fullStateSyncActionType?