Skip to content
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

feat: include container name in error message. Fixes #10007 #13790

Merged
merged 9 commits into from
Nov 5, 2024

Conversation

tooptoop4
Copy link
Contributor

Fixes #10007

@agilgur5 agilgur5 changed the title feat: include container name in error message Fixes #10007 feat: include container name in error message. Fixes #10007 Oct 19, 2024
@agilgur5 agilgur5 added the area/controller Controller issues, panics label Oct 19, 2024
workflow/controller/operator.go Outdated Show resolved Hide resolved
test/e2e/cli_test.go Outdated Show resolved Hide resolved
tooptoop4 and others added 3 commits October 27, 2024 19:37
Co-authored-by: Anton Gilgur <[email protected]>
Signed-off-by: tooptoop4 <[email protected]>
Co-authored-by: Anton Gilgur <[email protected]>
Signed-off-by: tooptoop4 <[email protected]>
Co-authored-by: Anton Gilgur <[email protected]>
Signed-off-by: tooptoop4 <[email protected]>
@tooptoop4

This comment was marked as resolved.

@tooptoop4 tooptoop4 requested a review from agilgur5 October 27, 2024 09:23
@agilgur5

This comment was marked as resolved.

@agilgur5

This comment was marked as resolved.

Copy link

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

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

This makes sense to me, but would like more folks to take a look since it will change a lot of messages

@agilgur5 agilgur5 requested a review from tczhao October 27, 2024 16:08
Copy link
Member

@tczhao tczhao left a comment

Choose a reason for hiding this comment

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

I think this a breaking change, we better have a documentation for this.
I can imagine there exist users using conditional retry with exact matching on message

@agilgur5
Copy link

There are some libraries that consider errors as part of the API boundary, but we currently don't. This also isn't the first time we've changed an error.

with exact matching

Some libraries, like protobuf, even intentionally insert randomness to prevent you from doing exact matching like with #12737 (comment) / prometheus/client_model#83

@tooptoop4 tooptoop4 requested a review from tczhao October 28, 2024 19:58
@tooptoop4
Copy link
Contributor Author

I think this a breaking change, we better have a documentation for this. I can imagine there exist users using conditional retry with exact matching on message

added a note

Copy link

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

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

Some copy-edits below

docs/upgrading.md Outdated Show resolved Hide resolved
docs/upgrading.md Outdated Show resolved Hide resolved
tooptoop4 and others added 2 commits October 29, 2024 07:12
Co-authored-by: Anton Gilgur <[email protected]>
Signed-off-by: tooptoop4 <[email protected]>
Co-authored-by: Anton Gilgur <[email protected]>
Signed-off-by: tooptoop4 <[email protected]>
@tooptoop4 tooptoop4 requested a review from agilgur5 October 28, 2024 20:48
@tczhao tczhao merged commit f470fda into argoproj:main Nov 5, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Controller issues, panics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OOMKilled error for gitclone does not say which container was killed? init, main, wait ?
4 participants