Repository navigation
Preserve Langfuse trace context and exact costs across exporter upgrades - #266
Merged
Merged
Conversation
justsml
marked this pull request as ready for review
October 15, 2026 14:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Keep aggregate model-generation observations as the single billing source for each call. Nested inference observations retain diagnostics as metadata without duplicating usage or provider cost. Preserve exact observation input/output, events, canonical root correlation, runtime session identity, and child tags.
Pin the patched Mastra Langfuse adapter to 1.5.13 and regenerate the lockfile against current main. Preserve main's SDK 5.13.1 media compatibility patch and immutable retained-evidence contract. A separate mechanical formatting commit clears five inherited CI errors in four files, including the development seed fixture.
Validation with Node 24.21.0 and pnpm 12.8.1:
No live provider calls or live Langfuse delivery/billing verification were performed.