A committed run is reported as unfinished when its events cannot be queued
Los mantenedores suelen responder en 1 día
@pheus ya está trabajando en esto.
Desde el 6/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Plugin Version
v0.0.1
NetBox Version
v4.7.4
Python Version
3.12
Steps to Reproduce
- Create a Webhook and an Event Rule that triggers it when a Tag is created.
- Upload and activate a Project containing this Script File,
deploy.py:from extras.models import Tag from netbox_scripts import Script class MakeTag(Script): def run(self, data, commit): Tag.objects.create(name='From Revision', slug='from-revision') self.log_success('The tag was created.') - Stop Redis and run the Script in the calling process:
python netbox/manage.py runcustomscript deploy.MakeTag --commit - Open the Job result and check the Tags list.
Expected Behavior
The Job should make clear that the Script finished and its database changes were committed, but event processing failed. It should not suggest that the Script itself failed to finish, as running it again could duplicate the changes.
Observed Behavior
The Tag "From Revision" exists, and the Script log contains "The tag was created." without reporting a rollback.
However, the Job is marked Failed and reports:
The Script did not finish: Error 111 connecting to localhost:6379. Connection refused.
The database changes have already been committed. An operator relying on the Job message could run the Script again and apply its changes twice.
The same misleading message can result from other errors raised while NetBox processes events after the transaction has committed.
- Lenguaje dominante
- Python
- Estrellas
- 8
- Forks
- 0
- Merge medio
- 11 h 22 min
- PR fusionados (30 d)
- 40
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de netbox-community/netbox-scripts
-
app: scripts Bucket: Improve status: backlog type: documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
netbox-community/netbox-scripts#80 ·
Los mantenedores suelen responder en 1 día
-
app: scripts Bucket: KTLO severity: low status: backlog type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
netbox-community/netbox-scripts#76 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Raise the minimum NetBox version to v4.7.5Posiblemente ocupada @pheus la tomó hace 2 días. Abiertoapp: scripts Bucket: KTLO status: backlog type: housekeeping
netbox-community/netbox-scripts#123 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Failed post-commit callback reports committed changes as reverted and drops eventsPosiblemente ocupada @pheus la tomó hace 2 días. Abiertoapp: scripts Bucket: KTLO severity: low status: accepted type: bug
netbox-community/netbox-scripts#121 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Migration does not identify which permissions need recreatingPosiblemente ocupada @pheus la tomó hace 2 días. Abiertoapp: scripts Bucket: KTLO severity: low status: accepted type: bug
netbox-community/netbox-scripts#120 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de netbox-community/netbox-scripts
Issues similares
-
S9.7: Methodology pageAbiertoarea: web priority: P1 story
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
nfiasco/Quant-Time-Machine#151 ·
Los mantenedores suelen responder en 1 día
-
Broken links found in docsAbiertodocs pydanty:is-working
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
pydantic/pydantic-ai#12892 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
Azure/azure-sdk-for-python#49886 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Core] Deprecated(error=True) raises only on the first call; later calls run the removed APIPosiblemente ocupada @wguo7 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ray-project/ray#67965 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
btclib-org/btclib#3006 ·
Los mantenedores suelen responder en 1 día