Re-render under running processes: `pull`/`checkout`, non-rendered content, `--json`, and which action restarts

Đang mở
#274 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
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
cli

Hướng nghiên cứu

Start with manager/stale_render.rs and the use/drop handling from #266, then trace how pull and checkout re-render and how undo chooses a long-running action. Decide whether tracker-content changes under reads trigger restarts, add --json reporting for use/drop, and settle on one restart action rule; done when these gaps behave consistently.

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

Mô tả

#266 (for #249) makes tracker use/drop restart or warn about running processes after a render changed a file under them. Gaps it left:

  • tracker pull and tracker checkout re-render too and still say nothing. The helper in manager/stale_render.rs would cover them.
  • Only rendered files are compared. If a use brings back a secret tracker's own .env.local (content, not a render), a running process reading it goes stale silently. Should tracker-content changes under reads count too?
  • No --json for use/drop, so the stale/restarted report is human-only (stderr).
  • Which action gets restarted differs from undo. #266 restarts the autostart action, falling back to the first long-running one; undo uses the first long-running one. They can disagree when a resource has two long-running actions. Pick one rule.
Ngôn ngữ chính
Rust
Star
0
Fork
0
Merge trung bình
7 giờ 15 phút
Pull request đã merge (30 ngày)
87

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

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. 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 Spheroman/newgit

Tất cả issue của Spheroman/newgit

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.