Skip to content

Conversation

@janeyx99
Copy link
Contributor

@janeyx99 janeyx99 commented Mar 25, 2021

Relands #54685 with the fix to filter out master

Tested with @samestep in other repository.

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Mar 25, 2021

💊 CI failures summary and remediations

As of commit 30a0247 (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).Follow this link to opt-out of these comments for your Pull Requests.

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

@janeyx99 janeyx99 requested a review from samestep March 25, 2021 16:36
@janeyx99 janeyx99 requested a review from a team March 25, 2021 16:48
@janeyx99 janeyx99 marked this pull request as ready for review March 25, 2021 16:48
@facebook-github-bot
Copy link
Contributor

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

workflow_run:
types:
- requested
workflows:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the most lightweight way for us to cancel redundant workflows, but it comes at the potential cost of needing to list out all the names of our workflows here. It would not be too difficult to write a script that would generate the names, but I wonder if there's a better, more GH supported way to accomplish the same thing. (e.g., if there were some way to just specify all workflows with a *). (comment copied over from other PR)

@facebook-github-bot
Copy link
Contributor

@janeyx99 merged this pull request in 71b9f2d.

facebook-github-bot pushed a commit that referenced this pull request Apr 2, 2021
Summary:
#54779 split out the logic from our "Lint" workflow into a separate workflow that allows us to annotate PRs from forks. However, as of #54689, it is possible for the "Lint" workflow to be canceled, in which case it may not upload the "flake8-py3" and "clang-tidy" artifacts that the "Add annotations" workflow expects. This often results in GitHub pointlessly sending notification emails due to the failure in the "Add annotations" workflow. This PR fixes the issue by gracefully handling the case where the expected artifact is absent.

Pull Request resolved: #55242

Test Plan: I tested this in the same external sandbox repo used to test #54779.

Reviewed By: malfet

Differential Revision: D27540120

Pulled By: samestep

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

6 participants