Repository navigation
Feat(syllabus) langsmith syllabus tracking - #308
Merged
Merged
Conversation
…com:Cybercri/WeLearn-api into feat(syllabus)--langsmith-syllabus-tracking
sandragjacinto
approved these changes
Nov 30, 2026
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.
This pull request introduces several improvements and refactorings centered around tracing, logging, and configuration for LangSmith integration. The most significant changes include the removal of the
TraceComponentandTraceNameenums in favor of using string literals for trace names, the addition of the newLANGSMITH_TRACING_V2environment variable across environments, and enhanced logging and tracing metadata for tutor-related services. These updates simplify code, improve traceability, and provide richer context for monitoring and debugging.Tracing and Logging Refactorings:
Removed the
TraceComponentandTraceNameenums fromsrc/app/shared/infra/tracing.pyand replaced their usage with string literals throughout the codebase to simplify trace naming and reduce indirection. [1] [2] [3] [4] [5]Enhanced tutor service tracing and logging:
Configuration Updates:
LANGSMITH_TRACING_V2environment variable in.env.example,pytest.ini, and all Kubernetes environment values files to enable the new tracing version across all environments. [1] [2] [3] [4] [5]Code Cleanup:
TraceComponentandTraceNamefrom various modules, aligning with the new tracing approach. [1] [2] [3] [4]These changes collectively streamline tracing, improve observability, and prepare the codebase for enhanced monitoring with LangSmith.