Page MenuHomePhabricator

[Flow202][lib][skip-ci] [24/23] Fix Flow issues from Inka's recently landed diffs
ClosedPublic

Authored by ashoat on Nov 7 2023, 6:56 AM.
Tags
None
Referenced Files
F3388872: D9748.id33095.diff
Fri, Nov 29, 4:23 PM
Unknown Object (File)
Tue, Nov 26, 6:20 AM
Unknown Object (File)
Tue, Nov 26, 4:37 AM
Unknown Object (File)
Fri, Nov 8, 2:31 AM
Unknown Object (File)
Oct 27 2024, 10:18 PM
Unknown Object (File)
Oct 27 2024, 10:18 PM
Unknown Object (File)
Oct 27 2024, 10:18 PM
Unknown Object (File)
Oct 27 2024, 10:18 PM
Subscribers

Details

Summary

It's hard since you're not running the new Flow, but going forward would appreciate if you could try to make sure to type all collections in all diffs to avoid introducing new work for me.

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 D9721

Test Plan

Flow

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 7 2023, 7:07 AM
Harbormaster failed remote builds in B23864: Diff 32892!
ashoat requested review of this revision.Nov 7 2023, 7:16 AM

Sure, I'll try to do that

This revision is now accepted and ready to land.Nov 7 2023, 7:35 AM

There's actually a lot more I have to do here after the most recently landed diffs

Updated to cover all diffs landed to master. Didn't end up being that hard actually

This revision is now accepted and ready to land.Nov 7 2023, 10:41 AM
lib/actions/device-actions.js
31 ↗(On Diff #32915)

This is actually a type error because DeviceTokenUpdateRequest has +deviceToken: string, but the device token from DeviceTokens can be ?string (nullable). Fixed in D9751

54 ↗(On Diff #32915)

This is actually a type error because DeviceTokenUpdateRequest has +deviceToken: string, but the device token from DeviceTokens can be ?string (nullable). Fixed in D9751

ashoat retitled this revision from [Flow202][lib] [24/23] Fix Flow issues from Inka's recently landed diffs to [Flow202][lib][skip-ci] [24/23] Fix Flow issues from Inka's recently landed diffs.
This revision was landed with ongoing or failed builds.Nov 27 2023, 3:25 PM
This revision was automatically updated to reflect the committed changes.