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

Check does not re-run on force push #19

Open
jamesobutler opened this issue Sep 4, 2020 · 19 comments
Open

Check does not re-run on force push #19

jamesobutler opened this issue Sep 4, 2020 · 19 comments

Comments

@jamesobutler
Copy link

I've noticed that Commit Message Lint works when issuing a brand new PR in my private repo. However, if there is a force push action that occurs, the check doesn't seem to re-run and it just sits waiting. This is a problem as I'm using this as a required-check as part of my branch rules. Other checks are re-run following a force push.

image

@sumits-systango
Copy link
Contributor

We'll take a look.

@jamesobutler
Copy link
Author

🙏 Thank you!

@sumits-systango
Copy link
Contributor

@jamesobutler
We tried reproducing this but were not able to. One possible reason you saw the issue could be with another issue we were facing with our cloud provider sometime around August end. Can you check again?

@jamesobutler
Copy link
Author

jamesobutler commented Sep 17, 2020

Ok I tried some more testing again and here are my results:

Public repo, issue a PR from one branch to another within the repo, message lint: ✔️
^ then force push the branch, message lint: ✔️
Made repo Private, then force pushed the branch, message lint: ✔️

My specific case that I use:
Private repo (within organization), issue a PR from forked repo branch to main upstream branch, message lint: ✔️
^ then force push the forked repo's branch, message lint: ❌ (does not re-run)

When it doesn't re-run it doesn't show up in the PR checks area if message-lint is not a required check to pass before merging. The image I provided originally showed that it was not re-running with it as a required check for merging.

@jamesobutler
Copy link
Author

Hi @sumits-systango,

Were you able to reproduce based on the above notes?

@sumits-systango
Copy link
Contributor

sumits-systango commented Sep 21, 2020

@jamesobutler yes, we were able to reproduce and are working on a fix. It seems to be related to fork repositories. We'll let you know as soon as a fix is deployed.

@jamesobutler
Copy link
Author

Thanks so much! Very much appreciated.

@jamesobutler
Copy link
Author

jamesobutler commented Dec 3, 2020

Hi @sumits-systango! Any update on this work? Or will this be a wont-fix for this project? Thanks!

@apresswala-systango
Copy link

@jamesobutler
We are currently loaded with several requests and some upgrades. And this change is taking longer than expected. But this is still in the list and will be rolled out soon.

@renanfenrich
Copy link

any news on this?

@apresswala-systango
Copy link

Hi @renanfenrich @jamesobutler, We have deployed the change for the Issues you were having with the Forked Repositories.
Please check on your end and let us know if there are any issues.

@jamesobutler
Copy link
Author

@apresswala-systango I force pushed a branch tied to an already open PR from a private repo fork to the upstream private repo and the commit-message-lint check was not run. I then tried opening a new PR from a private repo fork to the upstream private repo and the commit-message-lint check also did not run.

@jamesobutler
Copy link
Author

Was this a server-side change? I see no recent pushed updates to this repo if it was for the app code. The last commit is from May 4th 2020.

@sumits-systango
Copy link
Contributor

Yes, this was a server side change @jamesobutler . We'll take a look and get back.

@jamesobutler
Copy link
Author

@sumits-systango Any update on this?

@apresswala-systango
Copy link

Hi @jamesobutler, We are debugging this at our end. We are trying to reproduce the issue you are facing with our repositories. It would take some more time for us to get back to you on this.

@jamesobutler
Copy link
Author

I have unfortunately uninstalled this GitHub app as it has continued to be broken.

@sumits-systango
Copy link
Contributor

Hi @jamesobutler
That's unfortunate for us. But this issue is not easily reproducible at our end, which is why it is taking so much time. I request you to try the app once again once this is fixed.

@Murtowski
Copy link

Murtowski commented Dec 20, 2021

The problem I noticed is that commit message lint app caches previous commit messages, never clear it, which leads to bugs.
Imagine I commit message wrongly first time and I then rename with using rebase or amend but app doesn't refresh previous commit messages list and answer with error - which is wrong.

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

5 participants