[Proposal][desktop-gpui] Startup Upload Health Check & Pre-Recording Bandwidth Diagnostics (follow-up to #73 / #3188)
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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
-
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.rsif upload connectivity or storage reachability is degraded, with a one-click diagnostics detail view.
- Run a lightweight, non-blocking startup check using the existing authenticated client (preserving
-
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::prepareon all platforms including Linux, usingDuration::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?
- Execute a one-shot probe prior to recording start (cancelled immediately before
Happy to adjust the design to match your roadmap for apps/desktop-gpui before submitting a PR.
- 主要語言
- Rust
- 星號
- 23.7k
- 分支
- 2.1k
- 平均合併
- 1 天 7 小時
- 30 天內合併 PR
- 697
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CapSoftware/Cap 的其他 Issue
-
Web player intercepts ⌘⇧M and blocks Chrome profile-menu shortcut可能已有人在做 @AatmanAJ 於 11 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 80/100
CapSoftware/Cap#2596 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
CapSoftware/Cap#2384 · 2 則留言 ·
維護者通常 1 天內回覆
-
Dashboard pagination causes full page reloads on self-hosted Cap可能已有人在做 @Dewin 於 39 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 88/100
CapSoftware/Cap#2305 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
CapSoftware/Cap#1714 · 3 則留言 ·
維護者通常 1 天內回覆
-
Native Instant uploads send duplicate Content-Type headers, failing on some S3-compatible backends可能已有人在做 @bestgopher 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 20/100
CapSoftware/Cap#3462 · 1 則留言 ·
維護者通常 1 天內回覆
相似的 Issue
-
QuartoHub: have the Document name before the filename in the browser tab可能已有人在做 @cscheid 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 68/100
quarto-dev/q2#930 · 1 則留言 ·
維護者通常 1 天內回覆
-
muse P3
難度 2/5 1-3 小時 新手友好度 76/100
HerringtonDarkholme/hd-lang#923 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
longbridge/gpui-kit#3712 ·
維護者通常 1 天內回覆
-
documentation enhancement SIEM
難度 2/5 1-3 小時 新手友好度 82/100
ADORSYS-GIS/wazuh-agent-status#265 ·
維護者通常 2 天內回覆