Connector-centric registry: one place to add an integration
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python, typescript
- Área
- backend, backend-api-design, database, frontend
Línea de trabajo
Read docs/architecture-review.md first, then inspect the existing dispatch in src/dapier/engine/init.py, validation in src/dapier/triggers/email_triggers.py, and the designer catalog in designer/src/catalog.ts. A first incremental milestone is the registry wrapper described in migration step 1; run make test and consider it done when dispatch uses the registry while the existing tests still pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Full analysis in docs/architecture-review.md. The trigger→action engine is sound; what doesn't scale is that connector knowledge lives in four hand-maintained registries across two languages.
Problem
Adding one action today touches:
src/dapier/engine/actions/<x>.py- the
run_ximport + if/elif dispatch insrc/dapier/engine/__init__.py ACTION_SPECSvalidation insrc/dapier/triggers/email_triggers.py- the hand-mirrored
designer/src/catalog.ts(comment says "Mirrors the run_* dispatch")
Adding one trigger source touches:
worker.normalize_payloadbranchestemplate.yaml(per-source queue/table/env)api/router.pyhook routing- a
load_workflows()hook inmatching.all_workflows
Nothing links these copies; they drift silently. Related structural limits: no data flow between steps (blocks #6, #7, #12), O(all-workflows) resolution per event (published-table scan capped at 200, silently), and per-action auth folklore (credential_id vs connection_id vs auth_secret_id).
Proposal
src/dapier/connectors/<name>/— one package per integration: a manifest (label, events, actions + field schema),normalize(raw) -> eventper ingress it owns, andrun(action, ctx)per action. Aconnectors/registry.pyreplaces the dispatch chain,ACTION_SPECS, and the trigger-load hooks.GET /api/catalog— serve the manifests as JSON; the designer renders palette/inspector from it (keepcatalog.tsas a dev fallback). One registry, three consumers: engine dispatch, validation, UI.ActionContext—ctx.connection(name)→ live token (auto-refreshed), plus event, workflow, run id, and astepsnamespace so later steps can template earlier outputs (first enabler for #6).- One workflows table with a
connector#eventGSI — merge the published/email/hook/schedule stores; matching becomes a query per event instead of four scans + a linear pass. Instant-publish semantics unchanged. - Generic ingress — a route/queue/source → connector mapping with one ingress handler; per-connector queues become declared resources instead of
template.yamlsurgery.
Migration order (incremental, no big bang)
- Registry wrapping the existing
run_*functions; dispatch reads the registry. Tests keep passing. - Move
normalize_payloadbranches into connectors; keep the SQS contract. /api/catalog; designer consumes it; delete the TS mirror andACTION_SPECSduplication.ActionContext+steps+ unifiedconnection_id(keepcredential_id/auth_secret_idas deprecated aliases).- Single workflows table + trigger GSI.
- Then #6/#7/#10 become small changes on top instead of structural ones.
The 23 src/*.py back-compat shims are already removed (2026-09-25); make test was 426 passing at filing time.
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 6 min
- PR fusionados (30 d)
- 10
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 DataTalksClub/dapier
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
DataTalksClub/dapier#25 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
DataTalksClub/dapier#9 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de DataTalksClub/dapier
Issues similares
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)Posiblemente ocupada @geyazheng la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
langchain-ai/langchain-aws#1469 ·
Los mantenedores suelen responder en 1 día
-
GCToggler leaves collection enabled if the body re-enables itPosiblemente ocupada @Gambit-Checkmate la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 7 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
EESSI/docs#949 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
doronz88/pymobiledevice3#2176 ·
Los mantenedores suelen responder en 1 día
-
b4b usability
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día