-
Notifications
You must be signed in to change notification settings - Fork 77
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
trigger_files
removes labels added by user as part of PR creation
#1537
Comments
trigger_files
removes labels added by usertrigger_files
removes labels added by user as part of PR creation
Distributed systems problem, I suppose. The github side event log shows:
Triagebot logs (edited to strip details) show (note, UUIDs here are triagebot, not expected to match those generated by GitHub).
Both logs are ordered "oldest" to "newest", i.e., last event is latest event. I think the likely fix here is to migrate to the new(?) API GitHub offers for adding labels, rather than setting them. It seems like we can do so by just changing the put to a post. We'll want to update the code that calls in to delete and add labels to use the "add" and "delete" APIs as well, so that we're not clobbering unrelated state. Should be a fairly straightforward change. |
OK, filed #1540 which should close this issue. Really a nice cleanup regardless. |
I added some labels as part of the PR creation flow, but rustbot removed them when it added
T-rustdoc
: rust-lang/rust#91876 (comment)The text was updated successfully, but these errors were encountered: