-
Notifications
You must be signed in to change notification settings - Fork 111
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
PROTO-1335: relay upload delay #6281
Conversation
haha welcome @DejayJD feel free to review this, @AudiusProject/client bot just threw you into the deep end |
Another thought, we could modify the sdk reselection logic to only reselect on less than 500 error codes which would indicate the node is healthy but the request wasn't. This would imply that the selection sdk made is good but the request the user made is incorrect. At that point we could add retry logic here without the overhead of reselecting a node. @raymondjacobson @Kyle-Shanks curious about your thoughts here?
i believe this would trigger a reselect on anything not 2xx |
Preview this change https://demo.audius.co/as/relay-uploads |
Adding @sliptype and @amendelsohn to this bc they will have more context than me about the implications here and possible alternative solutions to fix this issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's tempting to make confirmer poll for the entry on discovery, but not sure the difference matters in most of our use cases.
I'd be happy with a polling loop or the reselection change if we can verify that it eliminates this race.
I'm also okay with the delay, but would rather keep things as snappy as reasonably possible.
@@ -999,6 +1004,10 @@ function* uploadSingleTrack(track) { | |||
throw new Error(`Could not confirm upload single track ${trackId}`) | |||
} | |||
|
|||
// getting track immediately after acdc confirms | |||
// can 404 because it's not indexed yet | |||
yield delay(1500) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think I'd prefer to have a polling loop instead of the simple wait to give us a chance at hitting the first time. We can do something like
while (!response)
api.getTrack
if (!response) sleep
Not sure what the timing looks like on the indexing side, but this would give us good behavior whether it's fast or not.
If the change to reselection logic you proposed will get us the same behavior, I'm happy with that as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to the "polling" - except this misses the fact that the endpoint gives a 400 and we re-select discovery nodes, which we shouldn't do. So we need both of these changes basically.
I don't feel good merging the 1500ms delay because it'll still be non-deterministic. If the node you're talking to get stuck or takes longer than 1s to index the block, we're going to be in trouble still
And eventually POST endpoints to encapsulate all of this logic with optimistic writes :)
This makes sense to me. +1 here!!!!!! |
Preview this change https://demo.audius.co/as/relay-uploads |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work ramping up on this code. the only consideration is that we will have to wait a bit of time for this to be omnipresent in users hands before we flip things on again.
another solve for that specific issue may be to create another feature flag to gate decentralized relay. that way only new users who get this change will have the feature
Preview this change https://demo.audius.co/as/relay-uploads |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for digging into this. Great job, and a nice solution!
// lil bit of delay for retries | ||
yield delay(1500) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use a variable delay to disperse groups of failed calls?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like add a back off of some kind?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah... I'm not sure if it's necessary though. Concurrent upload volume shouldn't be high enough to stress anything on a 1.5s interval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't think so. This is also a GET
query, not an actual write operation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ya let's leave as is. Ty for entertaining my thinking out loud lol
unlistedArgs: { | ||
urlTitle: formatUrlName(track.metadata.title), | ||
handle | ||
let retries = 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is all post confirmation, right? so we're not depending on upload or confirmation time to fit within the retry window.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, the upload has already succeeded, this is purely for indexing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
brilliant. Sounds good to me!
[e4ce2bf] Run all service tests on self-hosted machines (#6419) Danny [fa08183] [PAY-2059] Make sure we show buyer challenges for verified users (#6422) Raymond Jacobson [85a4703] Re-land jimp improvements (#6361) Raymond Jacobson [01853d6] [C-3233, C-3218, C-3240] Update button styles; fix dark mode styles (#6400) Andrew Mendelsohn [406b39e] Change flag in setup.sh to check file existence, not dir (#6420) Danny [c1907f2] Use regular merge in deploys (#6421) Theo Ilie [7eaca91] [PROTO-1348] [PROTO-1357] Query node by endpoint in protocol dashboard (#6377) Theo Ilie [c6e55a4] [PAY-1980] Fix pay extra form validation (#6410) Raymond Jacobson [f19f19e] [PAY-2034] Mobile cooldown schedule UI (#6418) Reed [579eaef] [PAY-2067] Fix preview now playing drawer layout issues (#6411) Raymond Jacobson [4f28190] Mobile SummaryTable component (#6416) Reed [75ea950] Configure bootstrap dev CNs in sdk consumer (#6399) Isaac Solo [1ea1673] Disk cleanup cron job for self-hosted runners (#6415) Danny [d40c860] Fix dev-tools setup script (#6413) Sebastian Klingler [03c3b86] [C-3193] Harmony Text Input (#6329) JD Francis [2da9cc9] Make proto dash @types/react version consistent (#6374) Theo Ilie [f4da166] Fix race condition in compose deploy (#6407) Theo Ilie [3499aaa] [INF-490] Update readme (#6402) Sebastian Klingler [4e2aa22] Fix nav audio layout (#6412) Raymond Jacobson [2a546b5] Bump version to 0.4.38 audius-infra [9d29b6d] [PAY-2019] Update premium content remixes and stems logic (#6409) Saliou Diallo [d5d5ad7] Fix cooldown challenge schedule wrong dates (#6403) Reed [0625f9f] Commit package-lock (#6406) Sebastian Klingler [589a587] Float audio matching challenges to the top (#6404) Reed [ce95ab6] Fix sign typed data issues in develop app creation (#6405) Raymond Jacobson [c2e295b] Merge branch 'main' of github.com:AudiusProject/audius-protocol into jd/harmony-text-input JD Francis [785a815] [PAY-2060] Fix wrong challenge claimed so far amounts (#6398) Reed [75d0866] [PAY-2038] Catch errors creating stripe session and cancel purchase (#6401) Randy Schott [7e55bce] [C-3238] Enable harmony themes in web and storybook (#6388) Andrew Mendelsohn [c2f7545] update helper text to ReactNode JD Francis [e81e86f] [C-3152] Fix remove artwork (#6392) Dylan Jeffers [3b2c93b] Bump version to 0.4.37 audius-infra [8c2d9a0] Add missing GH context to deploy msg job (#6396) Theo Ilie [daa8358] final PR feedback JD Francis [5560f61] [PROTO-1356] Tear down containers following self-hosted test (#6397) Danny [451fd66] [PAY-2036] Reduce spam from websocket errors (#6395) Randy Schott [0e66586] Bump version to 0.4.36 audius-infra [76eb3fa] [PROTO-1356] Use self-hosted gcp runners for circleci (#6393) Danny [e125a8e] [PROTO-1539] Automate audius-docker-compose deploys (#6391) Theo Ilie [f38a5be] [INF-453] Remove npm link (#6394) Sebastian Klingler [f850434] mediorum: scroll upload by created_at (#6385) Steve Perkins [5be4007] Bump version to 0.4.35 audius-infra [e246162] [C-3239] Fix accidental unset of required prop in upload form (#6390) Randy Schott [b1d818b] Make web build and dist non-persistent (#6389) Sebastian Klingler [492a51a] [INF-484] Remove postinstall builds (#6381) Sebastian Klingler [8387f1b] Automate bundle install in postinstall script (#6387) Sebastian Klingler [699d329] [C-3230] Improve mobile feature-flag icon (#6384) Dylan Jeffers [e9b5d0f] [PAY-2027] Implement new challenge badge for audio matching challenges (#6386) Randy Schott [df9384b] [INF=-458] Upgrade cocoapods to 1.13.0 (#6383) Sebastian Klingler [16c10e3] [C-3169] Make mac app universal (#6373) Dylan Jeffers [9a1b3b0] [C-2769] Migrate from altool to notarytool (#6372) Dylan Jeffers [312717d] [C-3215] Fix transaction table error (#6371) Dylan Jeffers [f4b4867] fix type error JD Francis [7100708] [PAY-1985] Implement now playing previews (#6380) Raymond Jacobson [be95d6e] clean up some tokens JD Francis [96aa772] [PAY-2035] Only claim challenges past cooldown period (#6378) Reed [f5e6f36] Merge branch 'main' of github.com:AudiusProject/audius-protocol into jd/harmony-text-input JD Francis [eff06a3] add ids for labels, tweak css, add comments, fix centering, fix disabled state JD Francis [7d01e1e] Bump version to 0.4.34 audius-infra [8cc5a64] [PAY-2009] Challenge cooldown UI (#6363) Reed [5debe03] [C-3232] Change tertiary button usages to secondary (#6376) Andrew Mendelsohn [d4043b2] [PAY-1990] Fix premium to public edit bug (#6370) Saliou Diallo [d221808] Merge branch 'main' of github.com:AudiusProject/audius-protocol into jd/harmony-text-input JD Francis [945ae96] lots of PR and design feedback JD Francis [c461087] [C-3217] Add chromatic to harmony and run in CI (#6357) Andrew Mendelsohn [d75360d] [PROTO-1349] Build healthz in discovery workflow to ensure staging availability (#6368) Danny [38c324e] [PAY-1973] Fix Android crash and buy button text for purchase flow (#6369) Randy Schott [b697b1e] [C-3045] Improve Table render and layout (#6358) Dylan Jeffers [e4b5bf3] [C-3101] Fix table action hover state (#6359) Dylan Jeffers [9e11abd] [C-3216] Add react-slot, implement asChild for drag/drop (#6353) Dylan Jeffers [c1624b6] [PAY-1978] Read pay extra presets from remote config (#6366) Randy Schott [671931f] [PAY-1954] Fix display of $0 existing balance on web purchase form (#6367) Randy Schott [6e612a8] [PAY-1982] Add AudioMatchSection in premium purchase modal/drawer (#6364) Raymond Jacobson [a4166ab] [PAY-1882] Update landing page (#6351) Saliou Diallo [741a0a6] Revert "Revert "[INF-498] Leverage turborepo cache in docker builds i… (#6365) Sebastian Klingler [a4506e3] [PAY-1994] Finish audio matching challenge UI on mobile (#6355) Randy Schott [0d73cc6] Bump version to 0.4.33 audius-infra [e7073d0] PROTO-1261: trending rewards plugin QOL improvements (#6360) Alec Savvy [5162831] PROTO-1335: relay upload delay (#6281) Alec Savvy [3e28ebe] Delay foundation deploy by 1hr (#6347) Theo Ilie [e279afa] Remove gcp-cleanup job (#6356) Danny [60b8b2a] fix font size not working for helper text JD Francis [2d00892] Merge branch 'main' of github.com:AudiusProject/audius-protocol into jd/harmony-text-input JD Francis [344d4f9] make aria label required + fix assistive text size JD Francis [4f15758] [PROTO-1349] Continuous deployment for healthz (#6350) Danny [efe94f5] [PAY-1993] Order challenges by claimable amt (#6348) Raymond Jacobson [14dd710] fix placeholder font + make labels required JD Francis [c3de6b6] Tune celery worker concurrency (#6352) Isaac Solo [6a4236b] [PROTO-1329] Disable DLC (#6349) Danny [541424c] Bump version to 0.4.32 audius-infra [4b1a4c6] Dedicated queue for ACDC indexing (#6277) Isaac Solo [1177a60] minor tweaks JD Francis [a55cf3a] Add TextInput to Harmony based off of InputV2 JD Francis
[skip ci] ## Changelog - 2024-02-29 [b9c440e] Test pt 3 [sliptype] - 2024-02-28 [63494e0] Use turbo to build sdk in release workflow [sliptype] - 2024-02-22 [21f5d8e] [DVRL-10] Ensure history uses track activity model (#7678) [Raymond Jacobson] - 2024-02-21 [fc4ead6]⚠️ [PAY-2421] Upload stems in parallel (#7644) [Marcus Pasell] - 2024-02-21 [0c37ede] Revert "PROTO-1574: sepolia config and register all nodes" (#7667) [alecsavvy] - 2024-02-21 [51cdfd6] [DVRL-10] Add auth middleware sdk changes for history (#7663) [Raymond Jacobson] - 2024-02-21 [01563db] v1.5.67 [audius-infra] - 2024-02-20 [eaacf44] [PROTO-1667] Add DDEX sessions and admin+artist auth (#7645) [Theo Ilie] - 2024-02-20 [04bb965] PROTO-1574: sepolia config and register all nodes (#7648) [alecsavvy] - 2024-02-15 [fa33251] Add priority fee ixs to purchase txs (#7613) [Reed] - 2024-02-14 [23edd81]⚠️ [ONC-19] Error on failed gas estimation (#7569) [Raymond Jacobson] - 2024-02-14 [a22dc7a] rework relay selection (#7539) [alecsavvy] - 2024-02-10 [8ecf162] v1.5.66 [audius-infra] - 2024-02-09 [d924e3d] [PAY-2464] Add access to purchases + sales endpoints (#7526) [Reed] - 2024-02-08 [85194b5] force reselection on relay 500s (#7529) [alecsavvy] - 2024-02-08 [328e805] [PAY-2450][PAY-2451] Purchase indexing uses access from memo (#7510) [Reed] - 2024-02-07 [4b39b68]⚠️ [PAY-2387][PAY-2385] Web/Mobile Web: Change Email and Change Password (#7352) [Marcus Pasell] - 2024-02-05 [e513ff3] [PAY-2329] Use download_conditions in purchase flow (#7385) [Reed] - 2024-02-03 [42966c1] v1.5.65 [audius-infra] - 2024-02-02 [4140f4c] [PAY-2448] Exclude system USDC transactions by default (#7429) [Randy Schott] - 2024-02-01 [ba35a42] [PAY-2373][PAY-2406][PAY-2374] Support file sizes for stems / downloads (#7421) [Raymond Jacobson] - 2024-01-31 [3c898a8] Unbundle @audius/common (#7379) [Dylan Jeffers] - 2024-01-27 [6da6f9a] v1.5.64 [audius-infra] - 2024-01-24 [7b53f91]⚠️ [INF-547] SSR Track Page (#7213) [Sebastian Klingler] - 2024-01-23 [439f10b] Add ChallengesApi, RewardManager to SDK (#7026) [Marcus Pasell] - 2024-01-23 [17f3a6c] [Web][Libs] QA for Link Audius Profile to Dashboard Wallet feature [C-3683] [C-3686] (#7283) [nicoback2] - 2024-01-20 [6a332ac] v1.5.63 [audius-infra] - 2024-01-19 [1599367] [PROTO-1598] Use tRPC in ddex (#7150) [Theo Ilie] - 2024-01-18 [2a15a64] v1.5.62 (#7243) [Dylan Jeffers] - 2024-01-17 [c3c2148] [Web] [Libs] Disconnect dashboard wallet - web and SDK changes (#7209) [nicoback2] - 2024-01-16 [ab1d3e9] Add USDC gated downloads flow (#6899) [Saliou Diallo] - 2024-01-14 [8d031a4] [PROTO-1599] Add OTP support (#7193) [Raymond Jacobson] - 2024-01-13 [39448b8] v1.5.61 [audius-infra] - 2024-01-12 [6e2927a] repairEntityManagerUserV2 (#7189) [Marcus Pasell] - 2024-01-12 [2b5cc0e] v1.5.60 (#7187) [Raymond Jacobson] - 2024-01-12 [a021a74] [Web][SDK] Send EM transaction from Audius client for connect wallet feature (previously reviewed) (#7186) [nicoback2] - 2024-01-12 [c8efc84] [Discovery] Allow `wallet_signature` message in CreateDashboardWalletUser tx metadata to contain user handle (#7173) [nicoback2] - 2024-01-12 [60652a0] Fix top_listeners restx schema (#7157) [Steve Perkins] - 2024-01-11 [a0a5c01] rest endpoint for track top_listeners (#7139) [Steve Perkins] - 2024-01-09 [274bc9c] Support creating dashboard wallet user in SDK (#7106) [nicoback2] - 2024-01-06 [b9f0b43] v1.5.59 [audius-infra] - 2024-01-02 [7928e12] Improve sdk track upload logs (#7007) [Sebastian Klingler] - 2023-12-30 [8ae982c] v1.5.58 [audius-infra] - 2023-12-29 [8300ad0] [C-3550] Upgrade react native to 0.73.1 (#7042) [Dylan Jeffers] - 2023-12-29 [116a19a] [SDK] Fix validate ETH address util (#7043) [nicoback2] - 2023-12-28 [8c1e557] Reland "Add Solana Support to SDK with sdk.users.sendTip() (#6891)" (#7025) [Marcus Pasell] - 2023-12-28 [858da9f] [SDK] Export DashboardWalletUsersAPI + types in SDK index file, add missing param (#7039) [nicoback2] - 2023-12-28 [a2d87ca] [SDK] Have DashboardWalletUsers extend generated dashboard wallet users API (#7033) [nicoback2] - 2023-12-27 [ad3f877] [C-3547] Upgrade eslint, typescript, and prettier (#7036) [Dylan Jeffers] - 2023-12-27 [dea3dfb] Run comms locally via audius-compose (#7028) [Marcus Pasell] - 2023-12-26 [44b99b6] Re-gen SDK for DashboardWalletUsers APIs (#7027) [nicoback2] - 2023-12-23 [daa5a9b] v1.5.57 [audius-infra] - 2023-12-22 [179ba8a] [SDK] Add dashboard wallet users API to SDK [C-3530] (#6971) [nicoback2] - 2023-12-21 [a002560] Fix sdk Storage retry logic (#7006) [Sebastian Klingler] - 2023-12-21 [500f9a7] Publish sdk and fix publish flow (#6995) [Sebastian Klingler] - 2023-12-20 [9eefe64] Revert "Add Solana Support to SDK with sdk.users.sendTip() (#6891)" (#7002) [Marcus Pasell] - 2023-12-20 [a542274] Add Solana Support to SDK with sdk.users.sendTip() (#6891) [Marcus Pasell] - 2023-12-19 [8967859] Fix sdk write w/ vite and fix npm publish (#6986) [Sebastian Klingler] - 2023-12-16 [7bb95df] v1.5.56 [audius-infra] - 2023-12-15 [7a8d979] Use retry logic for coinflow (#6957) [Marcus Pasell] - 2023-12-13 [b18a138] rm does_follow_current_user from API response (#6836) [Steve Perkins] - 2023-12-11 [7929dd0] [PAY-2128] Implement general coinflow scaffolding (#6847) [Raymond Jacobson] - 2023-12-11 [ab24471] Add memo for purchaser user id (#6846) [Reed] - 2023-12-09 [7e1dbfc] v1.5.55 [audius-infra] - 2023-12-08 [976b787] [PAY-2221] Purchase content through payment router (#6880) [Reed] - 2023-12-07 [f9de2f3] [INF-557] Convert libs to esm so vite HMR works (#6882) [Sebastian Klingler] - 2023-12-05 [9946c48] Payment router instructions in @audius/spl (#6862) [Reed] - 2023-12-05 [cd431cb] Fix typo in libs solana decimals constants (#6863) [Reed] - 2023-12-02 [f3398f6] v1.5.54 [audius-infra] - 2023-11-28 [00b0d25] Add Solana Relay to Discovery (#6782) [Marcus Pasell] - 2023-11-25 [e794c14] v1.5.53 [audius-infra] - 2023-11-20 [db88ed2] Fix electron w/ vite (#6747) [Sebastian Klingler] - 2023-11-18 [32514e5] v1.5.52 [audius-infra] - 2023-11-11 [d4d13e6] v1.5.51 [audius-infra] - 2023-11-09 [62de2d4] Update default RPCs (#6639) [Raymond Jacobson] - 2023-11-06 [fd12b98] [PAY-2091] Update aao error emojis and libs mapped error (#6593) [Saliou Diallo] - 2023-11-06 [6c473bb]⚠️ [INF-507] Migrate from CRA to Vite (#6567) [Sebastian Klingler] - 2023-11-04 [41a3c27] v1.5.50 [audius-infra] - 2023-10-28 [f5cf244] v1.5.48 [audius-infra] - 2023-10-26 [76b14ce] [PAY-2041] Connect stripe session creation errors to analytics (#6465) [Randy Schott] - 2023-10-25 [3a176a2] Add fallbacks to SDK upload (#5970) [Theo Ilie] - 2023-10-21 [5c4aba5] v1.5.47 [audius-infra] - 2023-10-19 [785a815] [PAY-2060] Fix wrong challenge claimed so far amounts (#6398) [Reed] - 2023-10-18 [492a51a] [INF-484] Remove postinstall builds (#6381) [Sebastian Klingler] - 2023-10-17 [8cc5a64] [PAY-2009] Challenge cooldown UI (#6363) [Reed] - 2023-10-17 [741a0a6] Revert "Revert "[INF-498] Leverage turborepo cache in docker builds i… (#6365) [Sebastian Klingler] - 2023-10-16 [5162831] PROTO-1335: relay upload delay (#6281) [Alec Savvy] - 2023-10-14 [11fd490] v1.5.46 [audius-infra] - 2023-10-13 [5781951] [PAY-1886] Challenge cooldown: created_at migration + backend updates (#6326) [Reed] - 2023-10-12 [d133591] Fix audio balance error C-3207 C-3208 (#6317) [nicoback2] - 2023-10-12 [a384b2f] Revert "[INF-498] Leverage turborepo cache in docker builds in CI (#6… (#6320) [Isaac Solo] - 2023-10-11 [efd5ba7] [INF-498] Leverage turborepo cache in docker builds in CI (#6293) [Sebastian Klingler] - 2023-10-07 [7c00f48] v1.5.45 [audius-infra] - 2023-10-05 [faa348d] @audius/sdk: v3.0.11-beta.21 [audius-infra]
[skip ci] ## Changelog - 2024-02-29 [b9c440e] Test pt 3 [sliptype] - 2024-02-28 [63494e0] Use turbo to build sdk in release workflow [sliptype] - 2024-02-22 [21f5d8e] [DVRL-10] Ensure history uses track activity model (#7678) [Raymond Jacobson] - 2024-02-21 [fc4ead6]⚠️ [PAY-2421] Upload stems in parallel (#7644) [Marcus Pasell] - 2024-02-21 [0c37ede] Revert "PROTO-1574: sepolia config and register all nodes" (#7667) [alecsavvy] - 2024-02-21 [51cdfd6] [DVRL-10] Add auth middleware sdk changes for history (#7663) [Raymond Jacobson] - 2024-02-21 [01563db] v1.5.67 [audius-infra] - 2024-02-20 [eaacf44] [PROTO-1667] Add DDEX sessions and admin+artist auth (#7645) [Theo Ilie] - 2024-02-20 [04bb965] PROTO-1574: sepolia config and register all nodes (#7648) [alecsavvy] - 2024-02-15 [fa33251] Add priority fee ixs to purchase txs (#7613) [Reed] - 2024-02-14 [23edd81]⚠️ [ONC-19] Error on failed gas estimation (#7569) [Raymond Jacobson] - 2024-02-14 [a22dc7a] rework relay selection (#7539) [alecsavvy] - 2024-02-10 [8ecf162] v1.5.66 [audius-infra] - 2024-02-09 [d924e3d] [PAY-2464] Add access to purchases + sales endpoints (#7526) [Reed] - 2024-02-08 [85194b5] force reselection on relay 500s (#7529) [alecsavvy] - 2024-02-08 [328e805] [PAY-2450][PAY-2451] Purchase indexing uses access from memo (#7510) [Reed] - 2024-02-07 [4b39b68]⚠️ [PAY-2387][PAY-2385] Web/Mobile Web: Change Email and Change Password (#7352) [Marcus Pasell] - 2024-02-05 [e513ff3] [PAY-2329] Use download_conditions in purchase flow (#7385) [Reed] - 2024-02-03 [42966c1] v1.5.65 [audius-infra] - 2024-02-02 [4140f4c] [PAY-2448] Exclude system USDC transactions by default (#7429) [Randy Schott] - 2024-02-01 [ba35a42] [PAY-2373][PAY-2406][PAY-2374] Support file sizes for stems / downloads (#7421) [Raymond Jacobson] - 2024-01-31 [3c898a8] Unbundle @audius/common (#7379) [Dylan Jeffers] - 2024-01-27 [6da6f9a] v1.5.64 [audius-infra] - 2024-01-24 [7b53f91]⚠️ [INF-547] SSR Track Page (#7213) [Sebastian Klingler] - 2024-01-23 [439f10b] Add ChallengesApi, RewardManager to SDK (#7026) [Marcus Pasell] - 2024-01-23 [17f3a6c] [Web][Libs] QA for Link Audius Profile to Dashboard Wallet feature [C-3683] [C-3686] (#7283) [nicoback2] - 2024-01-20 [6a332ac] v1.5.63 [audius-infra] - 2024-01-19 [1599367] [PROTO-1598] Use tRPC in ddex (#7150) [Theo Ilie] - 2024-01-18 [2a15a64] v1.5.62 (#7243) [Dylan Jeffers] - 2024-01-17 [c3c2148] [Web] [Libs] Disconnect dashboard wallet - web and SDK changes (#7209) [nicoback2] - 2024-01-16 [ab1d3e9] Add USDC gated downloads flow (#6899) [Saliou Diallo] - 2024-01-14 [8d031a4] [PROTO-1599] Add OTP support (#7193) [Raymond Jacobson] - 2024-01-13 [39448b8] v1.5.61 [audius-infra] - 2024-01-12 [6e2927a] repairEntityManagerUserV2 (#7189) [Marcus Pasell] - 2024-01-12 [2b5cc0e] v1.5.60 (#7187) [Raymond Jacobson] - 2024-01-12 [a021a74] [Web][SDK] Send EM transaction from Audius client for connect wallet feature (previously reviewed) (#7186) [nicoback2] - 2024-01-12 [c8efc84] [Discovery] Allow `wallet_signature` message in CreateDashboardWalletUser tx metadata to contain user handle (#7173) [nicoback2] - 2024-01-12 [60652a0] Fix top_listeners restx schema (#7157) [Steve Perkins] - 2024-01-11 [a0a5c01] rest endpoint for track top_listeners (#7139) [Steve Perkins] - 2024-01-09 [274bc9c] Support creating dashboard wallet user in SDK (#7106) [nicoback2] - 2024-01-06 [b9f0b43] v1.5.59 [audius-infra] - 2024-01-02 [7928e12] Improve sdk track upload logs (#7007) [Sebastian Klingler] - 2023-12-30 [8ae982c] v1.5.58 [audius-infra] - 2023-12-29 [8300ad0] [C-3550] Upgrade react native to 0.73.1 (#7042) [Dylan Jeffers] - 2023-12-29 [116a19a] [SDK] Fix validate ETH address util (#7043) [nicoback2] - 2023-12-28 [8c1e557] Reland "Add Solana Support to SDK with sdk.users.sendTip() (#6891)" (#7025) [Marcus Pasell] - 2023-12-28 [858da9f] [SDK] Export DashboardWalletUsersAPI + types in SDK index file, add missing param (#7039) [nicoback2] - 2023-12-28 [a2d87ca] [SDK] Have DashboardWalletUsers extend generated dashboard wallet users API (#7033) [nicoback2] - 2023-12-27 [ad3f877] [C-3547] Upgrade eslint, typescript, and prettier (#7036) [Dylan Jeffers] - 2023-12-27 [dea3dfb] Run comms locally via audius-compose (#7028) [Marcus Pasell] - 2023-12-26 [44b99b6] Re-gen SDK for DashboardWalletUsers APIs (#7027) [nicoback2] - 2023-12-23 [daa5a9b] v1.5.57 [audius-infra] - 2023-12-22 [179ba8a] [SDK] Add dashboard wallet users API to SDK [C-3530] (#6971) [nicoback2] - 2023-12-21 [a002560] Fix sdk Storage retry logic (#7006) [Sebastian Klingler] - 2023-12-21 [500f9a7] Publish sdk and fix publish flow (#6995) [Sebastian Klingler] - 2023-12-20 [9eefe64] Revert "Add Solana Support to SDK with sdk.users.sendTip() (#6891)" (#7002) [Marcus Pasell] - 2023-12-20 [a542274] Add Solana Support to SDK with sdk.users.sendTip() (#6891) [Marcus Pasell] - 2023-12-19 [8967859] Fix sdk write w/ vite and fix npm publish (#6986) [Sebastian Klingler] - 2023-12-16 [7bb95df] v1.5.56 [audius-infra] - 2023-12-15 [7a8d979] Use retry logic for coinflow (#6957) [Marcus Pasell] - 2023-12-13 [b18a138] rm does_follow_current_user from API response (#6836) [Steve Perkins] - 2023-12-11 [7929dd0] [PAY-2128] Implement general coinflow scaffolding (#6847) [Raymond Jacobson] - 2023-12-11 [ab24471] Add memo for purchaser user id (#6846) [Reed] - 2023-12-09 [7e1dbfc] v1.5.55 [audius-infra] - 2023-12-08 [976b787] [PAY-2221] Purchase content through payment router (#6880) [Reed] - 2023-12-07 [f9de2f3] [INF-557] Convert libs to esm so vite HMR works (#6882) [Sebastian Klingler] - 2023-12-05 [9946c48] Payment router instructions in @audius/spl (#6862) [Reed] - 2023-12-05 [cd431cb] Fix typo in libs solana decimals constants (#6863) [Reed] - 2023-12-02 [f3398f6] v1.5.54 [audius-infra] - 2023-11-28 [00b0d25] Add Solana Relay to Discovery (#6782) [Marcus Pasell] - 2023-11-25 [e794c14] v1.5.53 [audius-infra] - 2023-11-20 [db88ed2] Fix electron w/ vite (#6747) [Sebastian Klingler] - 2023-11-18 [32514e5] v1.5.52 [audius-infra] - 2023-11-11 [d4d13e6] v1.5.51 [audius-infra] - 2023-11-09 [62de2d4] Update default RPCs (#6639) [Raymond Jacobson] - 2023-11-06 [fd12b98] [PAY-2091] Update aao error emojis and libs mapped error (#6593) [Saliou Diallo] - 2023-11-06 [6c473bb]⚠️ [INF-507] Migrate from CRA to Vite (#6567) [Sebastian Klingler] - 2023-11-04 [41a3c27] v1.5.50 [audius-infra] - 2023-10-28 [f5cf244] v1.5.48 [audius-infra] - 2023-10-26 [76b14ce] [PAY-2041] Connect stripe session creation errors to analytics (#6465) [Randy Schott] - 2023-10-25 [3a176a2] Add fallbacks to SDK upload (#5970) [Theo Ilie] - 2023-10-21 [5c4aba5] v1.5.47 [audius-infra] - 2023-10-19 [785a815] [PAY-2060] Fix wrong challenge claimed so far amounts (#6398) [Reed] - 2023-10-18 [492a51a] [INF-484] Remove postinstall builds (#6381) [Sebastian Klingler] - 2023-10-17 [8cc5a64] [PAY-2009] Challenge cooldown UI (#6363) [Reed] - 2023-10-17 [741a0a6] Revert "Revert "[INF-498] Leverage turborepo cache in docker builds i… (#6365) [Sebastian Klingler] - 2023-10-16 [5162831] PROTO-1335: relay upload delay (#6281) [Alec Savvy] - 2023-10-14 [11fd490] v1.5.46 [audius-infra] - 2023-10-13 [5781951] [PAY-1886] Challenge cooldown: created_at migration + backend updates (#6326) [Reed] - 2023-10-12 [d133591] Fix audio balance error C-3207 C-3208 (#6317) [nicoback2] - 2023-10-12 [a384b2f] Revert "[INF-498] Leverage turborepo cache in docker builds in CI (#6… (#6320) [Isaac Solo] - 2023-10-11 [efd5ba7] [INF-498] Leverage turborepo cache in docker builds in CI (#6293) [Sebastian Klingler] - 2023-10-07 [7c00f48] v1.5.45 [audius-infra] - 2023-10-05 [faa348d] @audius/sdk: v3.0.11-beta.21 [audius-infra]
[skip ci] ## Changelog - 2024-02-29 [2738765] Use turbo for sdk release (#7748) [Sebastian Klingler] - 2024-02-28 [c2a9c46] Add ddex_app field for ddex tracks/playlists to discovery (#7734) [Michelle Brier] - 2024-02-26 [398db27] PROTO-1574: sepolia (#7698) [alecsavvy] - 2024-02-26 [beb054b] Remove all usage of PROTOCOL_DIR env var (#7714) [Danny] - 2024-02-24 [5452dcb] v1.5.68 [audius-infra] - 2024-02-22 [21f5d8e] [DVRL-10] Ensure history uses track activity model (#7678) [Raymond Jacobson] - 2024-02-21 [fc4ead6]⚠️ [PAY-2421] Upload stems in parallel (#7644) [Marcus Pasell] - 2024-02-21 [0c37ede] Revert "PROTO-1574: sepolia config and register all nodes" (#7667) [alecsavvy] - 2024-02-21 [51cdfd6] [DVRL-10] Add auth middleware sdk changes for history (#7663) [Raymond Jacobson] - 2024-02-21 [01563db] v1.5.67 [audius-infra] - 2024-02-20 [eaacf44] [PROTO-1667] Add DDEX sessions and admin+artist auth (#7645) [Theo Ilie] - 2024-02-20 [04bb965] PROTO-1574: sepolia config and register all nodes (#7648) [alecsavvy] - 2024-02-15 [fa33251] Add priority fee ixs to purchase txs (#7613) [Reed] - 2024-02-14 [23edd81]⚠️ [ONC-19] Error on failed gas estimation (#7569) [Raymond Jacobson] - 2024-02-14 [a22dc7a] rework relay selection (#7539) [alecsavvy] - 2024-02-10 [8ecf162] v1.5.66 [audius-infra] - 2024-02-09 [d924e3d] [PAY-2464] Add access to purchases + sales endpoints (#7526) [Reed] - 2024-02-08 [85194b5] force reselection on relay 500s (#7529) [alecsavvy] - 2024-02-08 [328e805] [PAY-2450][PAY-2451] Purchase indexing uses access from memo (#7510) [Reed] - 2024-02-07 [4b39b68]⚠️ [PAY-2387][PAY-2385] Web/Mobile Web: Change Email and Change Password (#7352) [Marcus Pasell] - 2024-02-05 [e513ff3] [PAY-2329] Use download_conditions in purchase flow (#7385) [Reed] - 2024-02-03 [42966c1] v1.5.65 [audius-infra] - 2024-02-02 [4140f4c] [PAY-2448] Exclude system USDC transactions by default (#7429) [Randy Schott] - 2024-02-01 [ba35a42] [PAY-2373][PAY-2406][PAY-2374] Support file sizes for stems / downloads (#7421) [Raymond Jacobson] - 2024-01-31 [3c898a8] Unbundle @audius/common (#7379) [Dylan Jeffers] - 2024-01-27 [6da6f9a] v1.5.64 [audius-infra] - 2024-01-24 [7b53f91]⚠️ [INF-547] SSR Track Page (#7213) [Sebastian Klingler] - 2024-01-23 [439f10b] Add ChallengesApi, RewardManager to SDK (#7026) [Marcus Pasell] - 2024-01-23 [17f3a6c] [Web][Libs] QA for Link Audius Profile to Dashboard Wallet feature [C-3683] [C-3686] (#7283) [nicoback2] - 2024-01-20 [6a332ac] v1.5.63 [audius-infra] - 2024-01-19 [1599367] [PROTO-1598] Use tRPC in ddex (#7150) [Theo Ilie] - 2024-01-18 [2a15a64] v1.5.62 (#7243) [Dylan Jeffers] - 2024-01-17 [c3c2148] [Web] [Libs] Disconnect dashboard wallet - web and SDK changes (#7209) [nicoback2] - 2024-01-16 [ab1d3e9] Add USDC gated downloads flow (#6899) [Saliou Diallo] - 2024-01-14 [8d031a4] [PROTO-1599] Add OTP support (#7193) [Raymond Jacobson] - 2024-01-13 [39448b8] v1.5.61 [audius-infra] - 2024-01-12 [6e2927a] repairEntityManagerUserV2 (#7189) [Marcus Pasell] - 2024-01-12 [2b5cc0e] v1.5.60 (#7187) [Raymond Jacobson] - 2024-01-12 [a021a74] [Web][SDK] Send EM transaction from Audius client for connect wallet feature (previously reviewed) (#7186) [nicoback2] - 2024-01-12 [c8efc84] [Discovery] Allow `wallet_signature` message in CreateDashboardWalletUser tx metadata to contain user handle (#7173) [nicoback2] - 2024-01-12 [60652a0] Fix top_listeners restx schema (#7157) [Steve Perkins] - 2024-01-11 [a0a5c01] rest endpoint for track top_listeners (#7139) [Steve Perkins] - 2024-01-09 [274bc9c] Support creating dashboard wallet user in SDK (#7106) [nicoback2] - 2024-01-06 [b9f0b43] v1.5.59 [audius-infra] - 2024-01-02 [7928e12] Improve sdk track upload logs (#7007) [Sebastian Klingler] - 2023-12-30 [8ae982c] v1.5.58 [audius-infra] - 2023-12-29 [8300ad0] [C-3550] Upgrade react native to 0.73.1 (#7042) [Dylan Jeffers] - 2023-12-29 [116a19a] [SDK] Fix validate ETH address util (#7043) [nicoback2] - 2023-12-28 [8c1e557] Reland "Add Solana Support to SDK with sdk.users.sendTip() (#6891)" (#7025) [Marcus Pasell] - 2023-12-28 [858da9f] [SDK] Export DashboardWalletUsersAPI + types in SDK index file, add missing param (#7039) [nicoback2] - 2023-12-28 [a2d87ca] [SDK] Have DashboardWalletUsers extend generated dashboard wallet users API (#7033) [nicoback2] - 2023-12-27 [ad3f877] [C-3547] Upgrade eslint, typescript, and prettier (#7036) [Dylan Jeffers] - 2023-12-27 [dea3dfb] Run comms locally via audius-compose (#7028) [Marcus Pasell] - 2023-12-26 [44b99b6] Re-gen SDK for DashboardWalletUsers APIs (#7027) [nicoback2] - 2023-12-23 [daa5a9b] v1.5.57 [audius-infra] - 2023-12-22 [179ba8a] [SDK] Add dashboard wallet users API to SDK [C-3530] (#6971) [nicoback2] - 2023-12-21 [a002560] Fix sdk Storage retry logic (#7006) [Sebastian Klingler] - 2023-12-21 [500f9a7] Publish sdk and fix publish flow (#6995) [Sebastian Klingler] - 2023-12-20 [9eefe64] Revert "Add Solana Support to SDK with sdk.users.sendTip() (#6891)" (#7002) [Marcus Pasell] - 2023-12-20 [a542274] Add Solana Support to SDK with sdk.users.sendTip() (#6891) [Marcus Pasell] - 2023-12-19 [8967859] Fix sdk write w/ vite and fix npm publish (#6986) [Sebastian Klingler] - 2023-12-16 [7bb95df] v1.5.56 [audius-infra] - 2023-12-15 [7a8d979] Use retry logic for coinflow (#6957) [Marcus Pasell] - 2023-12-13 [b18a138] rm does_follow_current_user from API response (#6836) [Steve Perkins] - 2023-12-11 [7929dd0] [PAY-2128] Implement general coinflow scaffolding (#6847) [Raymond Jacobson] - 2023-12-11 [ab24471] Add memo for purchaser user id (#6846) [Reed] - 2023-12-09 [7e1dbfc] v1.5.55 [audius-infra] - 2023-12-08 [976b787] [PAY-2221] Purchase content through payment router (#6880) [Reed] - 2023-12-07 [f9de2f3] [INF-557] Convert libs to esm so vite HMR works (#6882) [Sebastian Klingler] - 2023-12-05 [9946c48] Payment router instructions in @audius/spl (#6862) [Reed] - 2023-12-05 [cd431cb] Fix typo in libs solana decimals constants (#6863) [Reed] - 2023-12-02 [f3398f6] v1.5.54 [audius-infra] - 2023-11-28 [00b0d25] Add Solana Relay to Discovery (#6782) [Marcus Pasell] - 2023-11-25 [e794c14] v1.5.53 [audius-infra] - 2023-11-20 [db88ed2] Fix electron w/ vite (#6747) [Sebastian Klingler] - 2023-11-18 [32514e5] v1.5.52 [audius-infra] - 2023-11-11 [d4d13e6] v1.5.51 [audius-infra] - 2023-11-09 [62de2d4] Update default RPCs (#6639) [Raymond Jacobson] - 2023-11-06 [fd12b98] [PAY-2091] Update aao error emojis and libs mapped error (#6593) [Saliou Diallo] - 2023-11-06 [6c473bb]⚠️ [INF-507] Migrate from CRA to Vite (#6567) [Sebastian Klingler] - 2023-11-04 [41a3c27] v1.5.50 [audius-infra] - 2023-10-28 [f5cf244] v1.5.48 [audius-infra] - 2023-10-26 [76b14ce] [PAY-2041] Connect stripe session creation errors to analytics (#6465) [Randy Schott] - 2023-10-25 [3a176a2] Add fallbacks to SDK upload (#5970) [Theo Ilie] - 2023-10-21 [5c4aba5] v1.5.47 [audius-infra] - 2023-10-19 [785a815] [PAY-2060] Fix wrong challenge claimed so far amounts (#6398) [Reed] - 2023-10-18 [492a51a] [INF-484] Remove postinstall builds (#6381) [Sebastian Klingler] - 2023-10-17 [8cc5a64] [PAY-2009] Challenge cooldown UI (#6363) [Reed] - 2023-10-17 [741a0a6] Revert "Revert "[INF-498] Leverage turborepo cache in docker builds i… (#6365) [Sebastian Klingler] - 2023-10-16 [5162831] PROTO-1335: relay upload delay (#6281) [Alec Savvy] - 2023-10-14 [11fd490] v1.5.46 [audius-infra] - 2023-10-13 [5781951] [PAY-1886] Challenge cooldown: created_at migration + backend updates (#6326) [Reed] - 2023-10-12 [d133591] Fix audio balance error C-3207 C-3208 (#6317) [nicoback2] - 2023-10-12 [a384b2f] Revert "[INF-498] Leverage turborepo cache in docker builds in CI (#6… (#6320) [Isaac Solo] - 2023-10-11 [efd5ba7] [INF-498] Leverage turborepo cache in docker builds in CI (#6293) [Sebastian Klingler] - 2023-10-07 [7c00f48] v1.5.45 [audius-infra] - 2023-10-05 [faa348d] @audius/sdk: v3.0.11-beta.21 [audius-infra]
[skip ci] ## Changelog - 2024-02-29 [2738765] Use turbo for sdk release (#7748) [Sebastian Klingler] - 2024-02-28 [c2a9c46] Add ddex_app field for ddex tracks/playlists to discovery (#7734) [Michelle Brier] - 2024-02-26 [398db27] PROTO-1574: sepolia (#7698) [alecsavvy] - 2024-02-26 [beb054b] Remove all usage of PROTOCOL_DIR env var (#7714) [Danny] - 2024-02-24 [5452dcb] v1.5.68 [audius-infra] - 2024-02-22 [21f5d8e] [DVRL-10] Ensure history uses track activity model (#7678) [Raymond Jacobson] - 2024-02-21 [fc4ead6]⚠️ [PAY-2421] Upload stems in parallel (#7644) [Marcus Pasell] - 2024-02-21 [0c37ede] Revert "PROTO-1574: sepolia config and register all nodes" (#7667) [alecsavvy] - 2024-02-21 [51cdfd6] [DVRL-10] Add auth middleware sdk changes for history (#7663) [Raymond Jacobson] - 2024-02-21 [01563db] v1.5.67 [audius-infra] - 2024-02-20 [eaacf44] [PROTO-1667] Add DDEX sessions and admin+artist auth (#7645) [Theo Ilie] - 2024-02-20 [04bb965] PROTO-1574: sepolia config and register all nodes (#7648) [alecsavvy] - 2024-02-15 [fa33251] Add priority fee ixs to purchase txs (#7613) [Reed] - 2024-02-14 [23edd81]⚠️ [ONC-19] Error on failed gas estimation (#7569) [Raymond Jacobson] - 2024-02-14 [a22dc7a] rework relay selection (#7539) [alecsavvy] - 2024-02-10 [8ecf162] v1.5.66 [audius-infra] - 2024-02-09 [d924e3d] [PAY-2464] Add access to purchases + sales endpoints (#7526) [Reed] - 2024-02-08 [85194b5] force reselection on relay 500s (#7529) [alecsavvy] - 2024-02-08 [328e805] [PAY-2450][PAY-2451] Purchase indexing uses access from memo (#7510) [Reed] - 2024-02-07 [4b39b68]⚠️ [PAY-2387][PAY-2385] Web/Mobile Web: Change Email and Change Password (#7352) [Marcus Pasell] - 2024-02-05 [e513ff3] [PAY-2329] Use download_conditions in purchase flow (#7385) [Reed] - 2024-02-03 [42966c1] v1.5.65 [audius-infra] - 2024-02-02 [4140f4c] [PAY-2448] Exclude system USDC transactions by default (#7429) [Randy Schott] - 2024-02-01 [ba35a42] [PAY-2373][PAY-2406][PAY-2374] Support file sizes for stems / downloads (#7421) [Raymond Jacobson] - 2024-01-31 [3c898a8] Unbundle @audius/common (#7379) [Dylan Jeffers] - 2024-01-27 [6da6f9a] v1.5.64 [audius-infra] - 2024-01-24 [7b53f91]⚠️ [INF-547] SSR Track Page (#7213) [Sebastian Klingler] - 2024-01-23 [439f10b] Add ChallengesApi, RewardManager to SDK (#7026) [Marcus Pasell] - 2024-01-23 [17f3a6c] [Web][Libs] QA for Link Audius Profile to Dashboard Wallet feature [C-3683] [C-3686] (#7283) [nicoback2] - 2024-01-20 [6a332ac] v1.5.63 [audius-infra] - 2024-01-19 [1599367] [PROTO-1598] Use tRPC in ddex (#7150) [Theo Ilie] - 2024-01-18 [2a15a64] v1.5.62 (#7243) [Dylan Jeffers] - 2024-01-17 [c3c2148] [Web] [Libs] Disconnect dashboard wallet - web and SDK changes (#7209) [nicoback2] - 2024-01-16 [ab1d3e9] Add USDC gated downloads flow (#6899) [Saliou Diallo] - 2024-01-14 [8d031a4] [PROTO-1599] Add OTP support (#7193) [Raymond Jacobson] - 2024-01-13 [39448b8] v1.5.61 [audius-infra] - 2024-01-12 [6e2927a] repairEntityManagerUserV2 (#7189) [Marcus Pasell] - 2024-01-12 [2b5cc0e] v1.5.60 (#7187) [Raymond Jacobson] - 2024-01-12 [a021a74] [Web][SDK] Send EM transaction from Audius client for connect wallet feature (previously reviewed) (#7186) [nicoback2] - 2024-01-12 [c8efc84] [Discovery] Allow `wallet_signature` message in CreateDashboardWalletUser tx metadata to contain user handle (#7173) [nicoback2] - 2024-01-12 [60652a0] Fix top_listeners restx schema (#7157) [Steve Perkins] - 2024-01-11 [a0a5c01] rest endpoint for track top_listeners (#7139) [Steve Perkins] - 2024-01-09 [274bc9c] Support creating dashboard wallet user in SDK (#7106) [nicoback2] - 2024-01-06 [b9f0b43] v1.5.59 [audius-infra] - 2024-01-02 [7928e12] Improve sdk track upload logs (#7007) [Sebastian Klingler] - 2023-12-30 [8ae982c] v1.5.58 [audius-infra] - 2023-12-29 [8300ad0] [C-3550] Upgrade react native to 0.73.1 (#7042) [Dylan Jeffers] - 2023-12-29 [116a19a] [SDK] Fix validate ETH address util (#7043) [nicoback2] - 2023-12-28 [8c1e557] Reland "Add Solana Support to SDK with sdk.users.sendTip() (#6891)" (#7025) [Marcus Pasell] - 2023-12-28 [858da9f] [SDK] Export DashboardWalletUsersAPI + types in SDK index file, add missing param (#7039) [nicoback2] - 2023-12-28 [a2d87ca] [SDK] Have DashboardWalletUsers extend generated dashboard wallet users API (#7033) [nicoback2] - 2023-12-27 [ad3f877] [C-3547] Upgrade eslint, typescript, and prettier (#7036) [Dylan Jeffers] - 2023-12-27 [dea3dfb] Run comms locally via audius-compose (#7028) [Marcus Pasell] - 2023-12-26 [44b99b6] Re-gen SDK for DashboardWalletUsers APIs (#7027) [nicoback2] - 2023-12-23 [daa5a9b] v1.5.57 [audius-infra] - 2023-12-22 [179ba8a] [SDK] Add dashboard wallet users API to SDK [C-3530] (#6971) [nicoback2] - 2023-12-21 [a002560] Fix sdk Storage retry logic (#7006) [Sebastian Klingler] - 2023-12-21 [500f9a7] Publish sdk and fix publish flow (#6995) [Sebastian Klingler] - 2023-12-20 [9eefe64] Revert "Add Solana Support to SDK with sdk.users.sendTip() (#6891)" (#7002) [Marcus Pasell] - 2023-12-20 [a542274] Add Solana Support to SDK with sdk.users.sendTip() (#6891) [Marcus Pasell] - 2023-12-19 [8967859] Fix sdk write w/ vite and fix npm publish (#6986) [Sebastian Klingler] - 2023-12-16 [7bb95df] v1.5.56 [audius-infra] - 2023-12-15 [7a8d979] Use retry logic for coinflow (#6957) [Marcus Pasell] - 2023-12-13 [b18a138] rm does_follow_current_user from API response (#6836) [Steve Perkins] - 2023-12-11 [7929dd0] [PAY-2128] Implement general coinflow scaffolding (#6847) [Raymond Jacobson] - 2023-12-11 [ab24471] Add memo for purchaser user id (#6846) [Reed] - 2023-12-09 [7e1dbfc] v1.5.55 [audius-infra] - 2023-12-08 [976b787] [PAY-2221] Purchase content through payment router (#6880) [Reed] - 2023-12-07 [f9de2f3] [INF-557] Convert libs to esm so vite HMR works (#6882) [Sebastian Klingler] - 2023-12-05 [9946c48] Payment router instructions in @audius/spl (#6862) [Reed] - 2023-12-05 [cd431cb] Fix typo in libs solana decimals constants (#6863) [Reed] - 2023-12-02 [f3398f6] v1.5.54 [audius-infra] - 2023-11-28 [00b0d25] Add Solana Relay to Discovery (#6782) [Marcus Pasell] - 2023-11-25 [e794c14] v1.5.53 [audius-infra] - 2023-11-20 [db88ed2] Fix electron w/ vite (#6747) [Sebastian Klingler] - 2023-11-18 [32514e5] v1.5.52 [audius-infra] - 2023-11-11 [d4d13e6] v1.5.51 [audius-infra] - 2023-11-09 [62de2d4] Update default RPCs (#6639) [Raymond Jacobson] - 2023-11-06 [fd12b98] [PAY-2091] Update aao error emojis and libs mapped error (#6593) [Saliou Diallo] - 2023-11-06 [6c473bb]⚠️ [INF-507] Migrate from CRA to Vite (#6567) [Sebastian Klingler] - 2023-11-04 [41a3c27] v1.5.50 [audius-infra] - 2023-10-28 [f5cf244] v1.5.48 [audius-infra] - 2023-10-26 [76b14ce] [PAY-2041] Connect stripe session creation errors to analytics (#6465) [Randy Schott] - 2023-10-25 [3a176a2] Add fallbacks to SDK upload (#5970) [Theo Ilie] - 2023-10-21 [5c4aba5] v1.5.47 [audius-infra] - 2023-10-19 [785a815] [PAY-2060] Fix wrong challenge claimed so far amounts (#6398) [Reed] - 2023-10-18 [492a51a] [INF-484] Remove postinstall builds (#6381) [Sebastian Klingler] - 2023-10-17 [8cc5a64] [PAY-2009] Challenge cooldown UI (#6363) [Reed] - 2023-10-17 [741a0a6] Revert "Revert "[INF-498] Leverage turborepo cache in docker builds i… (#6365) [Sebastian Klingler] - 2023-10-16 [5162831] PROTO-1335: relay upload delay (#6281) [Alec Savvy] - 2023-10-14 [11fd490] v1.5.46 [audius-infra] - 2023-10-13 [5781951] [PAY-1886] Challenge cooldown: created_at migration + backend updates (#6326) [Reed] - 2023-10-12 [d133591] Fix audio balance error C-3207 C-3208 (#6317) [nicoback2] - 2023-10-12 [a384b2f] Revert "[INF-498] Leverage turborepo cache in docker builds in CI (#6… (#6320) [Isaac Solo] - 2023-10-11 [efd5ba7] [INF-498] Leverage turborepo cache in docker builds in CI (#6293) [Sebastian Klingler] - 2023-10-07 [7c00f48] v1.5.45 [audius-infra] - 2023-10-05 [faa348d] @audius/sdk: v3.0.11-beta.21 [audius-infra]
Description
There appears to be a race condition when uploads happen where immediately querying for a track after the relay returns can result in a 404. This causes the upload state to hang in the "finalizing upload" status forever even though you can open a new tab and view the upload without issue. All things considered, the upload was a success.
This PR adds just a slight delay to the upload process to minimize the chances of this race condition. Considering that SDK has a lot of logic around what it should do on error responses, having custom code in the
post
oronError
middleware didn't seem correct. Open to comments here but figured those should remain generic and not contain custom instructions for uploads.A more robust way to solve this problem would be to not only verify if a block/transaction was confirmed but the operation was correctly indexed. I'm not as familiar with confirmer but this kind of change is maybe something better piloted in the relay plugin itself.
I figured adding 1-1.5 seconds to uploads is negligible in the grand scheme of the upload process with the gain of uploads not falsely hanging. The other gains is waiting here doesn't trigger a reselection in SDK should the response 404.
How Has This Been Tested?
Manually set
npm run web:prod
to discovery relay, reproed the issue, then was able to not repro after this change.