[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 天 11 小时
- 30 天内合并 PR
- 588
环境准备
- 提供 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 于 10 天前认领。 未关闭
难度 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 于 38 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
CapSoftware/Cap#2305 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
CapSoftware/Cap#1714 · 3 条评论 ·
维护者通常 1 天内回复
-
Fresh CLI configs trigger legacy text migrations after editing可能已有人在做 @AksharP5 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 30/100
CapSoftware/Cap#3192 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 67/100
rust-bitcoin/rust-bitcoin#7089 · 1 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
area/tools bug session-analysis
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
[Bug]: Python OpenTelemetrySectionConfig has no file_sinks可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
NVIDIA/NeMo-Relay#1514 ·
维护者通常 1 天内回复
-
prompting proposal tool triaged
难度 2/5 1-3 小时 新手友好度 78/100
can1357/oh-my-pi#17041 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100
nix-community/fenix#262 ·