HxDeploy manages the promotion of Velaris app packages through environments (dev > staging > production) with risk-classified approval gates, change windows, health checks, and a full approval audit trail.
The Studio UI at Studio > HxDeploy shows a horizontal swimlane of all registered environments. Each environment card displays the currently deployed package version, last deployment timestamp, and live health status. The Promote button on each card initiates a promotion to the next environment in the pipeline.
| Risk Level | Determined By | Promotion Behaviour |
|---|---|---|
| Low auto | Documentation-only change, minor field label update, notification message edit | Auto-deploys immediately on promotion request — no human approval needed |
| Medium | New form field added, step configuration changed, SLA duration updated | Requires one approval from a Manager or Admin. Deployment queued until approved. |
| High | New step type added, connector attached, stage transition changed, new connector integration | Requires two approvals — at least one must be from an Admin |
| Critical critical | Breaking database migration, access group restructure, data model change, connector credential rotation | Two approvals + active change window + all health checks passing |
Navigate to Studio > HxDeploy > Change Windows. A change window defines a time period during which Critical deployments are permitted.
| Field | Description | Example |
|---|---|---|
| Name | Human-readable label | Weekly Maintenance Window |
| Start Time | Day of week + HH:MM in the configured timezone | Sunday 02:00 |
| End Time | Day of week + HH:MM | Sunday 04:00 |
| Timezone | IANA timezone string | Europe/London |
| Environments | Which environments this window applies to | production |
Before a Critical deployment proceeds, HxDeploy runs these checks in sequence. If any fail, the deployment is blocked:
/healthschema_migrations — nothing pendingDeveloper clicks Promote on a package in the swimlane.
HxDeploy diffs the package against the current deployed version and computes the risk level. A Deployment Run record is created with status Pending Approval.
Required approvers receive an in-platform notification. They navigate to HxDeploy > Runs to review the diff (fields changed, step types added, connector modifications) and either Approve or Reject with Comment.
Once all required approvals are collected (and a change window is active for Critical), HxDeploy executes the deployment: applies pending SQL migrations, hot-reloads services, runs health checks.
The Deployment Run transitions to Deployed or Failed. All steps — diff, approvals, health check results — are permanently recorded in the audit trail.
A promotion ships a package: built once from an explicit selection, sealed (frozen and checksummed), and pushed as those exact bytes. What QA tested and what production receives are the same bundle.
build (draft) > seal (checksum) > promote (run binds package + checksum) > approve > push
{"sections": {"case_types": ["id"], "connectors": []}} — an absent section means everything, a list means exactly those, [] means none. FK parents a selected row needs are pulled in automatically and reported under summary.auto_included.Promotion is privileged. Fourteen HxGuard actions cover HxDeploy and the app registry:
deploy.environments.read, deploy.packages.read, deploy.runs.read, deploy.windows.read): admin, devops, developer — runs are visible to managers too.deploy.packages.write): admin, devops, developer.deploy.packages.seal, deploy.runs.promote): admin, devops. Declaring what ships is not the same as building it to look at.deploy.runs.approve): admin — and never the person who started the run, which is answered with HTTP 403.Two endpoints authenticate machines rather than people and sit outside these gates: the bundle receiver (an environment's import key) and the CI/CD callback (an HMAC signature).
A package can carry bot definitions and schedules. They arrive inert.
# Initiate a promotion curl -s -X POST http://localhost:8200/api/v1/deploy/promote \ -H "Authorization: Bearer $ADMIN_TOKEN" \ -H "Content-Type: application/json" \ -d '{"from_env": "staging", "to_env": "production", "package_id": "pkg-uuid"}' # Build a package from a selection, then seal it curl -s -X POST http://localhost:8200/api/v1/deploy/packages \ -H "Authorization: Bearer $ADMIN_TOKEN" \ -H "Content-Type: application/json" \ -d '{"name": "release", "version": "1.4.0", "selection": {"sections": {"case_types": ["ct-uuid"]}}}' curl -s -X POST http://localhost:8200/api/v1/deploy/packages/{package_id}/seal \ -H "Authorization: Bearer $ADMIN_TOKEN" # Approve a pending deployment run curl -s -X POST http://localhost:8200/api/v1/deploy/runs/{run_id}/approve \ -H "Authorization: Bearer $ADMIN_TOKEN" \ -H "Content-Type: application/json" \ -d '{"comment": "Reviewed diff, all changes look correct"}'