Skip to content

[control-operator] disable grpc streams for time being#831

Open
justonedev1 wants to merge 1 commit into
masterfrom
task_ctrl_grpc_streams
Open

[control-operator] disable grpc streams for time being#831
justonedev1 wants to merge 1 commit into
masterfrom
task_ctrl_grpc_streams

Conversation

@justonedev1

Copy link
Copy Markdown
Collaborator

This is nice TODO to fix grpc OCC streams to be useful for task controller, which they aren't now. I just annotated with remark in the code.

@justonedev1 justonedev1 requested a review from knopers8 as a code owner July 3, 2026 14:41
// TODO: Streams are not used anywhere now so we turn them off until they are fixed/useful
// they are not useful for now because any Transition call imediately returns final
// status. So for now we don't need them. Of course the problem is that if something
// changes inside OCC container we have no way how to detect it now.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't quite understand what is broken at the moment. Don't we want to log spontaneous changes in the controlled task, even if we don't react to them?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

we can log those, but the reason why I disabled them was that this actually throws errors, so I threw away this whole thing, with an asterisk to rething and redo it:

if err := c.reconciler.Status().Update(updateCtx, task); err != nil {

It was also the reason why I made this as a TODO and didn't delete it at all. I can make a Jira ticket about it as well if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants