Skip to content

Chore; make tag optional for Try benchmark requests #2196

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 5 commits into from
Jul 9, 2025

Conversation

Jamesbarford
Copy link
Contributor

  • Removes database table benchmark_request constraint for tag to be NOT NULL
  • Change allocations for .tag() to return Option<&str>

@Jamesbarford Jamesbarford force-pushed the chore/modify-try-commit-type branch from e11852c to d45534b Compare July 8, 2025 08:54
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Thanks! I tried it locally, the migration was applied cleanly, it allows inserting NULL SHAs, multiple non-completed try builds cannot exist at the same time, but multiple release builds can (so NULL in the pr column is treated as distinct values for the unique index). So it seems to work as we wanted it to.

Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Thanks!

@Kobzol Kobzol enabled auto-merge July 8, 2025 15:02
@Kobzol Kobzol merged commit 07edfbd into rust-lang:master Jul 9, 2025
11 checks passed
@Jamesbarford Jamesbarford deleted the chore/modify-try-commit-type branch July 9, 2025 06:50
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