ref(seer): Propagate viewer_context to Seer endpoint call sites#109723
Merged
ref(seer): Propagate viewer_context to Seer endpoint call sites#109723
Conversation
Contributor
Backend Test FailuresFailures on
|
Contributor
Backend Test FailuresFailures on
|
gricha
approved these changes
Mar 3, 2026
88aea75 to
d2691d7
Compare
Pass SeerViewerContext to Seer API wrapper call sites in various Seer endpoints (compare, issue view title, search agent, trace explorer). All endpoints have org+user context. Intermediate functions thread the parameter through.
d2691d7 to
0c37ea9
Compare
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.
Pass
SeerViewerContextto Seer API wrapper call sites in various Seer endpoint modules.PR #109697 added an optional
viewer_contextparameter to all Seer API wrapper functions. This PR updates 8 files:compare.py+organization_trace_item_attributes_ranked.py: Compare distributionsissue_view_title_generate.py: Title generation from querysearch_agent_state.py,search_agent_start.py: Search agent endpointstrace_explorer_ai_query.py,trace_explorer_ai_translate_agentic.py,trace_explorer_ai_setup.py: Trace explorer AI endpointsAll are API endpoints with both
organization_idanduser_idavailable. Intermediate functions threadviewer_contextthrough to the underlying wrapper calls.No behavior change —
viewer_contextdefaults toNonewhich preserves existing behavior.Co-Authored-By: Claude noreply@anthropic.com