fix(artifacts): clarify oversized request error

This commit is contained in:
Jinwoo-H
2026-08-31 16:23:15 -04:00
parent 245b997cd2
commit afbf4b40a2
3 changed files with 3 additions and 3 deletions
@@ -97,7 +97,7 @@ describe('artifact publish flow', () => {
await expect(publishArtifactFromSurface(createRequest)).resolves.toBeNull()
expect(mocks.callRuntimeRpc).not.toHaveBeenCalled()
expect(mocks.toastError).toHaveBeenCalledWith('Could not share artifact', {
description: 'Artifacts shared from Orca must be 5 MB or smaller.'
description: 'This artifact is too large to share.'
})
})
@@ -128,7 +128,7 @@ function artifactPreparationErrorDescription(code: ArtifactPublishPreparationErr
case 'too-large':
return translate(
'auto.components.artifacts.artifact-publish-flow.6112db5a1c',
'Artifacts shared from Orca must be 5 MB or smaller.'
'This artifact is too large to share.'
)
case 'unreadable':
return translate(
+1 -1
View File
@@ -16415,7 +16415,7 @@
"2fc727c831": "Artifact updated",
"5cb4f5ec36": "Copy link",
"fbb5018602": "This file is empty.",
"6112db5a1c": "Artifacts shared from Orca must be 5 MB or smaller.",
"6112db5a1c": "This artifact is too large to share.",
"e2ed5acd8c": "Orca couldn't read this file. Open it from a workspace and try again.",
"6d475e9b25": "Only local HTML and Markdown files can be shared as artifacts.",
"29a406be09": "Artifacts must contain text."