Repository navigation
fix(slack): Serve Automation Work Object details - #1898
Merged
Merged
Conversation
Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
1 screenshot change — 1 changed · 0 added · 0 removed Review screenshots in Frameshift
|
dcramer
marked this pull request as ready for review
September 23, 2026 02:45
Co-Authored-By: David Cramer <[email protected]>
dcramer
approved these changes
Sep 23, 2026
BYK
added a commit
that referenced
this pull request
Nov 7, 2026
) Junior didn't connect a request to an issue that it had filed in another Conversation. The user was asking about isolating SDK module state, and the issue was getsentry/toolkit#1898, which Junior filed for exactly that. `searchConversationBriefs` found the filing Conversation with `annotation: "getsentry/toolkit#1898"`, but the topic query "isolate module-level state SDK" returned nothing. Two gaps caused it: - **Titles dropped.** GitHub object annotations keep the id in `label` (`getsentry/toolkit#1898`) and the topic in `title`. Brief input copied only `label`, and Brief search text is built from link labels. So an issue was findable by number, never by what it tracks. Object resources now use `label · title`, the same format as code-change links. Both the SQL input path and snapshot replay use it. - **Link cap.** Stored links stop at 40, with code changes first. The Conversation that filed #1898 opened many PRs, so its issue links didn't fit. The search text now indexes every linked object, and the stored list keeps its cap. Raising the cap instead would make every stored Brief and every MCP `get_conversation` response bigger, only to make links searchable. Existing Briefs pick this up when they are next generated. <!-- junior-request-attribution:start --> via @BYK. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:local%3Aweb%3A87622ce3671938950bc6e630 --> -- [View Session in Sentry](https://sentry.sentry.io/explore/conversations/local%3Aweb%3A87622ce3671938950bc6e630/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: BYK <[email protected]>
This branch was successfully deployed
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.
Handle
entity_details_requestedon the existing Slack webhook and answer withentity.presentDetails. Load current scheduled or event Automation facts through the same access rules as the Automations view. Missing, deleted, and inaccessible objects returnnot_foundwithout exposing their facts.Keep native Work Objects for saved Automations. Delete tools return ordinary results without cards. Pending-card loading suppresses earlier cards for the same Automation after a delete. Remove operation labels, deletion render branches, and the deleted-card fixture. Normalize old receipt cards only when reading stored history so existing transcripts still work. Restore the linked diagnostic ID in the Slack footer.
Existing Slack apps must subscribe to
entity_details_requestedat/api/webhooks/slackand enable Work Object Previews → Item. The manifest and setup docs include these requirements; deploying code alone does not update Slack app settings. Native Slack appearance still needs a staging check.via David Cramer.
--
View Junior Session [Sentry]