Skip to content

fix(otlp-ingester): drop duplicate sinkOccurrence import in coded-errors test - #29

Merged
sagnik11 merged 1 commit into
mainfrom
fix/duplicate-sink-import
Oct 11, 2026
Merged

sagnik11 merged 1 commit into
mainfrom
fix/duplicate-sink-import

Conversation

@sagnik11

@sagnik11 sagnik11 commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

packages/otlp-ingester/src/coded-errors.test.ts imported sinkOccurrence from ./sink.js twice (lines 26 and 32). This removes the out-of-order copy at line 26.

Besides being a duplicate identifier, this crashed Autter's code indexer for this repo (Duplicate declaration "sinkOccurrence"), which left the merged-PR index refreshes for #25 and #26 stuck. The indexer-side fix is Autter-dev/autter-monorepo#388.

Verification: tsx --test src/coded-errors.test.ts passes (16/16), and tsc -p tsconfig.json --noEmit is clean.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

…ors test

The test file imported `sinkOccurrence` from ./sink.js twice. Besides being
invalid TS (duplicate identifier), it crashed Autter's code indexer for this
repo with `Duplicate declaration "sinkOccurrence"`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sagnik11
sagnik11 merged commit b9292c4 into main Oct 11, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant