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

Updating ArrayNode ExternalResourceInfo ID #4677

Merged
merged 5 commits into from
Jan 5, 2024

Conversation

hamersaw
Copy link
Contributor

@hamersaw hamersaw commented Jan 4, 2024

Tracking issue

NA

Why are the changes needed?

The external resource ID may be used in other locations to link to the executing entity. If this is incorrect, then it is impossible to determine the actual k8s resource.

What changes were proposed in this pull request?

Correcty setting the ExternalResourceInfo ExternalID field to the Pod name for each subtask.

How was this patch tested?

local / cloud / etc

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

NA

Docs link

NA

Signed-off-by: Daniel Rammer <[email protected]>
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. bug Something isn't working enhancement New feature or request labels Jan 4, 2024
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

Attention: 23 lines in your changes are missing coverage. Please review.

Comparison is base (b96419c) 58.12% compared to head (adadeb4) 58.10%.

Files Patch % Lines
...eller/pkg/controller/nodes/array/event_recorder.go 51.72% 11 Missing and 3 partials ⚠️
...ytepropeller/pkg/controller/nodes/array/handler.go 0.00% 6 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4677      +/-   ##
==========================================
- Coverage   58.12%   58.10%   -0.02%     
==========================================
  Files         626      626              
  Lines       53815    53834      +19     
==========================================
+ Hits        31278    31280       +2     
- Misses      20035    20048      +13     
- Partials     2502     2506       +4     
Flag Coverage Δ
unittests 58.10% <39.47%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pingsutw
pingsutw previously approved these changes Jan 5, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 5, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Jan 5, 2024
@hamersaw hamersaw merged commit 513c3e1 into master Jan 5, 2024
43 of 45 checks passed
@hamersaw hamersaw deleted the bug/arraynode-external-id branch January 5, 2024 21:14
katrogan pushed a commit that referenced this pull request Jan 12, 2024
* updating externalResourceID

Signed-off-by: Daniel Rammer <[email protected]>

* fix unit tests

Signed-off-by: Daniel Rammer <[email protected]>

* generate event recorder mocks

Signed-off-by: Daniel Rammer <[email protected]>

* correctly setting task id in events

Signed-off-by: Daniel Rammer <[email protected]>

---------

Signed-off-by: Daniel Rammer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants