-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continue to fix data serialization error in 3Box integration #5981
Continue to fix data serialization error in 3Box integration #5981
Conversation
merge stable from gitcoinco/web
@octavioamu is it possible we merge this into alpha/staging first? one of the major issues is that we don't have sufficient data locally for testing. so it's important we could validate it in alpha/staging. not sure whether it's possible anyone could help with more testing in alpha, in order to collect the call stack (if met 500 error when export data), and query timeframe for large size profile. |
@octavioamu @owocki hey guys, could please anyone help with testing in alpha for the fix, so we could move faster for the issue? |
@octavioamu @thelostone-mc heys guys, could you please help test this fix in alpha, and collect call stack or query timeframe if it fails? |
@octavioamu it works well for my account @think-in-universe in alpha after the merge. Could you please ask for a try from your team to verify whether the feature works or not now? |
@owocki, @octavioamu, @think-in-universe - just following up here, did we ever figure out why this integration may have been corrupting profiles, which prevented people from using their 3Box at all after backing up their Gitcoin data? Wanted to see if there was anything we could do to help if not :) |
@michaelsena hi Michael, I didn't know that the integration corrupted profiles and prevented users from using 3Box. How did you find that? It worked well in my testing at least in the alpha version. The major challenge in my opinion is that it's not easy to test as we need to verify the result with user profile data from production. The mock data in dev environment cannot cover quite some scenarios. You can try as a alpha tester of GitCoin and let us know your feedback. https://gitcoin.co/settings/account?cb=alphatester @octavioamu could anyone from the team run more testing for the feature in alpha? |
im still getting 503s trying to upload my data in production https://bits.owocki.com/5zuyYLwW |
@owocki I see. let me add some performance enhancements for query or split the query into different parts. and can we ask more guys from the team help test the feature? does it work or not for others? |
hmmm the https://gitcoin.co/api/v0.1/profile/backup call still times out.. |
how are you testing this? might make sense to create a profile with my similar data footprint and optimize the way its storing info |
@owocki the call to https://gitcoin.co/api/v0.1/profile/backup should now be split into 7 separate calls (models), could you see that in the Network console? const startProfileDataBackup = () => {
if (window.syncTo3Box) {
syncTo3Box({
onLoading: switchIcons,
models: [ 'profile', 'grants', 'portfolio', 'bounties', 'activities', 'tips', 'feedback' ]
});
}
}; Umm.... It's always a trouble for me for faking/mocking testing data. I checked with @danlipert several months ago, but it seems there's no such a script for generating testing data. Any suggestions? I'm testing in my local dev environment (http://localhost:8000). Currently I'm creating testing data manually via GUI manipulations with local accounts. Or I may check out the database and import some random data there to mimic your footprint. And it would also be good to create some scripts/commands to help with this. |
oh derp thats why i couldnt test
…On Mon, Mar 16, 2020 at 6:11 PM think-in-universe ***@***.***> wrote:
@owocki <https://github.com/owocki> Hi Kevin, how did you do the testing
in dev environment? I think #6239
<#6239> hasn't been merged, so are
you testing in a staging server which could access to production data?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5981 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD5PCIBUHSPYXC62UVBIZTRH25ZPANCNFSM4KT6D3WQ>
.
_________________________________________
gitcoin is live and has generated over $3.5mm for Open Source Software - see
our results <https://gitcoin.co/results>
|
will test again soon
…On Tue, Mar 17, 2020 at 4:51 PM Kevin Owocki ***@***.***> wrote:
oh derp thats why i couldnt test
On Mon, Mar 16, 2020 at 6:11 PM think-in-universe <
***@***.***> wrote:
> @owocki <https://github.com/owocki> Hi Kevin, how did you do the testing
> in dev environment? I think #6239
> <#6239> hasn't been merged, so are
> you testing in a staging server which could access to production data?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#5981 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAD5PCIBUHSPYXC62UVBIZTRH25ZPANCNFSM4KT6D3WQ>
> .
>
--
@owocki <http://www.twitter.com/owocki>
_________________________________________
gitcoin is live and has generated over $3.5mm for Open Source Software - see
our results <https://gitcoin.co/results>
_________________________________________
gitcoin is live and has generated over $3.5mm for Open Source Software - see
our results <https://gitcoin.co/results>
|
testing notes: TLDR - its better than it was. heres what the requests look like when i run this https://bits.owocki.com/mXuqDON4 here are the failures stack trces |
Thanks Kevin. Umm... ETL is always time consuming as we can see here, especially when the feedback loop is long ... The failure of There're another two timeout requests (probably 'bounties' and 'profile') in your screenshot I think, it would be nice if you could help check the body of these two requests. |
when you say you want the body of the request, what do you mean? should i
just copy the request as a CURL?
…On Fri, Mar 20, 2020 at 3:48 AM think-in-universe ***@***.***> wrote:
Thanks Kevin.
Umm... ETL is always time consuming as we can see here, especially when
the feedback loop is long ...
The failure of Tips in https://bits.owocki.com/9ZuAKnpv and Porfolio in
https://bits.owocki.com/4gumNpvZ has been fixed with the latest #6239
<#6239> . The error about Porfolio
should already be fixed via #5981
<#5981> . It's weird the code change
in #5981 <#5981> is rolled back in
stable branch somehow...
There're another two timeout requests (probably 'bounties' and 'profile')
in your screenshot I think, it would be nice if you could help check the
body of these two requests.
[image: image]
<https://user-images.githubusercontent.com/46699230/77152383-d6582a00-6ad2-11ea-8c85-d90fb5114682.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5981 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD5PCLUEBTPNLE4ZEP4FKDRIM3YVANCNFSM4KT6D3WQ>
.
_________________________________________
gitcoin is live and has generated over $3.5mm for Open Source Software - see
our results <https://gitcoin.co/results>
|
@owocki copy the requests as cURL is fine I think. thanks. |
BTW, in another project of Cerebro (gitcoinco/data-ops#42), @frankchen07 and I are reaching out to @octavioamu about whether it's possible to get access to the production data securely for someone outside the team (like me). This may also help assist the testing of this issue. |
Description
Fix the testing failure in #5947, when backing up profile data to 3Box.
Resume the work in #5955
Refers/Fixes
Fix the testing failure in #5947; resume the work in #5955
Testing
Tested locally with GitCoin development environment.