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

[R-package][test] add reference to the original issue in R-package test #4720

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

StrikerRUS
Copy link
Collaborator

@StrikerRUS StrikerRUS commented Oct 26, 2021

Small addition to #4714.
Just a link to the issue describing why we need conditional asserts in the test to eliminate any questions to this code in the future.

Copy link
Collaborator

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

Seems ok with me. I think the git blame is also a good source of this type of information, but this is a bit more direct so I don't mind it.

@jameslamb jameslamb merged commit adef94f into master Oct 26, 2021
@jameslamb jameslamb deleted the r_test_comment branch October 26, 2021 18:19
@StrikerRUS
Copy link
Collaborator Author

Yeah, git blame is a good stuff, but I don't believe that a lot of people use it. I think it's useful to leave comments in flaky tests because one can propose "good simplification" and say: "this passes all your CI and I checked it locally, please accept". Not sure that each maintainer will check the git blame given the passed CI before approving. Explicit comments will prevent such situations.

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants