Get undeployed pull requests
get-undeployed-pull-requests-toolList merged pull requests that have not yet shipped to production, grouped by repository.
Returns how long each PR has been waiting and when each repository last deployed — the
signal behind deploy-lag and lead-time risk. Use this to spot work that is merged but
stuck before deployment. Merged PRs that predate their repository's most recent
successful production deploy are assumed shipped (deploys ship the default branch) and
reported via assumed_deployed instead of being false-positive "undeployed" entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lookback_days | No | How many days back to consider merged PRs. Defaults to 14, clamped to 1–90. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | Team name. | |
| headline | Yes | One-line summary to lead with when relaying this result. | |
| repositories | Yes | Per-repository breakdown: undeployed count, oldest wait, last deploy, and the PRs. | |
| lookback_days | Yes | Lookback window in days. | |
| assumed_deployed | Yes | Merged PRs without an explicit deployment link that predate their repository's most recent successful deploy — counted as shipped, not undeployed. | |
| total_undeployed | Yes | Total merged-but-undeployed PRs across the team. |