matrix-org / matrix-org/mscbot-python
mscbot may not start FCP when using `@mscbot reviewed`
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 7
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza en command_handler.py alrededor de las líneas 169–172 y sigue el procesamiento del comentario de estado del FCP en curso del comando revisado. Asegúrate de que la actualización del comentario de estado del bot se procese de modo que FCP se inicie cuando hayan ocurrido suficientes ticks y, a continuación, verifica el comportamiento con las pruebas pertinentes del proyecto.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 50/100