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

オープン
#4,465 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
docker, docker-compose

調査の方向性

まず、セルフホスト環境で Claude Agent 統合プロバイダーがどのように公開されているか、また CLAUDE_CODE_CLIENT_CLASS がデフォルトで None に設定される箇所を追跡します。セルフホストのサポートが想定されているかを確認し、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時間
マージ済み PR(30日)
16

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/self-hosted のほかの issue

getsentry/self-hosted の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。