Skip to content

Commit 7c6ee15

Browse files
nicohrubecclaude
andcommitted
ref(core): Drop explanatory comment above no-deprecated disables
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f2689a3 commit 7c6ee15

13 files changed

Lines changed: 0 additions & 52 deletions

File tree

packages/core/src/tracing/ai/utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// `@sentry/conventions` marks several gen_ai attributes (e.g. `GEN_AI_SYSTEM`, `GEN_AI_PROMPT`,
2-
// `GEN_AI_REQUEST_AVAILABLE_TOOLS`, `GEN_AI_TOOL_*`) as deprecated in favour of newer semconv names. We
3-
// intentionally keep emitting the current names so these spans match what the Sentry product consumes
4-
// today; migrating to the new names is a separate, coordinated change.
51
/* eslint-disable typescript-eslint/no-deprecated */
62
/**
73
* Shared utils for AI integrations (OpenAI, Anthropic, Verce.AI, etc.)

packages/core/src/tracing/anthropic-ai/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// `@sentry/conventions` marks several gen_ai attributes (e.g. `GEN_AI_SYSTEM`, `GEN_AI_PROMPT`,
2-
// `GEN_AI_REQUEST_AVAILABLE_TOOLS`, `GEN_AI_TOOL_*`) as deprecated in favour of newer semconv names. We
3-
// intentionally keep emitting the current names so these spans match what the Sentry product consumes
4-
// today; migrating to the new names is a separate, coordinated change.
51
/* eslint-disable typescript-eslint/no-deprecated */
62
import { captureException } from '../../exports';
73
import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '../../semanticAttributes';

packages/core/src/tracing/google-genai/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// `@sentry/conventions` marks several gen_ai attributes (e.g. `GEN_AI_SYSTEM`, `GEN_AI_PROMPT`,
2-
// `GEN_AI_REQUEST_AVAILABLE_TOOLS`, `GEN_AI_TOOL_*`) as deprecated in favour of newer semconv names. We
3-
// intentionally keep emitting the current names so these spans match what the Sentry product consumes
4-
// today; migrating to the new names is a separate, coordinated change.
51
/* eslint-disable typescript-eslint/no-deprecated */
62
/* eslint-disable max-lines */
73
import { captureException } from '../../exports';

packages/core/src/tracing/langchain/embeddings.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// `@sentry/conventions` marks several gen_ai attributes (e.g. `GEN_AI_SYSTEM`, `GEN_AI_PROMPT`,
2-
// `GEN_AI_REQUEST_AVAILABLE_TOOLS`, `GEN_AI_TOOL_*`) as deprecated in favour of newer semconv names. We
3-
// intentionally keep emitting the current names so these spans match what the Sentry product consumes
4-
// today; migrating to the new names is a separate, coordinated change.
51
/* eslint-disable typescript-eslint/no-deprecated */
62
import { captureException } from '../../exports';
73
import { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '../../semanticAttributes';

packages/core/src/tracing/langchain/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// `@sentry/conventions` marks several gen_ai attributes (e.g. `GEN_AI_SYSTEM`, `GEN_AI_PROMPT`,
2-
// `GEN_AI_REQUEST_AVAILABLE_TOOLS`, `GEN_AI_TOOL_*`) as deprecated in favour of newer semconv names. We
3-
// intentionally keep emitting the current names so these spans match what the Sentry product consumes
4-
// today; migrating to the new names is a separate, coordinated change.
51
/* eslint-disable typescript-eslint/no-deprecated */
62
/* eslint-disable max-lines */
73
import { captureException } from '../../exports';

packages/core/src/tracing/langchain/utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// `@sentry/conventions` marks several gen_ai attributes (e.g. `GEN_AI_SYSTEM`, `GEN_AI_PROMPT`,
2-
// `GEN_AI_REQUEST_AVAILABLE_TOOLS`, `GEN_AI_TOOL_*`) as deprecated in favour of newer semconv names. We
3-
// intentionally keep emitting the current names so these spans match what the Sentry product consumes
4-
// today; migrating to the new names is a separate, coordinated change.
51
/* eslint-disable typescript-eslint/no-deprecated */
62
import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '../../semanticAttributes';
73
import type { SpanAttributeValue } from '../../types/span';

packages/core/src/tracing/langgraph/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// `@sentry/conventions` marks several gen_ai attributes (e.g. `GEN_AI_SYSTEM`, `GEN_AI_PROMPT`,
2-
// `GEN_AI_REQUEST_AVAILABLE_TOOLS`, `GEN_AI_TOOL_*`) as deprecated in favour of newer semconv names. We
3-
// intentionally keep emitting the current names so these spans match what the Sentry product consumes
4-
// today; migrating to the new names is a separate, coordinated change.
51
/* eslint-disable typescript-eslint/no-deprecated */
62
import { captureException } from '../../exports';
73
import { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '../../semanticAttributes';

packages/core/src/tracing/langgraph/utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// `@sentry/conventions` marks several gen_ai attributes (e.g. `GEN_AI_SYSTEM`, `GEN_AI_PROMPT`,
2-
// `GEN_AI_REQUEST_AVAILABLE_TOOLS`, `GEN_AI_TOOL_*`) as deprecated in favour of newer semconv names. We
3-
// intentionally keep emitting the current names so these spans match what the Sentry product consumes
4-
// today; migrating to the new names is a separate, coordinated change.
51
/* eslint-disable typescript-eslint/no-deprecated */
62
import { captureException } from '../../exports';
73
import { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '../../semanticAttributes';

packages/core/src/tracing/openai/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// `@sentry/conventions` marks several gen_ai attributes (e.g. `GEN_AI_SYSTEM`, `GEN_AI_PROMPT`,
2-
// `GEN_AI_REQUEST_AVAILABLE_TOOLS`, `GEN_AI_TOOL_*`) as deprecated in favour of newer semconv names. We
3-
// intentionally keep emitting the current names so these spans match what the Sentry product consumes
4-
// today; migrating to the new names is a separate, coordinated change.
51
/* eslint-disable typescript-eslint/no-deprecated */
62
import { DEBUG_BUILD } from '../../debug-build';
73
import { captureException } from '../../exports';

packages/core/src/tracing/openai/utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// `@sentry/conventions` marks several gen_ai attributes (e.g. `GEN_AI_SYSTEM`, `GEN_AI_PROMPT`,
2-
// `GEN_AI_REQUEST_AVAILABLE_TOOLS`, `GEN_AI_TOOL_*`) as deprecated in favour of newer semconv names. We
3-
// intentionally keep emitting the current names so these spans match what the Sentry product consumes
4-
// today; migrating to the new names is a separate, coordinated change.
51
/* eslint-disable typescript-eslint/no-deprecated */
62
import type { Span } from '../../types/span';
73
import type { SpanAttributeValue } from '../../types/span';

0 commit comments

Comments
 (0)