Skip to content

Do not return empty commit list when a parent commit is missing #1957

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
Aug 1, 2024

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Aug 1, 2024

This can happen during force pushes to rust-lang/rust. If a parent commit is missing, just run the benchmark, the result won't have any parent available.

@Kobzol Kobzol requested review from lqd and Mark-Simulacrum August 1, 2024 06:11
@Kobzol
Copy link
Contributor Author

Kobzol commented Aug 1, 2024

Asked more people for a review, whoever gets to this first to unblock the queue :)

This can happen during force pushes to rust-lang/rust. If a parent commit is missing, just run the benchmark, the result won't have any parent available.
@Kobzol Kobzol force-pushed the fix-site-queue-error branch from 39bd781 to 73e7a7a Compare August 1, 2024 06:12
Copy link
Member

@lqd lqd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even if there won’t be a parent we’ll still run both toolchains, right?

@Kobzol
Copy link
Contributor Author

Kobzol commented Aug 1, 2024

If there isn't a parent, the benchmark should run, but the compare page for that run will probably error out (hopefully nothing more sinister will happen).

@lqd
Copy link
Member

lqd commented Aug 1, 2024

Ah right this is in the reordering to make sure the parent commit is benchmarked before the commit.

@Kobzol Kobzol enabled auto-merge August 1, 2024 06:15
@Kobzol Kobzol merged commit b4ac987 into rust-lang:master Aug 1, 2024
11 checks passed
@Kobzol Kobzol deleted the fix-site-queue-error branch August 1, 2024 06:19
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