Skip to content

feat(whaleflow): add usage telemetry to mock results#2827

Merged
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/v090-whaleflow-usage-telemetry
Jun 6, 2026
Merged

feat(whaleflow): add usage telemetry to mock results#2827
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/v090-whaleflow-usage-telemetry

Conversation

@Hmbown
Copy link
Copy Markdown
Owner

@Hmbown Hmbown commented Jun 6, 2026

Summary

  • Harvests a narrow, crate-only telemetry slice from @AdityaVG13's WhaleFlow cost-tracking direction in Feat/whaleflow cost tracking #2486.
  • Adds WorkflowUsage to leaf, branch, and workflow execution results.
  • Lets MockWorkflowExecutor aggregate deterministic token/cost telemetry without live provider calls, runtime sub-agent fanout, worktrees, or a workflow_run tool.
  • Keeps the broader Feat/whaleflow cost tracking #2486 runtime spawner/worktree surface out of scope.

Credit

Thanks @AdityaVG13 for #2486 and the WhaleFlow cost-tracking direction. This is intentionally a smaller v0.9-safe foundation slice so TraceStore/replay can carry cost telemetry before runtime execution lands.

Verification

  • cargo test -p codewhale-whaleflow --locked
  • cargo fmt --all -- --check
  • cargo clippy -p codewhale-whaleflow --all-targets --locked -- -D warnings
  • ./scripts/release/check-versions.sh
  • ./scripts/release/check-ohos-deps.sh
  • git diff --check

Refs #2486.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmbown has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@Hmbown Hmbown mentioned this pull request Jun 6, 2026
6 tasks
@Hmbown Hmbown merged commit d10634c into codex/v0.9.0-stewardship Jun 6, 2026
2 checks passed
@Hmbown Hmbown deleted the codex/v090-whaleflow-usage-telemetry branch June 6, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant