Skip to content

Instantly share code, notes, and snippets.

@locskot
locskot / on delete team
Created February 24, 2021 11:21
1 create team 2 invite participant 3 delete the team
REQUEST:
sending time: 2021-02-24 11:10:58.789746Z
query: {"reqType":"graphql","reqId":"6fd05a83-79c0-4728-aad3-cdcf39cca6ac","graphqlParams":{"query": "mutation { deleteChannel(channelId : \"83928333-239c-4d06-8bfb-2e854dee4225\") }"},"ctx":{"processId":null,"geolocation":{"latitude":37.785834,"longitude":-122.406417,"altitude":0}}}
RESPONSE:
receiving time: 2021-02-24 11:10:59.088715Z
messages: {"message":"OK","statusCode":200,"ctx":{"workflow":"graphql","action":"query","processId":"f9054d1f-7690-11eb-9ed7-423d9b218ec0","actionId":"f9054d20-7690-11eb-9ed7-423d9b218ec0"},"reqId":"6fd05a83-79c0-4728-aad3-cdcf39cca6ac","dataType":"graphql","data":{"data":{"deleteChannel":"OK"}},"host":"apisvrqa-6d4bfb4f6-79q5g","tm":1614165059064}
--------------------------------------------------------
flutter: ══╡ EXCEPTION CAUGHT BY ANIMATION LIBRARY ╞═════════════════════════════════════════════════════════
REQUEST:
sending time: 2021-03-10 12:04:55.444416Z
query: {"reqType":"graphql","reqId":"133447f9-ec67-4cf7-b701-a91e5988a8b9","graphqlParams":{"query": "mutation {\n socialFeedSetEmoji(\n feedId: \"b42c407f-7cf4-11eb-ae24-4a3e4bef90b9\"\n code: \"clap\"\n )\n }"},"ctx":{"processId":null,"geolocation":{"latitude":45.0424006954255,"longitude":41.989237563723684,"altitude":514}}}
RESPONSE:
receiving time: 2021-03-10 12:04:55.644237Z
messages: {"message":"OK","statusCode":200,"ctx":{"workflow":"graphql","action":"query","processId":"d3eb5ea7-8198-11eb-82e7-062076be851f","actionId":"d3eb5ead-8198-11eb-82e7-062076be851f"},"reqId":"133447f9-ec67-4cf7-b701-a91e5988a8b9","dataType":"graphql","data":{"errors":[{"message":"not found","path":["socialFeedSetEmoji"]}],"data":null},"host":"apisvr-ff5645495-27sz7","tm":1615377895537}
--------------------------------------------------------
[log] --------------------------------------------------------
REQUEST:
sending time: 2021-03-10 12:05:40.512267Z
query: {"reqType":"graphql","reqId":"2cf02d0c-10a0-44c5-9754-3f7eb1c042f2","graphqlParams":{"query": "mutation {\n socialFeedSetEmoji(\n feedId: \"cecd217d-8175-11eb-a889-422ef352ca77\"\n code: \"clap\"\n )\n }"},"ctx":{"processId":null,"geolocation":{"latitude":45.04273727074735,"longitude":41.98913170028663,"altitude":517}}}
RESPONSE:
receiving time: 2021-03-10 12:05:40.774508Z
messages: {"message":"OK","statusCode":200,"ctx":{"workflow":"graphql","action":"query","processId":"eec82254-8198-11eb-82e7-062076be851f","actionId":"eec82256-8198-11eb-82e7-062076be851f"},"reqId":"2cf02d0c-10a0-44c5-9754-3f7eb1c042f2","dataType":"graphql","data":{"data":{"socialFeedSetEmoji":"OK"}},"host":"apisvr-ff5645495-27sz7","tm":1615377940642}
REQUEST:
sending time: 2021-03-10 12:08:30.417772Z
query: {"reqType":"graphql","reqId":"10261c91-e626-4865-a68a-312314e0ad18","graphqlParams":{"query": "mutation { sendNewChatMessage(input: { channelId: \"b42c407f-7cf4-11eb-ae24-4a3e4bef90b9\", content: \"hi\"} channelType: socialFeed) }"},"ctx":{"processId":null,"geolocation":{"latitude":45.04249909896873,"longitude":41.98912700642085,"altitude":515}}}
RESPONSE:
receiving time: 2021-03-10 12:08:30.619578Z
messages: {"message":"OK","statusCode":200,"ctx":{"workflow":"graphql","action":"query","processId":"540da094-8199-11eb-82e7-062076be851f","actionId":"540da097-8199-11eb-82e7-062076be851f"},"reqId":"10261c91-e626-4865-a68a-312314e0ad18","dataType":"graphql","data":{"errors":[{"message":"not found","path":["sendNewChatMessage"]}],"data":{"sendNewChatMessage":null}},"host":"apisvr-ff5645495-27sz7","tm":1615378110513}
--------------------------------------------------------
REQUEST:
sending time: 2021-03-10 12:11:34.423636Z
query: {"reqType":"graphql","reqId":"0865cf0a-6dd5-4e5c-91ce-34c63c5b6a8b","graphqlParams":{"query": "{ chatMessages(channelId: \"b42c407f-7cf4-11eb-ae24-4a3e4bef90b9\" channelType: socialFeed) { \n id\n channelId\n fromPerson {\n id\n name\n firstname\n lastname\n picture\n online\n }\n content\n timestamp\n unread\n modified\n }\n }"},"ctx":{"processId":null,"geolocation":{"latitude":45.042837015395094,"longitude":41.98919573802686,"altitude":516}}}
RESPONSE:
receiving time: 2021-03-10 12:11:34.623380Z
messages: {"message":"OK","statusCode":200,"ctx":{"workflow":"graphql","action":"query","processId":"c1bab04e-8199-11eb-82e7-062076be851f","actionId":"c1bab050-8199-11eb-82e7-062076be851f"},"reqId":"0865cf0a-6dd5-4e5c-91ce-34c63c5b6a8b","dataType":"graphql","data":{"errors":[{"message":"not found","path":["chatMessages"]}],"data":null},"host":"apisvr-ff5645495-27sz7","t
[log] --------------------------------------------------------
2021-03-10 12:14:12.045454Z 2021-03-10T12:14:12.045356Z EVENT_SENDER: started handling event `updated_feed`
--------------------------------------------------------
[log] --------------------------------------------------------
2021-03-10 12:14:12.046482Z 2021-03-10T12:14:12.046266Z EVENT_SENDER: result = Instance of 'SocialFeedItemUpdated'
--------------------------------------------------------
[log] --------------------------------------------------------
2021-03-10 12:14:12.047998Z
RESPONSE:
receiving time: 2021-03-10 12:14:12.045058Z
[log] --------------------------------------------------------
2021-03-10 12:25:54.010531Z 2021-03-10T12:25:54.010454Z EVENT_SENDER: started handling event `updated_feed`
--------------------------------------------------------
[log] --------------------------------------------------------
2021-03-10 12:25:54.011101Z 2021-03-10T12:25:54.011042Z EVENT_SENDER: result = Instance of 'SocialFeedItemUpdated'
--------------------------------------------------------
[log] --------------------------------------------------------
2021-03-10 12:25:54.012312Z
RESPONSE:
receiving time: 2021-03-10 12:25:54.010183Z
@locskot
locskot / gist:e85634f95d925d95fd89443b7e4a5e22
Created March 10, 2021 12:38
1. Наблюдатель в social feed 2. Владелец клапает - получено событие, запись фида обновилась (все ок) 3. Владелец пишет коммент - получено событие, обновлена цель (запись фида показывает неправильное количество) 4. Владелец клапаеи - все обновится (коммент из 3 тоже) все ок.
[log] --------------------------------------------------------
2021-03-10 12:34:32.426862Z 2021-03-10T12:34:32.426801Z EVENT_SENDER: started handling event `updated_feed`
--------------------------------------------------------
[log] --------------------------------------------------------
2021-03-10 12:34:32.427488Z 2021-03-10T12:34:32.427427Z EVENT_SENDER: result = Instance of 'SocialFeedItemUpdated'
--------------------------------------------------------
[log] --------------------------------------------------------
2021-03-10 12:34:32.427957Z
RESPONSE:
receiving time: 2021-03-10 12:34:32.426596Z
[log] --------------------------------------------------------
2021-03-11 12:23:28.550999Z
DURATION: 0:00:00.359497
REQUEST:
sending time: 2021-03-11 12:23:28.190803Z
query: {"reqType":"graphql","reqId":"207d9206-5d18-46d4-880f-dc45214c9abc","graphqlParams":{"query": "{ goals (\n currentTimestamp: \"2021-03-11T15:23:27+03:00\",\n ,\n withFollowed: true\n ) {\n id\n ownerId\n ownerName\n category\n description\n goalStatus\n weeklyProgress\n dailyProgress\n streaks\n plannedTimesPerWeek\n plannedValueOrTimesPerDay\n plannedValueOrTimesPerDayUnit\n goalExercise {\n repeatCount\n repeatCountUnit\n lifts\n reps\n }\n followers {\n id\n name\n picture\n firstname\n lastname\n }\n totalTasks\n totalCompleted\n level\n commentsCount\n emojiCount\n hasUnreadComments\n hasUnreadEmoji\n \n }}"},"ctx":{"processId":n
This file has been truncated, but you can view the full file.
spr=https\u0026srt=co\u0026ss=b\u0026sv=2018-11-09?se=2021-03-12T08%3A48%3A13Z\u0026sig=iDR5RHH%2FVidNfLOiAUcRyxEe%2FIitqsIgiw4bNsz1Fv8%3D\u0026sp=rl\u0026spr=https\u0026srt=co\u0026ss=b\u0026sv=2018-11-09","address":{"state":null,"country":null},"online":true},"content":"","messageContent":{"type":"media","id":"bd1843b0-ce26-4ef0-943b-f9c132c940cb","date":"2020-12-22T08:36:32Z","thumbnailsUrl":"https://devneekastorage.blob.core.windows.net/dev-neeka-user-b2953bfd-bde5-4938-8694-9a9b683110c3/files/d0d3e8b1-4430-11eb-ac22-7a34eb0804fc/5cef5867-6942-498a-b4a1-c8de963812f6/49a64e21-dd13-49b2-98f3-42e79bab3caa7620480475030958592_compressed6018925615502676419.thumbnails?se=2021-03-12T08%3A48%3A13Z\u0026sig=iDR5RHH%2FVidNfLOiAUcRyxEe%2FIitqsIgiw4bNsz1Fv8%3D\u0026sp=rl\u0026spr=https\u0026srt=co\u0026ss=b\u0026sv=2018-11-09","originalUrl":"https://devneekastorage.blob.core.windows.net/dev-neeka-user-b2953bfd-bde5-4938-8694-9a9b683110c3/files/d0d3e8b1-4430-11eb-ac22-7a34eb0804fc/b85591db-6550-4884-8ab4-83b5c916a7a0/4