Skip to content

Feat; queuing try commits #2197

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

Conversation

Jamesbarford
Copy link
Contributor

@Jamesbarford Jamesbarford commented Jul 9, 2025

  • Refactored getting the RUN_CRON environment variable to a function
  • Queue try commits and subsequently update them

@Jamesbarford Jamesbarford force-pushed the feat/queuing-try-commits branch from 8da2e96 to a9325dc Compare July 9, 2025 07:52
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! Left a few comments.

backends,
"",
);
conn.insert_benchmark_request(&try_request).await;
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should return an error here, so that we can e.g. tell to the user that a request already exists, so they can't queue another one, otherwise it will be essentially a silent failure. But we can do that in a future PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I reckon so, happy to do it in a follow up PR

@Jamesbarford Jamesbarford force-pushed the feat/queuing-try-commits branch from 25d0969 to cc65504 Compare July 9, 2025 09:33
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! Please add the test with the completed try build and we're good to go here, I think.

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! Feel free to merge once CI is green.

@Jamesbarford Jamesbarford merged commit ff57fc5 into rust-lang:master Jul 9, 2025
11 checks passed
@Jamesbarford Jamesbarford deleted the feat/queuing-try-commits branch July 9, 2025 11:13
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