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

fix: enable linter contextcheck and fix potential problems #4714

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

romshark
Copy link
Contributor

Fix potentially incorrect uses of context.Context.

Fix potentially incorrect uses of context.Context.
@romshark romshark requested review from jiceatscion and a team February 26, 2025 16:05
@romshark romshark self-assigned this Feb 26, 2025
@jiceatscion
Copy link
Contributor

This change is Reviewable

Copy link
Contributor

@jiceatscion jiceatscion left a comment

Choose a reason for hiding this comment

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

Sounds good to me, but I'd wait for someone with more historical knowledge to weigh on the issue. There might have been reasons why the surrounding context was not being used in some of these cases. The act seemed sometimes a bit too deliberate (i.e. requiring extra effort) to be an oversight.

Reviewed 12 of 12 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @romshark)

@romshark
Copy link
Contributor Author

I will exclude with //nolint all context.TODO() in this PR, but some of the non-TODOs I'm looking into still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants