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

Workflows got cancelled non-deterministically #3

Open
qinsoon opened this issue Oct 30, 2020 · 4 comments
Open

Workflows got cancelled non-deterministically #3

qinsoon opened this issue Oct 30, 2020 · 4 comments

Comments

@qinsoon
Copy link

qinsoon commented Oct 30, 2020

I have setup this app for my repos. It generally works when I tested it.

However, after running it for 1 week or so, I found that my workflows sometimes got cancelled non-deterministically. For example, for the same pull request with changes pushed by the same person, sometimes all the workflows can run. But sometimes some of the workflows got cancelled (it appeared to be that one of the workflows got cancelled, and all the subsequent ones got cancelled as well - I am not too sure about this). This behavior also appears for workflows triggered by pushing.

@eladchen
Copy link
Owner

eladchen commented Oct 30, 2020

Hi

I found a bug when pushing a new branch, is it possible the issues you describe all happened as a result of pushing new branches?

I've actually seen cases where workflows were being canceled without my app, I suspect Github workflows is still buggy as a feature.

Until I implement the debug mode we discussed in #2, could you please provide me with workflow run ids
so I can look for within the logs?

@qinsoon
Copy link
Author

qinsoon commented Oct 30, 2020

Hi, thanks for the prompt reply. I noticed the issue happened in two scenarios: 1. pushing new commits to a PR, 2. after merging a PR to the master (a push event). The first one probably is not exactly pushing a new branch.

A most recent one is actions/runs/337401494, particularly the jobs runs/1331163938 and runs/1331163990 were shown as cancelled. I am not sure which one is run id so I just pasted all the ids with paths.

@qinsoon
Copy link
Author

qinsoon commented Oct 31, 2020

@eladchen Sorry those workflows may actually have been cancelled manually by other org members. You can check on this run: actions/runs/332863662, which was merging/pushing changes to master from a PR.

@eladchen
Copy link
Owner

eladchen commented Nov 9, 2020

UPDATE - I still haven't had time to finalize the work on this. I expect to address this during the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants