matrix-org / matrix-org/mscbot-python
mscbot may not start FCP when using `@mscbot reviewed`
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 7
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
One can use `@mscbot reviewed` to automatically check the box for themselves in an ongoing FCP status comment. The bot will also unconditionally ignore all comments and comment edits from itself.
When designing the `reviewed` command, it was incorrectly assumed that updating the status comment would then have the knock-on effect of starting FCP if enough ticks had happened. Instead, the edit is ignored as it comes from the bot.
A fix would simply involve manually calling `_process_status_comment_update_with_body` below https://github.com/matrix-org/mscbot-python/blob/fd6027708fd6ce08767556689470a6759c8af4ef/command_handler.py#L169-L172
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia in command_handler.py intorno alle righe 169–172 e segui la gestione del commento di stato dell’FCP in corso relativo al comando esaminato. Assicurati che l’aggiornamento del commento di stato del bot venga elaborato in modo che FCP inizi quando si siano verificati abbastanza tick, quindi verifica il comportamento con i test pertinenti del progetto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 50/100