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
Documentation of workqueue abstraction is too scattered #89206
Comments
@kubernetes/sig-api-machinery-bugs |
/help-wanted |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
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. |
/reopen
/lifecycle frozen
…On Sun, Aug 16, 2020 at 3:34 PM Kubernetes Prow Robot < ***@***.***> wrote:
@fejta-bot <https://github.com/fejta-bot>: Closing this issue.
In response to this
<#89206 (comment)>
:
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta
<https://github.com/fejta>.
/close
Instructions for interacting with me using PR comments are available here
<https://git.k8s.io/community/contributors/guide/pull-requests.md>. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
<https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:>
repository.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
<#89206 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE6BFWSO6CHKUTF5XD4NJLSBBNH7ANCNFSM4LOFLQPQ>
.
|
@lavalamp: Reopened this issue. In response to this:
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. |
What happened:
Colleagues had questions about workqueue and I realized that the answers are painfully scattered throughout the code.
The introduction to the workqueue abstraction is in doc.go. While this is not necessarily wrong, I will point out that my colleague did not find it. The comment on the golang type
Type
--- which is one implementation of the interfaceInterface
--- inqueue.go
points todoc.go
. The declaration ofRateLimitingInterface
does not direct the reader todoc.go
.The need to call
Done
is not explained in any of the interface types. It is stated on one method implementation. I think that Done needs to be called for all the interfaces, and so should be documented in the root interface.What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
):cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: