Skip to content

Improve error messages (duplicate artifacts; too many artifacts) - #1600

Merged
vmjoseph merged 10 commits into
mainfrom
vmjoseph/dup-artifact-names
Dec 11, 2023
Merged

Improve error messages (duplicate artifacts; too many artifacts)#1600
vmjoseph merged 10 commits into
mainfrom
vmjoseph/dup-artifact-names

Conversation

@vmjoseph

@vmjoseph vmjoseph commented Dec 8, 2023

Copy link
Copy Markdown
Contributor

Adds a few catches on vague errors:

  • 409s that are tied to Conflict errors (aka artifact cannot be uploaded due to duplicate name error) now displays a more user friendly message
  • 400s that are tied to InvalidArgument errors (aka too many artifacts for 1 job) now displays a more user friendly message

@vmjoseph vmjoseph changed the title cleaning up error messages Improve error messages (duplicate artifacts; too many artifacts) Dec 8, 2023
@vmjoseph
vmjoseph marked this pull request as ready for review December 8, 2023 19:49
@vmjoseph
vmjoseph requested a review from a team as a code owner December 8, 2023 19:49
Comment thread packages/artifact/src/internal/shared/artifact-twirp-client.ts Outdated

@bethanyj28 bethanyj28 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Wily96 Wily96 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread packages/artifact/src/internal/shared/artifact-twirp-client.ts Outdated
Comment thread packages/artifact/__tests__/artifact-http-client.test.ts Outdated

@robherley robherley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@vmjoseph
vmjoseph merged commit 950e171 into main Dec 11, 2023
@vmjoseph
vmjoseph deleted the vmjoseph/dup-artifact-names branch December 11, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants