Skip to content

feat(seer): Add event-specific LLM context hint for issue event route#114926

Merged
Mihir-Mavalankar merged 1 commit intomasterfrom
mihir/issue-event-detail-llm-context
May 6, 2026
Merged

feat(seer): Add event-specific LLM context hint for issue event route#114926
Mihir-Mavalankar merged 1 commit intomasterfrom
mihir/issue-event-detail-llm-context

Conversation

@Mihir-Mavalankar
Copy link
Copy Markdown
Contributor

  • When a user navigates to /issues/:groupId/events/:eventId/, the context hint now tells the LLM agent to fetch that specific event first via get_event_details(event_id). Extracts a helper function for the context hint to keep the useLLMContext call readable.
  • Registers the route in NEW_STRUCTURED_CONTEXT_ROUTES behind the context-engine-structured-page-context flag.

@Mihir-Mavalankar Mihir-Mavalankar requested a review from scttcper May 5, 2026 22:38
@Mihir-Mavalankar Mihir-Mavalankar self-assigned this May 5, 2026
@Mihir-Mavalankar Mihir-Mavalankar requested review from a team as code owners May 5, 2026 22:38
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 5, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.40%

Comment thread static/app/views/issueDetails/groupDetails.tsx Outdated
Comment thread static/app/views/issueDetails/groupDetails.tsx
Extract getIssueDetailContextHint helper with three view modes:
- issue-overview: default issue page with latest event
- specific-event: user navigated to a specific event UUID, prompts
  the agent to fetch that event first
- events-list: user is browsing all events for the issue

Filter out pseudo-event IDs (latest/oldest/recommended) using
RESERVED_EVENT_IDS so they don't trigger the specific-event hint.

Register /issues/:groupId/events/ and /issues/:groupId/events/:eventId/
in NEW_STRUCTURED_CONTEXT_ROUTES behind the experimental flag.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@Mihir-Mavalankar Mihir-Mavalankar merged commit aba2f45 into master May 6, 2026
78 of 79 checks passed
@Mihir-Mavalankar Mihir-Mavalankar deleted the mihir/issue-event-detail-llm-context branch May 6, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants