Skip to content

dist(release/1.29): backport patches, pt. 1#4867

Merged
rami3l merged 53 commits into
rust-lang:release/1.29from
rami3l:backport/202605
Jun 5, 2026
Merged

dist(release/1.29): backport patches, pt. 1#4867
rami3l merged 53 commits into
rust-lang:release/1.29from
rami3l:backport/202605

Conversation

@rami3l
Copy link
Copy Markdown
Member

@rami3l rami3l commented May 23, 2026

Part of #4862.

Warning

This is an experimentation of how backporting could possibly work. Don't merge yet.

@djc wow, with atomic commits, backporting is as simple as dropping the incompatible commits? I'm impressed...

@rami3l rami3l added the backport This is an issue which should be backported to the next patch release, or it is a backporting PR. label May 23, 2026
@rami3l rami3l force-pushed the backport/202605 branch from ca510c1 to 4c152f4 Compare May 23, 2026 18:05
@rami3l rami3l force-pushed the backport/202605 branch from 4c152f4 to c4dbaf4 Compare May 23, 2026 18:14
@rami3l
Copy link
Copy Markdown
Member Author

rami3l commented May 23, 2026

Well, there ARE some rough edges but should be pretty simple to resolve, I'll find some time to look at them later... At least there has been 0 conflicts during the rebase which is quite impressive in itself already :o

@rami3l rami3l force-pushed the backport/202605 branch from c4dbaf4 to 84dc4f3 Compare May 23, 2026 18:37
@rami3l rami3l changed the title dist(release/1.29): backport patches dist(release/1.29): backport patches, pt. 1 May 24, 2026
@rami3l rami3l marked this pull request as ready for review June 5, 2026 12:19
@rami3l
Copy link
Copy Markdown
Member Author

rami3l commented Jun 5, 2026

So far I think the backporting overhead is surprisingly low.

Next up I guess it's okay to merge this first, and then I'll add a deprecation warning for #4840 in the backport.

@rami3l rami3l merged commit 4e5b12c into rust-lang:release/1.29 Jun 5, 2026
29 checks passed
@rami3l rami3l deleted the backport/202605 branch June 5, 2026 14:40
@djc
Copy link
Copy Markdown
Contributor

djc commented Jun 5, 2026

Probably should wire up the release branch to get merge queue support, as well? I forget where/how that happens.

@rami3l
Copy link
Copy Markdown
Member Author

rami3l commented Jun 5, 2026

Probably should wire up the release branch to get merge queue support, as well? I forget where/how that happens.

@djc That's in the original plan but then the team has found out that it's technically impossible (GitHub restrictions, see rust-lang/team#2372 (comment)).

However auto-merge is enabled plus the contention is almost inexistent on backport targets so that should work as a second best.

@djc
Copy link
Copy Markdown
Contributor

djc commented Jun 5, 2026

I think it might still be good to have that configuration without wildcards (having to do a PR per minor release branch doesn't seem too bad).

@rami3l
Copy link
Copy Markdown
Member Author

rami3l commented Jun 5, 2026

@djc I would argue that the benefits of adding a merge queue is mostly that of auto merge + a bit of contention protection.

Actually, I have already added the same required checks as in trunk in addition to auto merge in https://github.com/rust-lang/team/pull/2437/changes, and given that I believe the CI quality itself should be the same.

As for the contending PR part, we shouldn't expect a lot of (>3) PRs open against the same backport target, so that part is also fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This is an issue which should be backported to the next patch release, or it is a backporting PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.