rust-lang / triagebot

Automation/tooling for Rust spaces
https://triage.rust-lang.org
Apache License 2.0
169 stars 75 forks source link

Add detail about how to raise MCP concerns #1747

Closed apiraino closed 7 months ago

apiraino commented 7 months ago

During the weekly T-compiler triage meetings we list all MCPs in different stages of progress. Some of them are blocked on concerns not yet resolved. We would like to list these open concerns so that meeting attendees have a glance why an MCP is not seconded or does not move forward.

In order to automate this when creating the meeting agenda it is useful if people respect a standard syntax for that so I can machine parse the issue comments and with a bit of regexps extract the relevant info.

Current message when opening a MCP:

![screenshot-20231113-150350](https://github.com/rust-lang/triagebot/assets/6098822/4f351c37-8d8a-4cf6-a120-402300f0cbec)

The new version should look like this

![screenshot-20231113-150509](https://github.com/rust-lang/triagebot/assets/6098822/937ebef5-d4a8-4cdb-b640-27d75dc86c3d)

Note: the @rustbot syntax here won't trigger anything, It's just a psychological trick to make it look like that a command is executed but in reality it's just to facilitate the machine parsing for me.

Idea mentioned on Zulip.

Documentation update for forge.rust-lang.org: https://github.com/rust-lang/rust-forge/pull/709

Thanks for looking at this patch!

r? @Mark-Simulacrum / @ehuss

apiraino commented 7 months ago

hey gentle ping: could this be useful?

cc: @Mark-Simulacrum / @ehuss

thanks

Mark-Simulacrum commented 7 months ago

I'm not a huge fan of not triggering anything in response to the (fake) command. Are we going to post an error?

@rustbot concern foo bar baz

Mark-Simulacrum commented 7 months ago

I guess no error. I think this is fine but maybe we can say a bit more instead of register - e.g., "formally declare an objection"? It might also be good to have docs we can link to on the actual process here - e.g., should folks clear the concern somehow?

apiraino commented 7 months ago

I agree. It's a hack and not particularly very elegant. But if you think that providing enough context and documentation makes it palatable, I'm happy to do that!

Mark-Simulacrum commented 7 months ago

Yep, I'm happy to merge with some extra context (in the comment or in some doc we link to about the process as a whole).

apiraino commented 7 months ago

ok @Mark-Simulacrum updated the text (hope I got the newlines right), the syntax we will be suggesting reflects the FCP one:

@rustbot concern reason-for-concern

<description of the concern>

and

@rustbot resolve reason-for-concern

Updated the documentation at the forge: https://github.com/rust-lang/rust-forge/pull/709

apiraino commented 7 months ago

@Mark-Simulacrum gentle nudge. thanks.