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

CLA bot posts message after CLA is already signed #2474

Closed
nicksnyder opened this issue Feb 27, 2019 · 8 comments
Closed

CLA bot posts message after CLA is already signed #2474

nicksnyder opened this issue Feb 27, 2019 · 8 comments
Labels
bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. ops & tools & dev
Milestone

Comments

@nicksnyder
Copy link
Contributor

See how CLA bot commented on #2135 multiple times. Chris signed the CLA Feb 2, 2019 13:44:10.

I wondered if this had to do with the pod restarting.

The most recent comment was Feb 27, 7:16 AM PT.

Describing the pod shows that it started 1.5 hours earlier:

State:          Running
      Started:      Wed, 27 Feb 2019 05:41:12 -0800
    Last State:     Terminated
      Reason:       Error
      Exit Code:    255
      Started:      Thu, 21 Feb 2019 14:07:26 -0800
      Finished:     Wed, 27 Feb 2019 05:40:51 -0800
Restart Count:  1

So restarting is a plausible theory if it takes 1.5 hours to resync everything.

@kevinburke would you expect the bot to re-post after being restarted?

@nicksnyder nicksnyder added the bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. label Feb 27, 2019
@sqs sqs added this to the Backlog milestone Mar 2, 2019
@dadlerj
Copy link
Member

dadlerj commented Apr 2, 2019

@nicksnyder have you seen this reoccur since then?

@nicksnyder
Copy link
Contributor Author

The last occurrence that I observed was March 18 on that same PR:
#2135 (comment)

@dadlerj
Copy link
Member

dadlerj commented Apr 2, 2019

Okay if I close for now until we see it again then?

@nicksnyder
Copy link
Contributor Author

Sure

@nicksnyder
Copy link
Contributor Author

We just fixed CLA bot and saw it post a duplicate message on #3835 (comment). The pod restarted between the messages so that might be the cause (i.e. we don't persist any state between restarts)

@eseliger
Copy link
Member

eseliger commented Feb 4, 2020

Possibly fixed in sourcegraph/maintainerbot#1
awaiting result here: #8271
I realized that cla-bot has a super long warmup phase of ~5h (around 2s per issue * ~8300 issues/prs). So revisiting in a while...

@eseliger
Copy link
Member

eseliger commented Feb 5, 2020

It looks like it's working. Closing for now

@eseliger eseliger closed this as completed Feb 5, 2020
@eseliger
Copy link
Member

eseliger commented Feb 5, 2020

Found a proof PR: #3835

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. ops & tools & dev
Projects
None yet
Development

No branches or pull requests

4 participants