Reports: crash/error fingerprint so duplicates group, and Report issue searches before opening a new one

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

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
rust, tauri, typescript

Línea de trabajo

Start with fingerprint() in apps/desktop/src/lib/errors/report.ts:442 and the in-session dedupe in errors.svelte.ts:60, then trace how ErrorReport/Diagnostics serialize the Rust crash file. Compare that with the "Report issue" flow in ErrorPanel.svelte (~:160) and the manual dedupe in docs/labels.md. Done means the Rust and TS fingerprints match on the real value (contract test), the same function at different lines yields the same fingerprint, and the search URL is offered before a new issue is opened.

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

Descripción

area: cli area: desktop priority: 2 normal status: confirmed type: feature

Roadmap item (tracking: #289). From a read-only code audit at main (9c32731); key claims re-checked in code where marked verified. [INFERENCE] = not observed at runtime.

Problem

fingerprint() (apps/desktop/src/lib/errors/report.ts:442) only dedupes toasts in-session (errors.svelte.ts:60); issueUrl carries none; "Report issue" (ErrorPanel.svelte ~:160) always opens a new issue; Rust crash files have no fingerprint; docs/labels.md dedupes by hand.

Proposal

One fingerprint computed in Rust (normalized message + first app frame), serialized through ErrorReport/Diagnostics, written in crash files and issue bodies; "Report issue" first offers issues?q=<fingerprint>.

Acceptance

  • Rust and TS fingerprints match (contract test on the real value); same function at different lines -> same fingerprint; search offered before new issue.
Lenguaje dominante
Rust
Estrellas
3
Forks
1
Merge medio
9 h 51 min
PR fusionados (30 d)
310

Preparar el entorno

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 codeatlasdev/atlas

Todos los issues de codeatlasdev/atlas

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.