Live import updates

Đang mở
#23 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
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Start by reading ADR-0013 and the related issues #15, #19, #22, and #14 to understand the existing metadata, Replay, and retry boundaries. Then trace how serve, acquire, ingest, and report expose import changes and how the browser receives updates. The proposal should settle the change-detection and server-push questions, define the shared problem list, and cover the listed live views, status, and problem notifications.

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

Mô tả

roadmap

Size: M · Depends on: IgniteRobotics/flashpoint#17, IgniteRobotics/flashpoint-private#71 · OpenSpec: not proposed yet

Status

Status: planned 2026-10-19. Not proposed yet.

Scope

Today the app only shows new data after serve restarts or someone runs flashpoint report (#15), and import problems are only visible in flashpoint doctor, log lines and SQL. During an event, logs arrive every few minutes through the acquire watch, so a student watching the app sees a match list that is stale and never hears that a file was quarantined.

  • Views update as imports happen:
    • serve notices lake changes made by other processes (the acquire watch, flashpoint ingest, flashpoint report) without a restart, and pushes them to open browsers;
    • Replay's match list gains new matches; an open match whose data was rebuilt reloads in place, with a notice and without moving the cursor;
    • History and Anomalies refresh their data and badges;
    • fixes IgniteRobotics/flashpoint#15: Replay data is rebuilt after any import that changes a match, not only after the watch cycle.
  • Import activity in the shell: a header indicator (idle / pulling from robot / importing N files / building Replay) and an activity feed: file pulled, imported, imported with warnings, quarantined (with reason), Replay rebuilt.
  • Problems surfaced as they happen, each linked to its match in Replay:
    • import: quarantined files, incomplete-read, short-coverage, truncated bytes, orphan records, failed pulls, low space on the robot;
    • data: a session missing a bus's hoot, declared signals missing, unmapped devices, logs with no CAN inventory (legacy identity), low-confidence or disagreeing clock alignment, sessions with no match key or fallback framing.
  • One problem list, two views: this change defines the problem list and the live feed. The Import status view (#19) builds the per-event audit table on the same list.
  • Read-only: re-import and retry stay on the CLI (#14 tracks retrying machine-error quarantines).

Open questions for the proposal

  • How serve learns about changes: poll a change cursor (the ledger's files.updated, acquire-status.json, the Replay index) or have writers append to a small change journal. ADR-0013 says the API reads meta snapshots, never the SQLite ledger, so either the problems are exported to meta or that ADR is amended.
  • Server push: share the server-sent-event channel with Live CAN health (#22); whichever change lands first builds it.
  • Desktop notifications for problems (optional, browser permission).
Ngôn ngữ chính
Python
Star
0
Fork
1
Merge trung bình
18 giờ 37 phút
Pull request đã merge (30 ngày)
15

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 IgniteRobotics/flashpoint

Tất cả issue của IgniteRobotics/flashpoint

Issue tương tự

Thêm issue về Python

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.