https://linear.app/comm/issue/ENG-10205/update-flow-to-02691
message.type can't be UPDATE_RELATIONSHIP
Depends on D15081
Differential D15083 Authored by angelika on Jul 23 2025, 3:29 PM.
Details Summary https://linear.app/comm/issue/ENG-10205/update-flow-to-02691 message.type can't be UPDATE_RELATIONSHIP Depends on D15081 Test Plan Flow
Diff Detail
Event Timelineangelika held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptJul 23 2025, 3:29 PM2025-07-23 15:29:23 (UTC+0) Harbormaster completed remote builds in B34740: Diff 48945.Jul 23 2025, 3:33 PM2025-07-23 15:33:13 (UTC+0) Harbormaster completed remote builds in B34927: Diff 49134.Jul 24 2025, 4:28 PM2025-07-24 16:28:52 (UTC+0) Comment Actions Could you explain why message.type can't be UPDATE_RELATIONSHIP? Do we still need to keep the validatorMessageType === messageTypes.UPDATE_RELATIONSHIP && message.type === messageTypes.LEGACY_UPDATE_RELATIONSHIP condition? This revision now requires changes to proceed.Jul 31 2025, 3:05 PM2025-07-31 15:05:37 (UTC+0) Comment Actions Look at the messages list a little higher. There is no message with type messageTypes.UPDATE_RELATIONSHIP. message comes from iterating over messages. So message.type === messageTypes.UPDATE_RELATIONSHIP is always false. So (validatorMessageType === messageTypes.LEGACY_UPDATE_RELATIONSHIP &&
message.type === messageTypes.UPDATE_RELATIONSHIP)is always false. Comment Actions
Ok, makes sense, but I think a better solution would be to introduce a new message type in that array so that our tests cover it. Harbormaster completed remote builds in B35192: Diff 49443.Aug 9 2025, 12:31 PM2025-08-09 12:31:29 (UTC+0) This revision is now accepted and ready to land.Aug 11 2025, 3:19 PM2025-08-11 15:19:41 (UTC+0) Harbormaster completed remote builds in B35458: Diff 49747.Aug 21 2025, 12:54 PM2025-08-21 12:54:28 (UTC+0) Closed by commit rCOMMd933a1a33bf6: [Flow262][skip-ci] Fix invalid check in validation.test.js. · Explain WhyAug 21 2025, 7:34 PM2025-08-21 19:34:01 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 49443 |