Release Readiness Triage Mcp

io.github.vola-trebla由 GitHub 账号 vola-trebla 发布v0.2.0更新于 Oct 24, 2026

Aggregates CI failures, cross-references flakiness history, and outputs GO/NO_GO release verdicts.

已验证STDIO仅桌面开发者工具数据与分析

概览

AI 生成的概览

汇总 CI 测试失败、交叉比对不稳定历史与代码变更,并给出 GO 或 NO_GO 的发布结论。

可以做什么
提供多个工具:按归一化错误签名对 CI 失败分组,并归类为断言、超时、网络或崩溃;依据不稳定历史为失败打分;将变更文件与失败测试匹配;识别按时间出现的失败模式。最后一个工具输出带风险权重的发布建议,包含置信度、每个测试的领域、严重程度、风险贡献与影响范围,可选 markdown 格式用于 PR 评论或聊天。它还会扫描仓库中的版本化迁移文件,标记阻碍回滚的破坏性操作。
适用场景
当一次 CI 运行出现大量失败,需要在发布前区分真实回归与已知不稳定测试或基础设施噪声时适用。适合已维护不稳定历史或受影响测试数据的团队,让助手快速完成故障分诊。
运行要求
通过 stdio 在本地运行,通常用 npx 从 npm 包 release-readiness-triage-mcp 启动,因此需要 Node.js。未声明任何账号、API 密钥、环境变量或请求头。CI 失败、不稳定历史和变更文件等输入由用户或助手提供。
安装前请注意
它会读取仓库文件(包括迁移文件),并给出可能影响是否发布的建议,应将其视为参考而非最终结论。未声明凭据或写入操作,但请留意传入的失败日志和仓库内容,其中可能包含敏感信息。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Release Readiness Triage Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

🚦 release-readiness-triage-mcp

[npm] [CI] [License: MIT]

Stop reading CI logs. Start getting verdicts.

MCP server that aggregates test failures, cross-references flakiness history, and outputs a GO / CONDITIONAL_GO / NO_GO / INVESTIGATE release decision — so your AI agent can triage a broken CI run in seconds instead of asking you to read 3000 lines of logs.


🤔 The problem

In any real codebase, CI always has something failing. The hard question isn't "are there failures?" — it's "are these failures real regressions, or just the usual noise?"

Answering that requires correlating three signals at once:

  • 🔍 Error signatures — is this the same failure repeated 12 times, or 12 different problems?
  • 📊 Flakiness history — is this test known to be unreliable?
  • 🔗 Code changes — is the failing test actually related to what changed?

An AI agent can't do this without structured tools. Raw CI logs are thousands of lines. Flakiness databases are external. Code→test mapping requires AST analysis. Without this MCP, the agent just guesses.


🛠️ Tools

aggregate_suite_failures

Groups failures by normalized error signature, deduplicates repeated errors, categorizes as assertion / timeout / network / crash. Pass customInfraPatterns for cloud-specific errors.

cross_reference_flakiness

Scores each failure against your flakiness history: KNOWN FLAKY, MILDLY FLAKY, or NO HISTORY.

correlate_code_changes

Matches changed files against failing tests. Works standalone or with pre-computed affected test lists from ast-impact-mapper-mcp.

generate_release_recommendation

The final step. Outputs a risk-weighted verdict with confidence score and full breakdown. Supports format: "markdown" for GitHub PR comments and Slack.

Verdict levels:

  • NO_GO — regression in a critical domain (payment, auth, billing, checkout, security)
  • CONDITIONAL_GO — regression in a low/medium-risk domain (analytics, docs, admin); review before releasing
  • GO — all failures are known flaky or infrastructure noise
  • INVESTIGATE — too many unknowns to decide

Output includes:

  • aggregate_risk_score — 0.0–1.0, probability union across all regression risk contributions
  • failing_tests_analysis[] — per-regression breakdown with domain, severity (HIGH/MEDIUM/LOW), risk_contribution, blast_radius

detect_temporal_failure_patterns

Analyzes historical failures with timestamps to identify chronometric artifacts — failures that only appear at the same UTC hour, weekday, day of month, or during DST transitions. When a pattern is found, the failure is a time artifact, not a code regression.

Output includes:

  • temporal_pattern_detected — boolean
  • clusters[] — per-test: pattern_type (hourly | daily | monthly | timezone_shift), cluster_times, confidence_score

analyze_rollback_readiness

Scans a repository for versioned migration files (Flyway V*.sql, Prisma migration.sql, Liquibase XML/YAML) and classifies each operation as additive (rollback safe) or destructive (forward-fix only).

Detected destructive operations: DROP TABLE, DROP COLUMN, ALTER COLUMN TYPE, MODIFY COLUMN, TRUNCATE

Output includes:

  • rollback_eligible — boolean
  • blocking_migrations[] — each with file, line, operation, reason
  • deployment_strategy — standard | forward_fix_only

🧪 What it looks like in practice

5 failures in CI. What's real, what's noise?

failures:  - Auth Suite > login with expired token   → "Expected status 200, got 401"  - API Suite > health check                → "connect ECONNREFUSED 127.0.0.1:3000"  - Button Suite > renders button correctly → "Expected null, got <button>Submit</button>"  - Search Suite > debounce timing          → "Expected 42, received 43"  - Storage Suite > upload avatar           → "GCP quota exceeded for this project"
changedFiles: ["src/components/Button.tsx"]affectedTests: ["renders button correctly"]customInfraPatterns: ["GCP quota exceeded"]format: "markdown"

Output:

markdown
## 🔴 Release Recommendation: NO_GO (75% confidence)
> 1 confirmed regression(s) in critical domain(s) [payment]. Do not release.
**Aggregate risk score:** 1.0
| Category            | Count || ------------------- | ----- || Total failures      | 5     || 🔴 Real regressions | 1     || 🟡 Known flaky      | 2     || ⚪ Infra blips      | 2     || ❓ Unknown          | 0     |
### Risk Breakdown
| Test                                   | Domain | Severity | Risk | Blast Radius || -------------------------------------- | ------ | -------- | ---- | ------------ || Button Suite::renders button correctly | core   | MEDIUM   | 0.5  | 1            |
### Blockers (must fix before release)
**Button Suite > renders button correctly**
- Test is directly affected by code changes in this commit- `Expected null, got <button>Submit</button>`
### Safe to ignore
- ~~Auth Suite > login with expired token~~ — Historically flaky: 73% failure rate in history- ~~API Suite > health check~~ — Error pattern matches infrastructure issues (network)- ~~Search Suite > debounce timing~~ — Mildly flaky: 22% historical failure rate- ~~Storage Suite > upload avatar~~ — Error pattern matches infrastructure issues (network)

One tool call. One verdict. Go fix Button.tsx.


⚡ Setup

json
{  "mcpServers": {    "release-readiness-triage": {      "command": "npx",      "args": ["-y", "release-readiness-triage-mcp"]    }  }}

🚀 Usage

"Here are the failures from our CI run, our flakiness database, and the files changed in this PR. Is it safe to release?"

The agent calls generate_release_recommendation and returns a verdict with a full breakdown — ready to paste into a PR comment or Slack.

Works standalone, or as a meta-orchestrator on top of:


📦 Links

License

MIT

来源:README.md,提交 8e5ef77

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分