Skip to content

Commit 0c4fe2d

Browse files
nicohrubecclaude
andcommitted
chore(format): Wrap long sentry.sdk.integrations attribute lines
oxfmt wants the SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS entries broken across multiple lines because they exceed the max line length. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e08ef49 commit 0c4fe2d

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

  • dev-packages
    • cloudflare-integration-tests/suites/public-api/startSpan-streamed
    • node-integration-tests/suites/public-api/startSpan/basic-usage-streamed

dev-packages/cloudflare-integration-tests/suites/public-api/startSpan-streamed/test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ it('sends a streamed span envelope with correct spans for a manually started spa
176176
attributes: {
177177
[SEMANTIC_ATTRIBUTE_SENTRY_SDK_NAME]: { type: 'string', value: CLOUDFLARE_SDK },
178178
[SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION]: { type: 'string', value: SDK_VERSION },
179-
[SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS]: { type: 'array', value: expect.arrayContaining(['SpanStreaming']) },
179+
[SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS]: {
180+
type: 'array',
181+
value: expect.arrayContaining(['SpanStreaming']),
182+
},
180183
[SEMANTIC_ATTRIBUTE_SENTRY_RELEASE]: { type: 'string', value: '1.0.0' },
181184
[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: { type: 'string', value: 'auto.http.cloudflare' },
182185
[SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID]: { type: 'string', value: segmentSpanId },

dev-packages/node-integration-tests/suites/public-api/startSpan/basic-usage-streamed/test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ test('sends a streamed span envelope with correct spans for a manually started s
130130
[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: { type: 'integer', value: 1 },
131131
[SEMANTIC_ATTRIBUTE_SENTRY_SDK_NAME]: { type: 'string', value: 'sentry.javascript.node' },
132132
[SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION]: { type: 'string', value: SDK_VERSION },
133-
[SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS]: { type: 'array', value: expect.arrayContaining(['SpanStreaming']) },
133+
[SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS]: {
134+
type: 'array',
135+
value: expect.arrayContaining(['SpanStreaming']),
136+
},
134137
[SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID]: { type: 'string', value: segmentSpanId },
135138
[SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_NAME]: { type: 'string', value: 'test-span' },
136139
[SEMANTIC_ATTRIBUTE_SENTRY_RELEASE]: { type: 'string', value: '1.0.0' },

0 commit comments

Comments
 (0)