Conversation drawer shows the previous attack's conversations after switching attacks
Los mantenedores suelen responder en 2 días
@ManoharPaturi ya está trabajando en esto.
Desde el 27/10/2026.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- react, typescript
- Área
- frontend
Línea de trabajo
Empieza en ConversationPanel.tsx y sigue el restablecimiento durante la fase de renderizado y el estado de la solicitud de conversaciones cuando cambia attackResultId. Borra las conversaciones, el ID principal y el error del ataque anterior, y mantén visible el estado de carga hasta que se resuelva la nueva solicitud. Verifícalo cambiando entre ataques con conversaciones abiertas y confirmando que no aparezcan filas ni acciones anteriores durante la carga.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
The conversation panel keeps a single component instance across attack switches, and its state reset block only clears the loaded conversations when the new attack id is null. Switching from one attack to another therefore leaves the previous attack's conversation list rendered under the new attack's header until the new fetch resolves, with no loading indicator.
During that window a row click hands the old attack's conversation id to the new attack's context, and the star action can promote an old attack's conversation as the new attack's main conversation. The Chat route keeps the panel mounted across attack changes and forces the drawer open whenever related conversations exist, so the stale window is directly reachable by navigating between attacks.
Expected Behavior
Switching attacks should clear the previous attack's conversations, clear the main id and error, and show the loading state until the new attack's conversations resolve, mirroring the mount behavior.
Reproduction Steps
- Open an attack with conversations and the conversation drawer open.
- Navigate to a second attack.
- The drawer immediately shows the first attack's conversations under the second attack's header.
Minimal Reproduction
The render phase reset in ConversationPanel.tsx gates every setter behind if (!attackResultId).
Environment
PyRIT main.
- Lenguaje dominante
- Python
- Estrellas
- 4.7k
- Forks
- 980
- Merge medio
- 2 d 9 h
- PR fusionados (30 d)
- 422
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin 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.
Más de microsoft/PyRIT
-
BUG: Garak and ML-VLSU loaders still load one example when max_examples is 0 or negativePosiblemente ocupada @ShivamSharma43 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
BUG: ComicJailbreak max_examples counts goals that render nothing, so templates=["code"] with max_examples=10 failsPosiblemente ocupada @ShivamSharma43 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 2 días
-
BUG: SeedDatasetFilter matches harm_categories, modalities and size case-sensitively, unlike tagsPosiblemente ocupada @ShivamSharma43 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
Conversation draft turns permanently dirty when applied conversions match no piecePosiblemente ocupada @ManoharPaturi la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
microsoft/PyRIT#3573 · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Analytics page treats a bare # fragment as a malformed link and disables the dashboardPosiblemente ocupada @ManoharPaturi la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
microsoft/PyRIT#3571 · 1 asignado ·
Los mantenedores suelen responder en 2 días
Todos los issues de microsoft/PyRIT
Issues similares
-
backlog
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
EchoTools/nevr-runtime#1108 ·
Los mantenedores suelen responder en 1 día
-
parse names a key after a top-level multi() threshold Bitcoin Core v31.1 refuses as not validAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
btclib-org/btclib-wallet#587 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Judgment-Pack/judgment-pack-spec#275 ·
Los mantenedores suelen responder en 1 día