Explore showing script logs while a run is in progress
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
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ả
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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của netbox-community/netbox-scripts
-
app: scripts severity: medium status: backlog type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
netbox-community/netbox-scripts#83 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app: scripts status: backlog type: documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
netbox-community/netbox-scripts#80 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app: scripts severity: medium status: backlog type: bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
netbox-community/netbox-scripts#79 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app: scripts severity: medium status: backlog type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
netbox-community/netbox-scripts#77 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app: scripts severity: low status: backlog type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
netbox-community/netbox-scripts#76 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của netbox-community/netbox-scripts
Issue tương tự
-
infrastructure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NatLabRockies/H2Integrate#977 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
topoteretes/cognee#6470 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
area:docs priority:p2 type:docs wave:9
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
jejjohnson/radtrax#293 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug core plugins
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
bunkerity/bunkerweb#4121 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày