feat(slack): spike JEV passive reply routing - #1879
Draft
sentry-junior[bot] wants to merge 1 commit into
Draft
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Ming Chen <ming.chen@sentry.io>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
TYPESAFE_API_KEYand the scope ofpassive-routingScope
This does not make Junior process all channel messages. It only classifies non-mention messages in Slack threads that Junior already joined. Without
TYPESAFE_API_KEY, the existing fast-model classifier remains in use.The separate idea of grading full threads for unintuitive Junior behavior should start as an offline evaluation over sampled, redacted transcripts. It is intentionally not part of the live routing path in this PR.
Staging plan
junior-prodtunnel flow.junior-prodVercel previews intentionally omit Slack credentials and cannot test this path.TYPESAFE_API_KEYonly in that environment.createApp({ experimental: { "passive-routing": true } })in the staging consumer app.stop/!stop.Verification
pnpm --filter @sentry/junior exec vitest run tests/unit/routing/subscribed-decision.test.ts tests/component/routing/jev-subscribed-reply-classifier.test.tspnpm --filter @sentry/junior typecheckpnpm --filter @sentry/junior lintpnpm test-architecture:checkgit diff --checkThe supplied credential was not committed or included in development logs.
via Ming Chen.
--
View Junior Session [Sentry]