Skip to content

turn merge queue into a struct to support config option#2344

Merged
marcoieni merged 1 commit intomainfrom
turn-merge-queue-into-a-struct-to-support-config-option
Mar 25, 2026
Merged

turn merge queue into a struct to support config option#2344
marcoieni merged 1 commit intomainfrom
turn-merge-queue-into-a-struct-to-support-config-option

Conversation

@marcoieni
Copy link
Member

@marcoieni marcoieni commented Mar 25, 2026

We want to allow people to configure merge queues (see #1735 (comment)).

@github-actions
Copy link

Dry-run check results

[WARN  rust_team::sync] sync-team is running in dry mode, no changes will be applied.
[INFO  rust_team::sync] synchronizing crates-io
[INFO  rust_team::sync] synchronizing github

})
.collect(),
merge_queue: b.merge_queue,
merge_queue: b.merge_queue.enabled,
Copy link
Member Author

@marcoieni marcoieni Mar 25, 2026

Choose a reason for hiding this comment

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

this allows to keep the v1 API retro compatible (at least for now)

@marcoieni marcoieni marked this pull request as ready for review March 25, 2026 08:24
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.

It would be slightly nicer if we could just use merge-queue = true to use the defaults, rather than always having to expand the config, but that's not super important.

@marcoieni
Copy link
Member Author

Having to support both merge-queue = true and merge-queue = { enabled = true } complicates the team codebase I think, so I would stick to this solution for now 👍

@marcoieni marcoieni added this pull request to the merge queue Mar 25, 2026
Merged via the queue into main with commit 7ff1220 Mar 25, 2026
3 checks passed
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