Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#3,218 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
23.7k
Fork
2.1k
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
661

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CapSoftware/Cap

Tất cả issue của CapSoftware/Cap

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.