Repository navigation
Conversation
The archiver already returns failedReason, but the web modal and the mobile drawer discarded it and always showed "Something went wrong. Please check your connection and try again." That was wrong for most failures: a job that failed server-side, a job that timed out while possibly still running, and a failed start request are all unrelated to the user's network, and retrying the connection cannot fix them. Add getStemsArchiveErrorMessage to @audius/common and use it in both clients: - job failed with a reason: show the reason (whitespace collapsed, capped) - job failed without one: generic copy that does not assert a cause - polling timed out: say it may still be zipping, not that it failed - request to start or poll the job failed: retryable, not blamed on the network On mobile, a failure saving the finished zip to the device keeps connection and storage wording, since that one can really be the device or network. Fixes AudiusProject#14537 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xbmefij38Wdgfj7PgGjS8K
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The archiver already returns failedReason, but the web modal and the mobile drawer discarded it and always showed "Something went wrong. Please check your connection and try again." That was wrong for most failures: a job that failed server-side, a job that timed out while possibly still running, and a failed start request are all unrelated to the user's network, and retrying the connection cannot fix them.
Add getStemsArchiveErrorMessage to @audius/common and use it in both clients:
On mobile, a failure saving the finished zip to the device keeps connection and storage wording, since that one can really be the device or network.
Fixes #14537