Skip to content

Port unrolling#704

Draft
Sakib25800 wants to merge 9 commits intorust-lang:mainfrom
Sakib25800:port-unrolling
Draft

Port unrolling#704
Sakib25800 wants to merge 9 commits intorust-lang:mainfrom
Sakib25800:port-unrolling

Conversation

@Sakib25800
Copy link
Member

Fixes #285

@Sakib25800
Copy link
Member Author

Sakib25800 commented Feb 24, 2026

Tests have not been added yet, and this has turned into quite a big PR, so I may have to split it.

@Sakib25800
Copy link
Member Author

This has turned into a monstrous PR somehow, so I definitely have to split it.

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.

Thank you very much for working on this! I haven't read through it all yet, so I'll do the review piecemeal.

The second commit that refactors start_build looks like a nice self-contained cleanup. Could you please separate that into its own PR first? It touches a critical piece of bors code, so I want to land it separately and test it on production.

View changes since this review

&self,
rollup: &PullRequestModel,
members: &[PullRequestModel],
members: &[(PullRequestModel, CommitSha)],
Copy link
Member

Choose a reason for hiding this comment

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

Let's create a proper struct for it, something like RollupMember, it's not clear from the tuple what do the fields mean. There we can also document that the commit SHA is the HEAD SHA, not the rollup merge SHA.

@Kobzol
Copy link
Member

Kobzol commented Mar 2, 2026

Then the first commit would also be nice to land in a separate PR; I have a use-case unrelated to rollup unrolling where the SHA would be useful.

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.

Port rollup unrolling from rustc-perf to bors

2 participants