start DIN daemon
Los mantenedores suelen responder en 1 día
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Branch: feat/din-daemon (branch off feat/din-sdk until the SDK merges into develop, then rebase onto develop)
Assignee: @Santiagocetran
Roadmap ref: P4-1.1 (dind Daemon Framework) and the P4 daemon work-package series · P3-DOC7 (architecture spec)
Long-running issue (expected to stay open 1–2 months). A detailed task file under
Developer/tasks/will follow — this issue tracks the overall effort, not a weekly task.
Goal
Build dind, the DIN daemon: an always-on host process that automates network participation (task discovery, job execution, coordination) across client/auditor/aggregator roles, per the P4 phase of Developer/ROADMAP.md.
Relationship to the DIN-SDK
dind does not reimplement CLI logic. All protocol logic lives in dincli/sdk/ (see the "start DIN-SDK" issue). SDK functions return JSON outputs; dind consumes that JSON to update its configuration and drive its job queue, while the CLI consumes the same JSON for terminal UI/UX. The SDK's JSON interface is therefore a prerequisite for daemon job execution — daemon scaffolding (event loop, state store, process lifecycle) can start in parallel, but role automation depends on the SDK.
Scope (initial framework — P4-1.1)
- Daemon process architecture: event loop, job scheduler/queue, persistent state store (SQLite or JSON-backed — document the tradeoff)
- Graceful SIGTERM handling from day one (carry forward the P3-T0.2a pattern)
- Structured JSON logging from day one (carry forward the P3-T0.2d pattern)
- Basic CLI:
dind start,dind stop,dind status - HTTP
/healthendpoint (carry forward the P3-T0.2c pattern; extend with a resource summary) -
systemd/launchdunit examples - Configuration/job-queue updates driven by SDK JSON outputs
Later P4 work packages (preferences, capability detection, task discovery/recommendation, role automation, event listening — P4-2.x through P4-7.x) will be tracked as follow-up task files against this issue.
References
Developer/ROADMAP.md— P4 phase overview and work packages P4-1.1 → P4-9.2Developer/issues/validator-operations.md— Phase 2 "Daemon Operations" (/health, structured stdout logging)Developer/issues/containerization.md— Phase 5 "Daemon Integration" (same container runner used fromdind; hostdincli/dindowns wallet, network, contracts, task selection, submissions)- P3-DOC7 (dind Architecture Document, authored by Umer) precedes implementation of the automation layers
Branching note
Two branches, not one: feat/din-sdk is a refactor of existing code that should merge into develop early; feat/din-daemon is new code consuming the SDK. Keeping them separate keeps PRs reviewable and lets the SDK land without waiting on the daemon.
- Lenguaje dominante
- Python
- Estrellas
- 4
- Forks
- 7
- Merge medio
- 3 d 5 h
- PR fusionados (30 d)
- 34
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 InfiniteZeroFoundation/DevNet
-
ROADMAP.md: refresh "What is still open for P3" (several items were fixed in October)Posiblemente ocupada @umermjd11 la tomó hace 4 días. Abiertodocumentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
InfiniteZeroFoundation/DevNet#285 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Update the 25 translated organisation READMEs to match the English versionPosiblemente ocupada @mrCabez la tomó hace 2 días. Abiertogood first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
InfiniteZeroFoundation/DevNet#277 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Update the client-service guide to explain training and uploading separatelyPosiblemente ocupada @Santiagocetran la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
InfiniteZeroFoundation/DevNet#266 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Few questions related to GI2 aggregatorPosiblemente ocupada @Abidoyesimze la tomó hace 1 día. Abierto
InfiniteZeroFoundation/DevNet#307 · 1 reacción · 4 asignados ·
Los mantenedores suelen responder en 1 día
-
bug python
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
InfiniteZeroFoundation/DevNet#306 ·
Los mantenedores suelen responder en 1 día
Todos los issues de InfiniteZeroFoundation/DevNet
Issues similares
-
ReadQwen3PaperTask5 rejects correct answers that differ only in order, case, or underscore formPosiblemente ocupada @Kingpython123 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Tongyi-MAI/MobileWorld#72 ·
-
_threads/application: Update typing annotations using `pyupgrade --py311-plus`Posiblemente ocupada @gudnimg la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Health probes return 401 when authentication is enabled and the API is served under /orbPosiblemente ocupada @fgogolli la tomó hoy. Abiertoarea: api priority: p2 size: S type: bug
Dificultad 2/5 Medio día Aptitud para principiantes 75/100
finos/open-resource-broker#704 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
BCDA-APS/polar-bits#93 ·
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
GoogleCloudPlatform/gce-rescue#218 ·
Los mantenedores suelen responder en 2 días