-
Notifications
You must be signed in to change notification settings - Fork 18k
x/build/cmd/gopherbot: created multiple backport issues (and now offline) #25031
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
Comments
Now it's really offline. |
Timeline:
|
Between the first and second issue being opened there were multiple cycles that didn't open an issue. My hypothesis is that an event updating an issue in the corpus at time > X arrived before the creation of the issue at time X in maintner. So the Either that, or the GitHub API showed an inconsistent rollbacked view, which would be much harder to fix. /cc @bradfitz about events arriving out of order in maintner. |
Deploying 4c90f83a585e99d6c4442b6117e77d06a1a6f6d4 pending merge to bring @gopherbot back online. |
Change https://golang.org/cl/108977 mentions this issue: |
Deploying 31e3e5b991e909e2bf818bc6f1574aff9272c1e9 because 4c90f83 wasn't rebased on top of the #25024 fix. |
It's an append-only log. |
A scan of the log confirms that's probably what happened.
The since value passed to the GitHub API progressed past the 25028 creation time (disabling the live deduplication check) before 25028 reached the log (disabling the log deduplication check). Now trying to figure out if using Created instead of Updated to progress the since parameter is historically safe. |
Unfortunately, I also found out-of-order creation events. They seem to mostly match maintner crashes, but two recent ones look like they were nothing else than load.
So I'm afraid also using Created to advance since is not safe, and we'll have to add a hacky buffer to account for out of order events as in CL 108977. |
(Full source and output: https://gist.github.com/FiloSottile/aa24968d7fe30553047940e98221d51a) |
@gopherbot created multiple backport issues at #23920 (comment).
While some lag is expected for the "done" comment to reach the corpus, it should not have created duplicated issues anyway.
gopherbot is offline while this is being fixed.
The text was updated successfully, but these errors were encountered: