DeployAngel

v0.1.31
com.deployangel/deployangel Checked 3 hours ago Published 17 days ago

Wait for production to clear each deploy, and read the evidence when a release fails.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_verification

Current verdict document for a deployment: state, verdict, confidence, coverage, findings, new exceptions, clearance report, and what is still watched. Defaults to the current git HEAD.

ParameterTypeDescription
commitstringCommit SHA (prefix of 7+ characters is fine).
deployment_idstringDeployAngel deployment ID.
latestbooleanUse the most recent deployment.
versionstringRelease version, e.g. v184.

wait_for_verification

Wait for a deployment's verification. until=initial returns at the 15-minute initial check ("no problems so far" is NOT clearance); until=verdict waits for verified, failed, or inconclusive. Returns the in-progress document if timeout_seconds (max 300) is reached; call again while it is still in progress. Inconclusive means not verified.

ParameterTypeDescription
commitstringCommit SHA (prefix of 7+ characters is fine).
deployment_idstringDeployAngel deployment ID.
latestbooleanUse the most recent deployment.
timeout_secondsinteger
untilstring
versionstringRelease version, e.g. v184.

get_exercise_plan

What stands between a release and clearance, and what to exercise against production so it clears sooner: normally active routes short of their runs, routes this release changed that haven't run, and critical flows. needed marks what clearance waits on; the rest are only worth running. Routes marked mutating change data: use a test account or ask first. Your requests count as ordinary traffic; report what you ran with report_with. Defaults to the current git HEAD.

ParameterTypeDescription
commitstringCommit SHA (prefix of 7+ characters is fine).
deployment_idstringDeployAngel deployment ID.
latestbooleanUse the most recent deployment.
versionstringRelease version, e.g. v184.

list_deployments

Recent deployments with their verification state and verdict.

ParameterTypeDescription
limitinteger

get_exception

Sanitized details and a representative stack trace (application frames, or library frames when there are none) for an exception fingerprint.

ParameterTypeDescription
fingerprint *string

list_late_regressions

Failures found after a release was cleared, on paths the clearance did not cover. One with dismissed set was dismissed by a person as a false alarm, with their reason: it needs no action.

ParameterTypeDescription
limitinteger
sincestringISO 8601 time

get_production_context

What production does with code before you change it: the routes and jobs the given files serve, how often production ran them in the last 7 days and how many failed, whether a release's clearance would cover a change to them (clearance.outlook: normal_traffic, scheduled, later_today, rarely_used, or unknown), their schedules and critical flows, and failed releases and late regressions on them in the last 90 days. Files it can't map are listed in unmapped_files; that doesn't mean they're unused.

ParameterTypeDescription
filesarrayRepository-relative paths, e.g. app/views.py (up to 50).
job_classesarrayJob or task names, e.g. refund_task.
routesarrayRoute keys, e.g. "POST /refunds".