StackVitals

io.github.stackvitals由 GitHub 账号 stackvitals 发布v0.2.0更新于 Nov 1, 2026

Known flaky tests, failing and slow CI, review flow, delivery and dependency risk from kept history.

概览

AI 生成的概览

StackVitals 让助手依据 GitHub 仓库历史给出证据:CI 不稳定、评审流程、交付指标与依赖风险,用于开 PR 或加依赖之前。

可以做什么
  • 开 PR 前预检:改动这些文件的已合并 PR 通常包含什么、本次缺什么、维护者常提什么要求
  • 陌生仓库简报:各目录的合并惯例、评审人与响应速度、CODEOWNERS、已知不稳定的 CI 任务
  • 依赖评估:npm 或 PyPI 包在大量公开仓库中的升级情况、安全公告、恶意软件记录及结论
  • 扫描锁文件,列出需要优先查看的已固定依赖包
  • 为进行中的 PR 推荐评审人,并列出 PR 队列及下一步该谁处理
  • 报告 CI 健康状况、解释失败的运行、判断测试或任务是否为已知偶发失败,并按代价排序问题
适用场景
适合参与或维护 GitHub 仓库时使用:准备提交 PR、排查失败的 CI、挑选评审人,或决定是否新增、升级某个依赖。
运行要求
以 Python 包形式通过 uvx 在本地以 stdio 运行;未声明任何认证或环境变量。会读取本机指定路径的锁文件,并基于 GitHub 仓库历史的每日快照工作,因此需要网络访问。
安装前请注意
它会按路径读取本地锁文件,请只指向愿意让助手看到的文件。结果来自每日快照,可能落后于仓库当前状态;服务器自身要求引用证据,证据不足时明确说明。未声明凭据,但对私有仓库的覆盖情况未作说明。

安装

在 SourceWeft 中

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

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

工具

11

preflight

Before opening a pull request: what merged PRs touching these files usually include (tests, changelog, docs, size), what this change is missing, and what maintainers most often ask for in review there. repo: owner/name; paths: files the change touches; lines: lines added plus removed.

输入参数repo必填linespaths必填

repo_brief

Before working in an unfamiliar repo: how changes get merged there, measured from its history (things its files don't say). Per folder: what merged PRs include, who reviews there and how fast, CODEOWNERS; CI jobs and tests known to be flaky (re-run before chasing a failure); how outside PRs fare against similar repos. Every number comes with its count. repo: owner/name.

输入参数repo必填

check_package

Before adding or upgrading a dependency: how upgrades of this npm or PyPI package went across thousands of public repos, whether its maintainers still merge outside fixes, its source repo, advisories and malware records, and a verdict (use / monitor / investigate, or none when evidence is thin) with the counts behind it. name: "requests" or "pypi:requests"; ecosystem: "npm" or "pypi" (optional).

输入参数name必填ecosystem

scan_lockfile

Every package a lockfile pins, the ones that need a look first, each with its verdict and main reason. Reads package-lock.json, npm-shrinkwrap.json, requirements*.txt, uv.lock, poetry.lock and Pipfile.lock. path: the lockfile on this machine.

输入参数path必填

who_should_review

Up to 3 people who should review an open pull request: who wrote and reviewed the same areas, code owners, how many reviews each already has open and how fast they usually answer. repo: owner/name; pr: its number.

输入参数pr必填repo必填

pr_queue

Open pull requests and who has to act next on each (reviewers, the author or maintainers), since when, and whether that is longer than usual for this repo. repo: owner/name.

输入参数repo必填

ci_health

A repo's CI health: flaky jobs and tests (failed, then passed with no code change), jobs that keep failing, jobs that got slower, line coverage with each pull request's patch coverage when CI uploads a coverage report, pushes green on the first try with their likely ranges, and this week against the four before (only changes beyond noise are flagged; steady ones say how big a change they could have shown). repo: owner/name.

输入参数daysrepo必填

is_known_flake

Before fixing a failing test or job, check whether it is a known flake in this repo. name: part of the test or job name (e.g. "test_upload" or "e2e").

输入参数name必填repo必填

ci_failure

Explain a failed CI run: each failure is called known flaky (it flaked before and its log shows a flake's sign: check the error, then re-run it), maybe yours (it flaked before, but its error names a file the pull request changed), flaked before (it has flaked, but rarely, in another step or with no flake's sign: check the change first), already failing on the default branch (the same error), outside failure (a registry, network or runner), maybe flaky (it failed the way flaky checks do: re-run once to tell), PR details (a check on the PR's title, description or labels: fix the PR, not the code), or new (likely from the change). run: the run's URL.

输入参数run必填

insights

What to fix first, across modules, and the findings that join CI and pull requests. findings: each a sentence with its number, n, evidence links and the action, ranked by hours of waiting or outage at stake (flaky jobs and tests by the PR-hours they cost, reviews asked for and not started, incidents after deployments, dependency updates with failing checks, the outside-contributor review gap). red_ci: how long merged PRs sat ready for review with a failing check on their newest commit, each wait traced to the run that started it and what ended it, with counts and ranges. repo: owner/name; days: history to read (max 90).

输入参数daysrepo必填

delivery_health

A repo's delivery: DORA's keys with DevLake's counting and tiers (deployment frequency, lead time for changes, change failure rate, recovery) plus deployment rework rate, where deployments came from, cycle time P50/P75, sizes, stuck PRs, coding agents' PRs and people's AI-marked PRs each compared like with like (the same author's other PRs, or people's PRs of the same month and size) on reverts, CI failures, failed deploys and merges, with ranges, matched shares and the gap each could detect, merge-queue health, where the work went by month (feature, fix, maintenance, security, docs, with how each PR was sorted), and with Jira or Linear connected, issue lead and cycle time by type and the last sprints. Each DORA key carries its likely range and, when the range crosses a tier line, both tiers; `this_week` checks the latest week against the four before and flags only changes beyond noise.

输入参数repo必填

版本历史

4
  1. v0.2.0最新Nov 1, 2026
  2. v0.1.4Oct 31, 2026
  3. v0.1.3Oct 31, 2026
  4. v0.1.1Oct 31, 2026

评分

已满足适用检查项的 65%

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

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

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

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。