PromucFlow_constructor/app
Shrikant Sharat Kandula 04f8d2799d
Fix potential delay in sending setup completion (#15534)
The Installation setup complete event is not getting sent sometimes, and it's behavior looks very much like there's some race condition somewhere. I'm proposing this change towards two goals.

One, currently, we send the event after the user-entered data is saved to the DB. But, there's no actual dependency, no point to waiting on that for sending the event. The actual user itself, is already created and signed up. So, one change is that we don't wait for the DB update to be applied. I'm also changing .onSuccess to .map, hoping that might make a difference.

Two, make a debug log entry to see if it is our callback function that's not getting invoked, or if Segment's API isn't doing it's job, when the event is not sent.

This PR also fixes formatting of Segment error messages.
2022-07-29 14:35:26 +05:30
..
client test: Automated tests for JSObjects + Flaky fixes (#15269) 2022-07-29 14:18:25 +05:30
rts feat: update dependencies (bot-alerts) (#15124) 2022-07-15 17:07:56 +05:30
server Fix potential delay in sending setup completion (#15534) 2022-07-29 14:35:26 +05:30
util chore: bump minimist from 1.2.5 to 1.2.6 in /app/util/plugin-generation (#12242) 2022-03-25 12:12:36 +05:30
yarn.lock