Claude Agent integration is visible but cannot be configured on self-hosted Sentry

未关闭
#4,465 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
docker, docker-compose

调研方向

首先追踪 Claude Agent 集成提供程序如何在 self-hosted 设置中公开,以及 CLAUDE_CODE_CLIENT_CLASS 在哪里默认为 None。检查是否计划支持 self-hosted,并确定输入 Anthropic API 密钥后使用的配置路径。完成的标准是:集成要么能够使用文档记录的设置成功配置,要么在不受支持时不再显示。

由索引模型根据 Issue 内容生成。

描述

Self-Hosted Version

26.7.2

CPU Architecture

x86_64

Docker Version

Docker version 28.5.1, build e180ab8

Docker Compose Version

Docker Compose version v2.40.3

Machine Specification
  • My system meets the minimum system requirements of Sentry
Installation Type

Upgrade

Steps to Reproduce
  1. Run self-hosted Sentry 26.7.2.
  2. Go to Settings -> Integrations.
  3. Open the Claude Agent integration.
  4. Enter a valid Anthropic API key.
  5. Try to install/configure the integration.
  6. The setup fails with an error saying that CLAUDE_CODE_CLIENT_CLASS is not configured.
Expected Result

The Claude Agent integration should either work on self-hosted Sentry with the required configuration documented, or it should not be displayed as an available integration if it is not supported on self-hosted installations.

Actual Result

The Claude Agent integration is visible and allows me to start the configuration process, but after entering the Anthropic API key the setup fails with:

CLAUDE_CODE_CLIENT_CLASS is not configured. The Claude Code client is not available in this environment.

From the Sentry source code, CLAUDE_CODE_CLIENT_CLASS defaults to None, while the Claude Agent integration provider is still available in the UI.

It is unclear whether Claude Agent is supposed to be supported on self-hosted Sentry and, if it is, how CLAUDE_CODE_CLIENT_CLASS should be configured.

Image
Event ID

No response

主要语言
Shell
星标
9.7k
派生
2k
平均合并
3 天 2 小时
30 天内合并 PR
16

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/self-hosted 的其他 Issue

查看 getsentry/self-hosted 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。