Skip to content

cost-check INFRA:metering 账本 tar 解包失败(LLM token 通道中断) #258

Description

@randypanding

这是 Bug 流水线的第一条生产真实单(dogfood:用自己的基础设施 bug 验证 bug 流)。

受影响的仓(owner/name):Cloudbird-Software/.github(cost-check.yml × CI-Workflows pipeline/metering 接缝)

版本 / commit:main @ 2026-08-22(cost-check 最近连续失败:run 32544804909 等)

症状签名(一句话 + 关键报错):cost-check 每小时失败——INFRA metering 账本 tar 解包失败(strip-components=1 + pipeline/metering/records-*.jsonl),exit 2

关键栈

AUDIT | butler=cost-check | outcome=infra-fail
OK    Actions 分钟: 19695 / 200000000 = 0.0%(billing API)   ← 分钟通道正常
INFRA metering 账本 tar 解包失败                                ← LLM token 通道挂在这
##[error]Process completed with exit code 2

复现步骤:等待 cost-check.yml 的每小时 cron 触发(或 workflow_dispatch 手动触发),观察"用量检查与熔断"步骤。

期望结果:metering artifact 正确解包,LLM token 用量被读取归账,workflow 绿。

实际结果:tar 解包失败 → exit 2(INFRA)。疑似 W2-C3 计量 artifact 的目录结构/文件名模式与 cost-check 的解包参数(strip-components=1、records-*.jsonl glob)不匹配。

影响面声明:仅 cost-check 的 LLM token 计量通道;Actions 分钟熔断通道正常;不触及关卡与合并链路。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions