Slack channel mentions lose their entity type
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend
Hướng nghiên cứu
Start with packages/junior/src/chat/ingress/slack-webhook.ts and packages/junior/src/chat/slack/message/content.ts, then reproduce the Slack-shaped event through @chat-adapter/[email protected]. Compare the synchronous parse output with Slack’s typed channel rich-text representation; done means channel mentions retain their channel type in the agent-visible message path.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When a user refers to a Slack channel in a message, Junior can receive only a plain-text #CHANNEL_ID instead of a typed channel reference. In one observed conversation, Junior treated that ID as a Sentry issue ID, searched for it, then recognized the mistake after the user clarified they had mentioned a Slack channel.
- Slack’s message representation includes a channel mention as a typed rich-text element (
type: channel, withchannel_id) and text markup such as<#CHANNEL_ID>. - In Junior’s Slack ingress,
slack-webhook.tscallsadapter.parseMessage(event). With@chat-adapter/[email protected], the synchronous parse path converts<#CHANNEL_ID>into plain#CHANNEL_ID; a local reproduction using a Slack-shaped event produced that exact output. It does not perform the name lookup used by a separate async parse path. slack/message/content.tsuses the adapter’s formatted text for ordinary messages without section blocks, so the channel type is absent from the agent-visible text in this path.- In the observed incident, the Sentry lookup for the channel ID returned no match; after the user clarified, Junior correctly identified it as a Slack channel. The bot could read the channel, so channel access was not the blocker.
- A separate report said a Sentry PR request returned an unrelated PR from the Junior repo. The prompt and trace for that case are unavailable, so whether it shares this cause is unknown.
- The local parser reproduction used a constructed payload matching Slack’s rich-text format; the exact raw payload for the incident was not available. A later trace showed repeated Slack searches, but its contents are redacted, so it cannot establish whether that behavior was related.
Relevant code: packages/junior/src/chat/ingress/slack-webhook.ts, packages/junior/src/chat/slack/message/content.ts, and dependency @chat-adapter/[email protected]. This report is about the observed behavior and evidence; the underlying fix is not specified here.
via David Cramer.
--
- Ngôn ngữ chính
- TypeScript
- Star
- 385
- Fork
- 42
- Merge trung bình
- 9 giờ 29 phút
- Pull request đã merge (30 ngày)
- 286
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/junior
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
getsentry/junior#335 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của getsentry/junior
Issue tương tự
-
fix(worker): keep normal prepare waiting states failure-freeCó thể đã có người làm @LichKing-2234 đã nhận hôm nay. Đang mởagent:codex priority:P1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
AgoraIO-Extensions/agent-infra#3745 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framingCó thể đã có người làm @Eapp1e đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
makecindy/cindy#7973 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
lingdojo/kana-dojo#33337 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
coder/xum#7733 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
code-yeongyu/senpi#4917 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày