Artifactbloat

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 3, 2026

按工作流跟踪 Actions 制品大小随时间的变化:增长差值与膨胀标记。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Actions artifact size tracker over time, per workflow: growth deltas and bloat flags.

已验证STDIO仅桌面

概览

Artifactbloat 的本地 MCP 服务;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

artifactbloat

Your CI artifacts quietly grow a few percent every week — until a workflow that used to upload a slim bundle is shipping something enormous and nobody can say when it happened. artifactbloat takes dated snapshots of artifact sizes, groups them per workflow, and shows the growth in plain numbers:

  • Per-workflow totals — snapshots ordered by date, with the first, last, and largest snapshot totals for every workflow
  • Growth deltas — the change from first to last snapshot in bytes and as a percentage (rounded to four decimal places; null when the first total is zero, so a workflow that started empty is never divided by zero)
  • Bloat flags — a workflow is flagged when its growth meets a threshold you choose (20 percent by default), boundary included; the flagged names are listed on their own and drive the verdict: growth_flagged when anything is flagged, steady otherwise
  • Per-artifact detail — for every artifact name a workflow ever produced: its size in the first snapshot and in the last, with null on either side when the artifact did not exist there (a new artifact, a removed one, or one seen only in between), and the byte delta when both sides exist
  • Overall totals — the summed first and last totals across all workflows

The computation is pure and local: no network, no configuration, no files read beyond the snapshots you pass in. Invalid input — a missing snapshot list, a snapshot without a workflow, a negative size, the same workflow captured twice on one date, or the same artifact twice in one snapshot — is rejected with an error naming the offending path, and no partial report is produced.

CLI

bash
npx @reneturcios/artifactbloat track --input args.jsonnpx @reneturcios/artifactbloat --version

args.json contains the full arguments object:

json
{  "snapshots": [    {      "workflow": "build",      "date": "2026-01-01",      "artifacts": [        { "name": "app-bundle", "size_bytes": 1048576 },        { "name": "source-maps", "size_bytes": 262144 }      ]    },    {      "workflow": "build",      "date": "2026-02-01",      "artifacts": [        { "name": "app-bundle", "size_bytes": 1572864 },        { "name": "source-maps", "size_bytes": 262144 }      ]    }  ],  "growth_threshold_percent": 20}

growth_threshold_percent is optional and defaults to 20. The report is printed as JSON.

Exit codes: 0 on success, 1 on a runtime error (including an unreadable or invalid input file, or invalid input), 2 on a usage error.

MCP server

bash
npx -y @reneturcios/artifactbloat mcp

MCP client config:

json
{  "mcpServers": {    "artifactbloat": {      "command": "npx",      "args": ["-y", "@reneturcios/artifactbloat", "mcp"]    }  }}

Tools

  • track_artifact_sizes — Track Actions artifact sizes over time, per workflow.

    • snapshots (array, required, at least one) — snapshots as {workflow, date, artifacts} objects, where each artifact is {name, size_bytes} and date is the capture day, YYYY-MM-DD
    • growth_threshold_percent (number, optional, >= 0, default 20) — flag workflows whose total grew by at least this percent from first to last snapshot

    Returns {workflow_count, total_first_bytes, total_last_bytes, workflows, flagged_workflows, verdict}.

Docker

bash
docker run -i ghcr.io/cloudcorprecords/artifactbloatdocker run --rm -v "$PWD:/w" ghcr.io/cloudcorprecords/artifactbloat track --input /w/args.json

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # tsx --test test/*.test.ts (pure local, no network)npm run dev     # run the CLI from source

License

MIT — Copyright (c) 2026 Rene Turcios

来源:README.md,提交 70e4dd6

工具

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

版本历史

1
  1. v0.1.0最新Nov 3, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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