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

Handle new issues on unaffected lines #99

Open
bradleyfalzon opened this issue May 30, 2017 · 0 comments
Open

Handle new issues on unaffected lines #99

bradleyfalzon opened this issue May 30, 2017 · 0 comments
Labels

Comments

@bradleyfalzon
Copy link
Owner

Some tools can raise issues on lines that haven't been changed, but a change elsewhere has caused them to error.

For such cases, it may be better to run the tool on the old commit, as well as the new commit and the complement will be the list of issues found.

GopherCI would then need handle commenting on lines of code that haven't changed, so an inline comment may not be possible. It may be just a matter of still failing the build, and having the analysis page show the issue but not on the patch, just the summary of issues per tool.

It may be possible then assign a tool as requiring complement filter (instead of revgrep filter), which would run those tools in a different way (checking out old ref, running tool, checking out new ref, returning the complement).

bradleyfalzon referenced this issue in shurcooL/resume May 30, 2017
This follows the latest pattern of making components not call out to
services. Instead, they take properties and simply render themselves.
It's the caller's responsibility (for now) to fetch and provide all
necessary data.

Use new reactions.Service.List endpoint which is more efficient. It
allows getting all reactions on a given page in one API call, instead
of N (where N is the number of reactable targets on the page).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant