Skip to content

Fix commit extraction for rust-timer commands #1370

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

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

rylev
Copy link
Member

@rylev rylev commented Jul 28, 2022

I made the following comment in a PR:

Going to try out the tooling introduced in https://github.com/rust-lang/rustc-perf/pull/701. Forgive any noise. 

@rust-timer make-pr-for https://github.com/rust-lang/rust/commit/857afc75e6ca69cc7dcae36a6fac8c093ee6fa31

And nothing happened. The GitHub logs made it clear that the wrong commit was being extracted. After making a test, it seems were were incorrectly capturing only "https" instead of the entire URL.

This adds a test for these cases and does some small refactoring.

@rylev rylev requested a review from Mark-Simulacrum July 28, 2022 15:09
@Mark-Simulacrum Mark-Simulacrum merged commit 6ace834 into rust-lang:master Jul 28, 2022
@rylev rylev deleted the fix-commit-extraction branch July 28, 2022 16:29
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

Successfully merging this pull request may close these issues.

2 participants