Skip to content

Learn from PR builds too #89

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
May 13, 2025
Merged

Learn from PR builds too #89

merged 1 commit into from
May 13, 2025

Conversation

pietroalbini
Copy link
Member

After talking with some folks at RustWeek, I discovered that the RLA output for PR builds is suboptimal, as we are not learning from PR build logs. Originally we were only learning from auto builds to avoid the risk of a PR build poisoning RLA, but that risk is less than the downside of having bad error logs. This PR thus enables learning from PR build logs.

@@ -171,11 +171,11 @@ impl Worker {
if !outcome.is_passed() {
self.report_failed(build_id, build.as_ref())?;
}
if build.pr_number().is_none() && build.branch_name() == "auto" {
if build.pr_number().is_some() || build.branch_name() == "auto" {
Copy link
Member

Choose a reason for hiding this comment

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

We'll need to update this for new-bors as well (cc @Kobzol) and we might want to include try jobs I guess?

Copy link
Contributor

Choose a reason for hiding this comment

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

Try jobs are a subset of auto jobs, so not sure if it adds a lot of additional value. For new bors the branch name should be probably automation/bors/auto, but we haven't decided it yet. Created #90 to track this.

@Mark-Simulacrum Mark-Simulacrum merged commit b7791b2 into master May 13, 2025
2 of 3 checks passed
@pietroalbini pietroalbini deleted the pa-pr branch May 16, 2025 08:44
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.

3 participants