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

Complete recording coordination and recoverable stop semantics

Đang mở
#3,745 0 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
android, ios, typescript
Lĩnh vực
mobile, tooling

Hướng nghiên cứu

Start with the linked Proposed ADR 0024 (docs/adr/0024-screen-recording-provable-signal.md) and the accepted-ADR follow-up under #3744, since this issue is an ordered design plan rather than a code edit. Coordinate with #2376 on process identity before touching any backend. Done means each backend (iOS, Android, HarmonyOS, transport) passes ordinary stop, recovery, retry, and stale-owner tests, and the superseded recovery controls are removed.

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

Mô tả

backlog enhancement

Purpose

Finish the shared recording lifecycle without loss of recoverable output. This continues the Proposed ADR 0024 (screen recording: one coordinator, two facts). Its implemented decisions move to an accepted ADR under #3744, and the proposal is then deleted.

Required behavior

  • Track export completion and recorder termination as two independent facts.
  • Keep the native-path disposition together with both facts.
  • Use one coordinator for a live stop and for an authorized recovery.
  • Keep signal selection and identity checks inside each backend.
  • Keep the manifest and the ownership fence.
  • Before a replacement, retain unresolved recordings by fence generation.
  • Return a playable committed export together with its recorder observation.
  • If collection, finalization, or commit fails, keep the retry material.
  • After the export completes, let recovery settle an unresolved termination.

Completion conditions

  • Each supported backend proves an ordinary stop, recovery after daemon loss, a retry after failed collection, and refusal of a stale owner.
  • A retry cannot apply processing twice.
  • A replacement cannot overwrite unresolved evidence.
  • The superseded recording recovery controls are removed only after equivalent behavior is proven.
  • HarmonyOS and transport recording use the shared finish sequence.

Decisions so far

  • Uncertain process identity is not a reason to discard usable output.
  • No public probe or signal levels: backends own the sequence.
  • Process markers are not a second lifecycle store. Keep markers only for launch windows that nothing else covers.
  • Recovery does not signal independently: that would bypass the coordinator guards.
  • Unresolved evidence is never retired.
  • Below Android API 34, keep the rotation. Evaluate unlimited recording on API 34+ separately.

Dependencies

  • Coordinate process identity with #2376.
  • Change other durable kinds only with their own failed-finish evidence.

Source proposal: https://github.com/callstack/agent-device/blob/0149438faf/docs/adr/0024-screen-recording-provable-signal.md

Ngôn ngữ chính
TypeScript
Star
5.1k
Fork
339
Merge trung bình
12 giờ 50 phút
Pull request đã merge (30 ngày)
632

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 callstack/agent-device

Tất cả issue của callstack/agent-device

Issue tương tự

Thêm issue về TypeScript

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.