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

Misc: attempt to reduce carries #50

Open
wants to merge 4 commits into
base: kcp-0.17
Choose a base branch
from

Conversation

sttts
Copy link
Member

@sttts sttts commented Mar 9, 2024

No description provided.

…rror for the inverse

Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
@kcp-ci-bot kcp-ci-bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Mar 9, 2024
@kcp-ci-bot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from sttts. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sttts
Copy link
Member Author

sttts commented Mar 9, 2024

/hold

@kcp-ci-bot kcp-ci-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Mar 9, 2024
@sttts sttts requested a review from xrstf March 9, 2024 21:18
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
@kcp-ci-bot
Copy link

@sttts: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-controller-runtime-everything e3640a6 link true /test pull-controller-runtime-everything

Full PR test history

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@xrstf
Copy link

xrstf commented Mar 12, 2024

Can you describe in one or two sentences what this PR does? You remove some fields like NewAPIReader, I presume those are now upstream or not needed anymore, because of some refactoring?

@sttts
Copy link
Member Author

sttts commented Mar 12, 2024

@xrstf tried to minimize the changes. NewAPIReader is replaced wth newClient. We reuse the private variable (this is the ugly part). Is it worth it? Not sure. Clearly smaller, but also a bit uglier.

@xrstf
Copy link

xrstf commented Mar 14, 2024

pkg/kcp/wrappers.go:73:70: directive // nolint:gosec // this is safe should be written without leading space as //nolint:gosec // this is safe (nolintlint)
fieldPointer := (*F)(unsafe.Pointer(newInformerField.UnsafeAddr())) // nolint:gosec // this is safe

Doesn't look like a flake.

@kcp-ci-bot kcp-ci-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 29, 2024
@kcp-ci-bot
Copy link

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dco-signoff: yes Indicates the PR's author has signed the DCO. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants