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

Aperta
#320 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust, tauri, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Rust
Stelle
3
Fork
1
Merge medio
9h 51m
PR unite (30g)
310

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codeatlasdev/atlas

Tutte le issue di codeatlasdev/atlas

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.