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

Abierto
#4,465 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
docker, docker-compose

Línea de trabajo

Empieza rastreando cómo se expone el proveedor de integración Claude Agent en la configuración self-hosted y dónde CLAUDE_CODE_CLIENT_CLASS tiene None como valor predeterminado. Comprueba si está previsto el soporte self-hosted e identifica la ruta de configuración que se utiliza después de introducir una clave de API de Anthropic. Se considera terminado cuando la integración se configura correctamente con los ajustes documentados o deja de mostrarse si no es compatible.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Shell
Estrellas
9.7k
Forks
2k
Merge medio
3 d 2 h
PR fusionados (30 d)
16

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de getsentry/self-hosted

Todos los issues de getsentry/self-hosted

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.