Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Logging: full AppHandle Debug dump on every line of transcribe_audio (≈96% of log size)

Offen
#2,367 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust, tauri

Rechercherichtung

Start at the Rust transcribe_audio entry point and inspect its #[instrument] fields, the per-chunk resampling logs, and the System audio dropping frames warning. Check the RollingFileAppender configuration for the filename suffix. Done means AppHandle data is excluded from routine events, chunk and unchanged-drop logs are less noisy, and generated daily log filenames end in .log.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug
Description

The transcribe_audio span includes app: AppHandle without skip, so every event inside it
prints the full AppHandle Debug output (~9 KB: Tauri config, CSP, plugin list, state TypeIds...).
Combined with per-chunk INFO logging during resampling (Processing chunk N /
Successfully resampled chunk N, 818 lines for one 14-min file), a single transcription attempt
produced a 7.7 MB log: 950 lines, 837 of them with the dump. Without the dumps it's 322 KB.

Suggested:
  • #[instrument(skip(app))] on transcribe_audio (and any other command taking AppHandle).
  • Per-chunk progress at DEBUG/TRACE, or one progress line per N%.
  • Minor: daily log files are named cap-desktop.log.2026-09-28; macOS doesn't treat them as
    logs (no Console.app double-click). RollingFileAppender::builder().filename_suffix("log")
    would give cap-desktop.2026-09-28.log.
  • Minor: System audio dropping frames WARN is repeated every 5 s even when the drop counter
    hasn't changed.
Additional Context
  • Cap version: 0.6.0
  • Operating system, version: 26.2 (25C56)
  • Device (optional): Macbook M1

cap-desktop-2.log

Vorherrschende Sprache
Rust
Sterne
22.8k
Forks
2k
Ø Merge
10 Std. 44 Min.
Gemergte PRs (30 T.)
88

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CapSoftware/Cap

Alle Issues in CapSoftware/Cap

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.