Skip to content

Add realistic e2e test app for Anthropic #24748

Description

@andreiborza

Add an e2e test app that uses the Anthropic integration the way a real user does, and that sends the data to a real Sentry project.

Current state: gen-ai-libraries sends real requests through OpenRouter (Node and Cloudflare). But the SDK sends the spans to the local event proxy (tunnel: localhost:3031), so nothing gets to Sentry.

Requirements:

  • Send real requests to the model provider (OpenRouter is OK).
  • Use a real E2E_TEST_DSN with no tunnel, so the data goes to Sentry.
  • Read the gen_ai spans back through the Sentry API and check them, the same way the *-send-to-sentry apps do.
  • Add a variant that runs against the latest version of the library.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions