← 返回
未分类 中文

Check Deployment Status

Check deployment status of PRs and commits using continuous-deployment MCP and UCS deployer MCP. Use when user asks "is this deployed", "check deployment", "...
使用 continuous-deployment MCP 和 UCS deployer MCP 检查 PR 和提交的部署状态。当用户询问“是否已部署”、“检查部署”等时使用。
ajitsingh25 ajitsingh25 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 429
下载
💾 1
安装
1
版本
#latest

概述

Check Deployment Status

Check whether a PR/commit is deployed to staging and production using the continuous-deployment MCP tools.

Usage

/check-deployment-status <PR-URL>           # Check deployment of a GitHub PR
/check-deployment-status <commit-hash>      # Check deployment of a specific commit
/check-deployment-status <service-name>     # List recent commits and their deployment status

Key Concepts

PR Head Commit != Merge Commit

When a PR is merged via SubmitQueue, the merge commit on main is DIFFERENT from the PR's head commit. The continuous-deployment system tracks the merge commit, not the PR head.

Workflow:

  1. Get PR metadata → extract head SHA
  2. Use findServiceCommits with search text to find the actual merge commit on main
  3. Use getCommitDeploymentStatus with the merge commit hash

UP Deployment Stages

StageMeaning
----------------
Build createdBinary built from commit
Deployed to stagingRunning on staging instances
SoakedStaging soak period passed
Waited for deployment windowOutside deploy freeze windows
Introduced to productionFully deployed to production — code is live

"Introduced to production" = fully deployed. Not partial, not in-progress. The commit is running on all production instances.

Deployment Status Values

StatusMeaning
-----------------
DEPLOYMENT_STATUS_DEPLOYEDCommit is running in this environment
DEPLOYMENT_STATUS_DEPLOYINGDeployment in progress
(empty)Not deployed to this environment

Step-by-Step Workflow

Step 1: Get PR Metadata

Use mcp__code-mcp__get_github_pull_request_metadata:

org: uber-code
repo: go-code
number: <PR number>

Extract: title, head SHA, merged status, base branch.

Step 2: Find Merge Commit

The PR head SHA won't be found in deployment system. Search for the merge commit:

Use mcp__continuous-deployment__continuousdeployment_findservicecommits:

service_name: <service-name>
filter: { search_text: "<keyword from PR title>", commited_after: "2026-02-25T00:00:00Z" }
offset: 0
limit: 5

The result includes the merge commit hash, serial number, and code review metadata linking back to the PR.

Step 3: Check Deployment Status

Use mcp__continuous-deployment__continuousdeployment_getcommitdeploymentstatus:

hash: <merge-commit-hash>
repository: gitolite@code.uber.internal:go-code
options: { scope: "SCOPE_ALL_SERVICES" }

Returns deployment status per service per environment (staging, production, bits-test-sandbox).

MCP Tools Reference

continuous-deployment MCP

ToolPurpose
---------------
findServiceCommitsSearch commits by service name, author, text, date range
getCommitDeploymentStatusGet deployment status of a commit across all environments
listServiceCommitsList recent commits for a service (with serial-based pagination)
getCommitsInDeploymentList commits in a specific deployment task
listCommitSegmentsGet deployment segments for a service
getConfigForServiceGet continuous deployment config for a service

code-mcp

ToolPurpose
---------------
get_github_pull_request_metadataPR status, author, labels, SubmitQueue status
get_github_pull_request_diffPR diff content
get_github_pull_request_commentsPR comments

UCS deployer MCP

ToolPurpose
---------------
ucsdeployer_statusRollout status for a specific deployment object
deploystatemanager_readRead deploy state

Service-Name Only Mode

If only a service name is provided (no PR/commit):

Use mcp__continuous-deployment__continuousdeployment_listservicecommits:

service_name: <service-name>
offset: 0
limit: 5

Then check deployment status for each returned commit using Step 3.

Common Patterns

Stacked PRs

For stacked PRs, each PR may affect different services. Check deployment per-service:

  • PRs changing marketing-recommendations/ → check marketing-recommendations service
  • PRs changing ads-insights/ → check ads-insights service

Repository URI

For go-code monorepo, always use: gitolite@code.uber.internal:go-code

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 23:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,986
it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 471 📥 78,159
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomas-security
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 30,960