Skip to content

Conversation

@peterbell10
Copy link
Collaborator

@peterbell10 peterbell10 commented Apr 15, 2022

Stack from ghstack (oldest at bottom):

When lintrunner is run on the whole repository, files are found using grep with the -I flag to exclude binary files. However, when it's run on a diff, it doesn't filter out binary files and runs into unexpected errors such as this CI run:
https://github.com/pytorch/pytorch/runs/6041884681

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Apr 15, 2022

🔗 Helpful links

💊 CI failures summary and remediations

As of commit 7eabcad (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

When `lintrunner` is run on the whole repository, files are found using `grep` with the `-I` flag to exclude binary files. However, when it's run on a diff, it doesn't filter out binary files and runs into unexpected errors such as this CI run:
https://github.com/pytorch/pytorch/runs/6041884681

[ghstack-poisoned]
@peterbell10 peterbell10 requested a review from suo April 15, 2022 20:47
@peterbell10 peterbell10 marked this pull request as ready for review April 15, 2022 20:47
@suo
Copy link
Member

suo commented Apr 16, 2022

@pytorchbot merge this

@github-actions
Copy link
Contributor

Hey @peterbell10.
You've committed this PR, but it does not have both a 'release notes: ...' and 'topics: ...' label. Please add one of each to the PR. The 'release notes: ...' label should represent the part of PyTorch that this PR changes (fx, autograd, distributed, etc) and the 'topics: ...' label should represent the kind of PR it is (not user facing, new feature, bug fix, perf improvement, etc). The list of valid labels can be found here for the 'release notes: ...' and here for the 'topics: ...'.
For changes that are 'topic: not user facing' there is no need for a release notes label.

@peterbell10 peterbell10 added the topic: not user facing topic category label Apr 16, 2022
facebook-github-bot pushed a commit that referenced this pull request Apr 18, 2022
Summary:
Pull Request resolved: #75906

Approved by: https://github.com/suo

Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/702c7f00e2b5a425dbc03f88354a35a0cf7fd0d6

Reviewed By: mehtanirav

Differential Revision: D35721646

fbshipit-source-id: 73acf2bb5d45bec8c587e18f6fb9797a7325045c
@facebook-github-bot facebook-github-bot deleted the gh/peterbell10/305/head branch April 19, 2022 14:16
malfet pushed a commit that referenced this pull request Apr 20, 2022
Pull Request resolved: #75906

Approved by: https://github.com/suo

(cherry picked from commit 702c7f0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants