feat(framework): upload out of band, never at the session's expense

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

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
25/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ệ
typescript
Lĩnh vực
backend, cloud

Hướng nghiên cứu

No files, tests, or entry points are identified in the issue. Start by locating the session data sink, the local retention queue, and the redaction path referenced by #655; then determine how upload can remain out of band. Done requires the listed delivery, retry, retention, redaction, disabling, and duplicate-batch behaviors to be asserted.

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

Mô tả

Outcome

Measured data reaches a hosted dashboard reliably, and never at the cost of the session that produced it.

Scope

#652 claims the upload in its boundaries and no issue builds it. #656 reports across repositories and people, which is impossible while data expires locally on N laptops.

  • Includes: what is sent — the run journal and the aggregates, never raw telemetry payloads.
  • Includes: authentication, and where the credential lives. Not in a committed file.
  • Includes: batching, retry with backoff, and idempotency, so a retried batch does not double a figure.
  • Includes: backpressure and a bounded local queue, so an unreachable endpoint degrades rather than grows without limit.
  • Includes: upload before local expiry. The sink's retention floor becomes a function of the upload cadence, or data is lost between the two.
  • Includes: the redaction of #655 applied on this path, before anything leaves.
  • Excludes: the hosted side — storage schema, tenancy, query model, server retention. That is the dashboard's product, not this repository's.
  • Excludes: any behaviour that blocks, delays or alters a session. Upload is out of band, always.

Done When

  • A session is unaffected in duration and outcome whether the endpoint is reachable, slow or absent.
  • A batch delivered twice produces one figure, asserted against a duplicate delivery.
  • An endpoint down for a day loses nothing, and an endpoint down past the retention bound says what it lost rather than silently truncating.
  • Nothing the redaction list forbids appears in a captured request body.
  • Disabling upload stops it immediately and leaves local reading intact.

Completion Evidence

A capture of what actually left the machine over a working week, checked against the redaction list, with the delivered totals matching the local ones.

Relations

Field Value
parent #652
depends_on #647, #655
blocks #656
Ngôn ngữ chính
TypeScript
Star
481
Fork
45
Merge trung bình
17 giờ 40 phút
Pull request đã merge (30 ngày)
106

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 ai-driven-dev/framework

Tất cả issue của ai-driven-dev/framework

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.