Skip to content

Add possibility to add the team list for close and postpone commands - #366

Merged
Mark-Simulacrum merged 1 commit into
rust-lang:masterfrom
GuillaumeGomez:postpone-close-teams
Sep 24, 2026
Merged

Mark-Simulacrum merged 1 commit into
rust-lang:masterfrom
GuillaumeGomez:postpone-close-teams

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

It happened a few times in the mdbook repository that I tried to use fcp close mdbook which failed because the close command doesn't support it. So while I was at it, I added it for postpone too.

@GuillaumeGomez

Copy link
Copy Markdown
Member Author

There is no CI? O.o

@GuillaumeGomez

Copy link
Copy Markdown
Member Author

cc @Mark-Simulacrum

Comment thread src/github/command.rs
],
justification!(),
RfcBotCommand::FcpPropose(FcpDispositionData::Close(Some(
["T-avengers", "justice-league"].iter().copied().collect()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not sure what the point of actually storing these is. There's nothing useful we can do with teams for close or postpone. I don't really mind accepting teams and treating it as a no-op, but I think we should drop that information as soon as possible (i.e., during parsing).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

They're used in the same way as for merge, so I don't really understand your comment.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Adding more context: in the mdbook repository, I don't want to add the T-mdbook on each issue/PR where I want to start an FCP. When it's fcp merge, I can add mdbook and it'll work. But fcp close mdbook doesn't work. What this PR does is allowing the mdbook team to use fcp close mdbook command so we don't have to add the T-mdbook label.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think I was thinking of something else (cancel?) when I said that, sorry. This seems fine.

@Mark-Simulacrum
Mark-Simulacrum merged commit abc6e31 into rust-lang:master Sep 24, 2026
1 check passed
@GuillaumeGomez
GuillaumeGomez deleted the postpone-close-teams branch September 25, 2026 08:46
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