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

appveyor CI keeps running on my PR's even after I've deleted appveyor webhook #3585

Open
timotheecour opened this issue Dec 11, 2020 · 4 comments

Comments

@timotheecour
Copy link

I keep seeing appveyor failures in my PRs (in my fork of nim repo), eg: timotheecour/Nim#424

Here's what I tried:

  • rebasing after disable deprecated CI in fork repo nim-lang/Nim#16299 (which does mv appveyor.yml appveyor.yml.disabled)
  • disable appveyor from my fork: Settings > Webhooks => select appveyor => edit > deselect Active
  • ditto, but deselect pull request and push
  • delete appveyor webhook altogether
  • close/reopen the PR after each of those operations

Nothing seems to work.

See timotheecour/Nim#424 which still shows:

image

even after having disabled appveyor webhook:

image

links

@FeodorFitsner
Copy link
Member

From the logs I see the last request from webhook was made at 2020-12-11 7:33:56 UTC (~ half an hour ago). There were no requests after that. I assume that was the time when webhook was deleted/disabled. What's the issue then?

@timotheecour
Copy link
Author

How can I make "Appveyor build failed" disappear on my PR's, so that the PR shows as "green" ? Removing appveyor.yml and removing the appveyor webhook didn't help.

@FeodorFitsner
Copy link
Member

Ah, OK, I see what you mean! You've been closing/re-opening PR timotheecour/Nim#424 trying to make it green, however you are, essentially, rebuilding the same (PR's last) commit. Commit statuses are never removed, but they are accumulating and overriding. If your absolutely need a green build to merge that PR you can either push and build some trivial commit (like a small edit to readme) - that will run without AppVeyor or, if you don't want to rebuild everything you can use GitHub Status API (notice there is no DELETE method for a status) and submit two fake "green" statuses for AppVeyor with continuous-integration/appveyor/branch and continuous-integration/appveyor/pr contexts respectively. Hope that helps.

@timotheecour
Copy link
Author

ok, adding some commit and re-pushing to PR did the trick, thanks!
At least there's a workaround; but I still find current behavior odd in that neither deleting appveyor.yml and repushing (without deleteing appveyor webook) nor deleting webhook (but not pushing another commit after that) was sufficient to make appveyor CI disappear from PR CI status.

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