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

Aperta
#4,465 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
docker, docker-compose

Direzione di ricerca

Inizia tracciando come il provider di integrazione Claude Agent viene esposto nella configurazione self-hosted e dove CLAUDE_CODE_CLIENT_CLASS viene impostato su None per impostazione predefinita. Verifica se il supporto self-hosted è previsto e identifica il percorso di configurazione utilizzato dopo l’inserimento di una chiave API Anthropic. Il lavoro è concluso quando l’integrazione viene configurata correttamente con le impostazioni documentate oppure non viene più mostrata se non è supportata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Shell
Stelle
9.7k
Fork
2k
Merge medio
3g 2h
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/self-hosted

Tutte le issue di getsentry/self-hosted

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.