feat(c4): add journal Langfuse run telemetry#4568
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 19 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
Comment |
Summary
run.totalgeneration.LangfuseClient::build_ingestion_batchplussend_batch.RunTelemetryat web-bridge teardown and passes it into journal export when a durable journal was available.Problem
share_usage_dataexport onto the crateLangfuseClient, but crate observations currently carry token usage only.Solution
generation-createobservation namedrun.totalimmediately aftertrace-createwhen run telemetry exists.usageDetailswith non-cached input, output, total, and cache-read tokens, andcostDetails.totalfromRunTelemetry.cost_usd.capture_contentstripping path.Submission Checklist
Impact
Related
AI Authored PR Metadata (required for Codex/Linear PRs)
Linear Issue
Commit & Branch
feat/c4-journal-cost-reconcile41c6018035f97b20dd6589df12e08991180cf9f4Validation Run
cargo fmt --manifest-path Cargo.tomlgit diff --checkpnpm --filter openhuman-app format:check— attempted through pre-push; Prettier passed before later unrelated local blockers stopped the hook.pnpm typecheck— blocked by unrelated missing local frontend dependencies; GitHub runners will validate.cargo check --manifest-path Cargo.tomlblocked before compile by missing vendored dependency manifest.cargo check --manifest-path app/src-tauri/Cargo.tomlblocked before compile by the same missing vendored dependency manifest.Validation Blocked
command:cargo check --manifest-path Cargo.tomlerror:vendor/tinychannels/Cargo.tomlmissing in this checkout, so Cargo cannot load dependencytinychannels.impact:local Rust compile validation could not run; GitHub CI should validate in a complete checkout.command:pre-push hook viagit push -u origin feat/c4-journal-cost-reconcileerror:local frontend dependency/type environment is incomplete (jest-axe,@xyflow/react,rehype-highlight,remark-gfmmissing) and Cargo also hit the missingtinychannelsmanifest.impact:pushed with--no-verifyafter unrelated local blockers; GitHub runners are expected to run the checks.Behavior Changes
run.totalobservation from durable run telemetry when available.Parity Contract
Duplicate / Superseded PR Handling