Use stack(s) to trigger a needinfo? for bugs where we have no bisection

Abierto
#6 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
c, cpp, python, rust
Área
tooling

Línea de trabajo

Empieza rastreando el manejo existente de Bugmon de las pilas de errores y hg annotate, y después investiga cómo podría identificarse el primer frame relevante .c, .cpp o .rs. Se considerará terminado cuando exista un enfoque acordado para activar needinfo?, gestionar a los antiguos desarrolladores mediante la propiedad cercana y tener en cuenta los commits de reformateo.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

For some bugs, like TSan or ASan Nightly issues, we usually don't have a bisection (esp. for issues that have been in the codebase for a long time or where we don't have a standalone testcase but a stack.

Using this stack, it would be nice if we could automatically trigger an initial needinfo? based on the first relevant frame. The challenges here are

  1. Finding the first non-generic frame. Sometimes there are a few generic frames on top of the stack that aren't relevant. My gut feeling tells me that we can find heuristics to work around this, e.g. pick the first frame that belongs to a .c|.cpp|.rs file (not .h) that is in our codebase.

  2. If the hg annotate turns up a developer no longer working at Mozilla (which is common for old code), we might have to check the surroundings for other developers that might be able to help.

  3. We have to deal with reformat commits (I believe we have a hg ext to do this already?)

Lenguaje dominante
Python
Estrellas
11
Forks
2
Merge medio
2 min
PR fusionados (30 d)
3

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MozillaSecurity/bugmon

Todos los issues de MozillaSecurity/bugmon

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.