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 分

    請在儲存庫或註冊中心條目中宣告授權條款。