Managed-like UX for dpone¶
dpone includes self-service commands that help users diagnose their environment, generate manifests, preview execution plans, inspect state, write run artifacts, certify connectors, tune performance, and scaffold community connectors.
For Airflow, the default managed-like path is the indexed-v2 self-service plane. The GitOps Airflow runner pack is an advanced compatibility path for custom-image deployments, not the beginner or default self-service workflow.
Fast path¶
dpone doctor --profile local
dpone init \
--source-type postgres \
--sink-type mssql \
--source-connection pg_src \
--sink-connection mssql_dwh \
--source-schema public \
--source-table orders \
--target-schema landing \
--target-table orders \
--strategy incremental_merge \
--unique-key id \
--out examples/batch/landing_orders.batch.yaml
dpone plan examples/batch/landing_orders.batch.yaml --selector public.orders
dpone perf advise examples/batch/landing_orders.batch.yaml --selector public.orders
Commands¶
dpone doctorchecks local readiness: Python, optional extras, Docker,bcp,sqlcmd, ClickHouse tools, Kafka/Schema Registry hints, and fix commands.dpone initgenerates a batch manifest bundle,.env.example, and smoke command.dpone planrenders a dry-run execution plan without changing targets.dpone run-reportwrites JSON, Markdown, and HTML run artifacts under.dpone/runsby default.dpone stateexposes safe inspect/reset/export/replay/compare UX. Destructive operations preview unless--yesis supplied.dpone connectorslists, certifies, and scaffolds connector SDK skeletons.dpone perf adviserecommends native bulk paths, partitioning, and delivery tuning.dpone studioprints local Studio API metadata by default;--servestarts the bounded headless local HTTP API. The public UI is not released yet, so metadata reportsui_status: not_installed.
Manifest additions¶
All managed UX sections are optional and backward-compatible:
quality:
gates:
- id: source_target_rows
type: row_count_reconciliation
severity: warning
tolerance:
mode: pct
value: 0.1
observability:
artifacts:
enabled: true
formats: [json, md, html]
opentelemetry:
enabled: false
prometheus:
enabled: false
performance:
advisor:
enabled: true
certification:
connector_status: experimental
Manifest quality.gates configures runtime load governance. The old
/api/quality/check endpoint is a retirement-only Studio compatibility
surface; new clients must use POST /api/v1/checks/static for static pipeline
validation and the ordinary dpone check/runtime quality workflow for
executable gates. The legacy endpoint evaluates lightweight checks only over
rows supplied in its request; it is not manifest authoring and does not create
runtime gates. /api/manifests/draft is also a deprecated alias of
/api/v1/manifests/draft; both translate the compatibility
quality_checks request into canonical quality.gates in the generated
manifest. It never writes deprecated manifest quality.checks. The
capabilities response distinguishes executable manifest gates from declared
fail-closed gate types; a draft warning names any selected gate that cannot
yet execute.
Safety defaults¶
dpone planis dry-run only.dpone state resetanddpone state replay-fromrequire--yesto execute; without it they return a preview payload.- Secrets are redacted in doctor, plan, run artifact, certification, and scaffold diagnostics.
- Studio is local-only in this version and has no SaaS backend.
Studio architecture¶
The framework owns a local API bridge and shared application services. A future
Nuxt/Vue frontend will be a typed OpenAPI client; it will not own connector,
route, manifest, quality, or certification policy. No public
PaulKov/dpone-studio release is claimed by this version.
Studio API endpoints¶
Start the local Studio API bridge:
/healthzand/openapi.jsonare public local endpoints./api/v1/capabilitiesprojects connector, route, recipe and evidence axes./api/v1/pipelinesand/api/v1/pipelines/{id}/explainare target-scoped./api/v1/manifests/draft,/api/v1/plans, and/api/v1/checks/staticare non-mutating bounded POST queries.- Legacy
/api/*endpoints are deprecated compatibility operations. Some map to v1 routes; others are retirement-only and have no v1 replacement.
See the Studio local API guide for security, status codes and migration.
Run artifacts¶
A run artifact contains timeline, state before/after, quality results, schema evolution notes, reconciliation metrics, and redacted diagnostics. Use JSON for automation, Markdown for repo evidence, and HTML for local review.
Connector SDK¶
The scaffold includes connector/source/sink skeletons, a contract test, and a docs template. Fill in auth, capabilities, examples, and certification evidence before publishing a community connector.
Production checklist¶
- Run
dpone doctor --profile productionon the execution host. - Run
dpone planand inspect staging/shadow/schema/state sections. - Run
dpone perf advisefor large tables or Kafka batches. - Configure canonical
quality.gatesfor runtime correctness gates. - Store run artifacts for every release or live certification run.