Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[flytepropeller][flyteadmin] Streaming Decks V2 #6053
[flytepropeller][flyteadmin] Streaming Decks V2 #6053
Changes from all commits
54aa165
9ed6b6e
4b4f6bd
dd774cb
0bb8e91
25fea29
4e24e91
8d1d0e4
31853bb
4068043
65b6efe
137579f
04f7fbc
aa56d64
a16851f
7314455
19498f5
74f595f
3bd3336
f6d8493
4b56e52
db4b19e
2737251
564dc5f
69ba94e
c992eae
0b91b5c
1d18265
96500c1
dd9dbaa
f51ff8c
bd5e682
561a43c
a33ba09
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 98 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L97-L98
Check warning on line 105 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L102-L105
Check warning on line 115 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L115
Check warning on line 118 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L118
Check warning on line 192 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L190-L192
Check warning on line 448 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L447-L448
Check warning on line 457 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L455-L457
Check warning on line 459 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L459
Check warning on line 551 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L550-L551
Check warning on line 555 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L554-L555
Check warning on line 561 in flytepropeller/pkg/controller/nodes/task/handler.go
Codecov / codecov/patch
flytepropeller/pkg/controller/nodes/task/handler.go#L560-L561
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider checking for errors from
RemoveDeckURIIfDeckNotExists
before proceeding with the task completion. The current implementation only logs the error but continues execution which could lead to inconsistent state.Code suggestion
Code Review Run #dc455e
Is this a valid issue, or was it incorrectly flagged by the Agent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider moving the deck URI cleanup logic to a separate function for better code organization and reusability. The deferred function could be simplified by extracting the logic into a named function.
Code suggestion
Code Review Run #dc455e
Is this a valid issue, or was it incorrectly flagged by the Agent?