Skip to content

Conversation

@samestep
Copy link
Contributor

@samestep samestep commented May 4, 2021

This is essentially a continuation of #56700. Currently, some of the steps in Lint / quick-checks (such as the trailing newlines check) still don't always run if an earlier steps fail; example: https://github.com/pytorch/pytorch/runs/2504623867

This PR adds some more ifs to remaining steps, so that they, too, can still run even when earlier steps fail.

Test plan:

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented May 4, 2021

💊 CI failures summary and remediations

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


None of the CI failures appear to be your fault 💚



1 job timed out:

  • pytorch_linux_xenial_py3_clang5_asan_test1

🚧 2 fixed upstream failures:

These were probably caused by upstream breakages that were already fixed.

Please rebase on the viable/strict branch (expand for instructions)

If your commit is older than viable/strict, run these commands:

git fetch https://github.com/pytorch/pytorch viable/strict
git rebase FETCH_HEAD

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

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

Click here to manually regenerate this comment.

@samestep samestep requested a review from a team May 4, 2021 22:39
@samestep samestep marked this pull request as ready for review May 4, 2021 22:39
@facebook-github-bot
Copy link
Contributor

@samestep has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@samestep merged this pull request in eb39da6.

@samestep samestep deleted the quick-checks-hide-less branch May 5, 2021 03:26
krshrimali pushed a commit to krshrimali/pytorch that referenced this pull request May 19, 2021
Summary:
This is essentially a continuation of pytorch#56700. Currently, some of the steps in **Lint / quick-checks** (such as the trailing newlines check) still don't always run if an earlier steps fail; example: https://github.com/pytorch/pytorch/runs/2504623867

This PR adds some more `if`s to remaining steps, so that they, too, can still run even when earlier steps fail.

Pull Request resolved: pytorch#57572

Test Plan:
- https://github.com/pytorch/pytorch/runs/2504706736 before this PR, many steps get skipped if an early step fails
- https://github.com/pytorch/pytorch/runs/2504778437 using this PR's technique, those steps still run
- https://github.com/pytorch/pytorch/runs/2504787234 if the requirements step doesn't run, steps still get skipped
- https://github.com/pytorch/pytorch/runs/2504796695 after this PR, `quick-checks` still succeeds

Reviewed By: driazati

Differential Revision: D28205900

Pulled By: samestep

fbshipit-source-id: bea856e15bdd17ee66e9ebba019ce91133b17bcd
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.

3 participants