Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Proposal][desktop-gpui] Startup Upload Health Check & Pre-Recording Bandwidth Diagnostics (follow-up to #73 / #3188)

Aperta
#3,218 1 commento 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
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
desktop

Direzione di ricerca

This is a design proposal awaiting a maintainer decision (Option A vs B) on apps/desktop-gpui before any code should be written. Start by reading apps/desktop-gpui/src/upload.rs, diagnostics.rs, recording.rs and main_window.rs to understand the existing upload client and header handling, and review the linked prior discussion in #3188 and #73. Done means an aligned product decision plus implementation of the startup health check, warning badge, and pre-recording speed probe with cancellation via saturating_sub/checked_sub.

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

Descrizione

Following up on @richiemcilroy's feedback on #3188 (and #73) regarding the transition from legacy apps/desktop (Tauri) to the native GPUI app (apps/desktop-gpui), opening this issue first so we can align on the product behavior before writing any code.

Proposed Scope for apps/desktop-gpui
  1. Startup Upload Connectivity & Storage Health Check (apps/desktop-gpui/src/upload.rs & diagnostics.rs)

    • Run a lightweight, non-blocking startup check using the existing authenticated client (preserving apply_env_headers / preview bypass headers) and verifying actual S3/storage write readiness rather than a no-op body discard.
    • Surface a subtle warning badge in main_window.rs if upload connectivity or storage reachability is degraded, with a one-click diagnostics detail view.
  2. Pre-Recording Upload Speed Probe & Resolution Behavior (apps/desktop-gpui/src/recording.rs)

    • Execute a one-shot probe prior to recording start (cancelled immediately before clean_capture::prepare on all platforms including Linux, using Duration::saturating_sub / checked_sub).
    • Product Question for @richiemcilroy: For apps/desktop-gpui, would you prefer:
      • (Option A - Advisory Warning / Opt-in): Keep the user's selected capture resolution intact by default and show a non-intrusive recommendation banner when upload throughput is below threshold, or
      • (Option B - Automatic Instant-Mode Cap): Automatically cap resolution only for Instant Mode recordings (where real-time chunk upload matters) while leaving Studio Mode at full Resolution::Captured?

Happy to adjust the design to match your roadmap for apps/desktop-gpui before submitting a PR.

Lingua principale
Rust
Stelle
23.7k
Fork
2.1k
Merge medio
1g 2h
PR unite (30g)
705

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 CapSoftware/Cap

Tutte le issue di CapSoftware/Cap

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.