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

Explore showing script logs while a run is in progress

Đang mở
#41 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
38/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, database

Hướng nghiên cứu

Start by tracing the existing Job storage, polling, and finalization paths that collect log_* messages. Define bounded batched progress updates that preserve order, avoid duplicates, survive Script database rollback, retain messages after interruption, and keep access checks and sanitization; WebSockets and other streaming services are out of scope.

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

Mô tả

app: scripts complexity: high status: backlog type: feature
Plugin Version

v0.0.1

Proposed functionality

Explore displaying log_* messages before a run finishes. Structured script logs are currently collected at finalization, so polling Job status does not show that progress.

Start with bounded, batched updates using existing Job storage and polling. Define update frequency and size limits, preserve message order, and avoid duplicates when saving the final result.

Keep access checks and sanitization. Progress writes should survive the Script's database rollback, and saved messages should remain available after interrupted execution. A WebSocket service or general streaming platform is outside the initial scope.

Use case

For a Script processing many devices, progress messages help distinguish ongoing work from a stalled run. They also preserve context if the worker stops before finalization.

External dependencies

Evaluate existing Job storage and polling first. No new service is proposed.

Ngôn ngữ chính
Python
Star
8
Fork
0
Merge trung bình
11 giờ 35 phút
Pull request đã merge (30 ngày)
20

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 netbox-community/netbox-scripts

Tất cả issue của netbox-community/netbox-scripts

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.