-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
fix operator crashing on first startup #28997
Conversation
Another approach suggested by @strideynet is to call DeleteUser() and DeleteRole() directly instead of DeleteBot(). |
Can we write a test for this? |
Not within a day, this requires setting up a full integration test suite. There's no integration test framework covering this part, so this will delay the fix. I suggest we add the test the next time we touch the operator code. |
Please file an issue then so we don't lose track of this (who knows when the next time we touch this code will be?) Regressions indicate a lack of test coverage, so any time we fix one we should be asking why it wasn't caught with automated testing and how we can fix it. |
|
@hugoShaka See the table below for backport results.
|
The operator crashes on startup because of a regression introduced in #28391
This currently affects 13.2.0.
The issue happens because:
NotFoundError
errorstrace.IsNotFound
returns false as this is not a NotFoundError anymoreThe issue got unnoticed because: