Skip to content

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

Description

@petuhovegor

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions