Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Explore showing script logs while a run is in progress

Aperta
#41 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend, database

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
8
Fork
0
Merge medio
11h 35m
PR unite (30g)
20

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di netbox-community/netbox-scripts

Tutte le issue di netbox-community/netbox-scripts

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.