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

publish_toolstate.py: further fix the runtime errors #58541

Merged
merged 1 commit into from
Feb 18, 2019

Conversation

kennytm
Copy link
Member

@kennytm kennytm commented Feb 17, 2019

The regex was missing a ,, causing relevant_pr_match to become None and set the PR number to -1 and assigned the new issue to @<unknown user>. This causes the 422 error when creating the issue due to invalid assignee and unable to leave the tool-is-broken comment since PR -1 does not exist.

The default user names are now also changed to @ghost to prevent the 422 error in case anything goes wrong again.

The regex was missing a `,`, causing `relevant_pr_match` to become None
and set the PR number to -1 and assigned the new issue to
`@<unknown user>`. This causes the 422 error when creating the issue due
to invalid assignee and unable to leave the tool-is-broken comment since
PR -1 does not exist.

The default user names are now also changed to @ghost to prevent the
422 error in case anything goes wrong again.
@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 17, 2019
@kennytm
Copy link
Member Author

kennytm commented Feb 17, 2019

r? @oli-obk

@oli-obk
Copy link
Contributor

oli-obk commented Feb 18, 2019

@bors r+ p=2

@bors
Copy link
Contributor

bors commented Feb 18, 2019

📌 Commit 66ae313 has been approved by oli-obk

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 18, 2019
@bors
Copy link
Contributor

bors commented Feb 18, 2019

⌛ Testing commit 66ae313 with merge 684b09b...

bors added a commit that referenced this pull request Feb 18, 2019
publish_toolstate.py: further fix the runtime errors

The regex was missing a `,`, causing `relevant_pr_match` to become None and set the PR number to -1 and assigned the new issue to `@<unknown user>`. This causes the 422 error when creating the issue due to invalid assignee and unable to leave the tool-is-broken comment since PR -1 does not exist.

The default user names are now also changed to @ghost to prevent the 422 error in case anything goes wrong again.
@bors
Copy link
Contributor

bors commented Feb 18, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: oli-obk
Pushing 684b09b to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Feb 18, 2019
@bors bors merged commit 66ae313 into rust-lang:master Feb 18, 2019
@rust-highfive
Copy link
Collaborator

📣 Toolstate changed by #58541!

Tested on commit 684b09b.
Direct link to PR: #58541

💔 miri on windows: test-fail → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
💔 miri on linux: test-fail → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Feb 18, 2019
Tested on commit rust-lang/rust@684b09b.
Direct link to PR: <rust-lang/rust#58541>

💔 miri on windows: test-fail → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
💔 miri on linux: test-fail → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
@kennytm kennytm deleted the fix-publish-toolstate-py-again branch February 18, 2019 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants