Skip to content

[deep-report] Restore fleet-wide token_usage collection (TokenUsage=0 for ~6 consecutive days) #41734

Description

@github-actions

Description

The token_usage artifact has been empty fleet-wide (TokenUsage=0) for roughly 6 consecutive days (token data in the 30d chart ends at 06-20). Per-run token efficiency is no longer trackable; cost visibility now relies solely on AI-credits (AIC), and copilot/codex engines report no token counts at all. The Agentic Workflow Audit explicitly flags this as an observability gap that should be fixed.

Investigation / Fix

Determine why the token_usage artifact is empty across engines (claude/copilot/codex/pi). Likely candidates: a regression in the per-engine log parser that emits TokenUsage (see pkg/workflow/claude_logs.go, codex_logs.go, antigravity_logs.go), an artifact-naming/path change, or upstream engines no longer surfacing usage in logs. Restore population of the artifact, or document which engines structurally cannot report tokens so dashboards stop flatlining.

Expected Impact

Restores per-run token-efficiency monitoring across the fleet, re-enabling cost-regression detection that is currently blind. Multiple daily audit agents depend on this signal.

Suggested Agent

Token Audit agent or a Go-capable maintenance agent.

Estimated Effort

Medium (1-4 hours) — investigation across engine log parsers.

Data Source

DeepReport 2026-06-26; Agentic Workflow Audit #41549 (Token Usage 30d chart flatlined since 06-20).

Generated by 🔬 DeepReport - Intelligence Gathering Agent · 255.2 AIC · ⌖ 18.5 AIC · ⊞ 9.8K ·

  • expires on Jun 28, 2026, 7:35 AM UTC-08:00

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions