Skip to content

SemConv 1.35.0 breaks codegen (enum members collisions between _ and .) #2455

@lmolkova

Description

@lmolkova

⚠ Please DO NOT release semconv artifacts based on v1.35.0 ⚠

#1698 renamed a bunch of cloud.platform members from azure_ to azure. which causes collisions similar to #1118 when generating code - the constant/enum member name is exactly the same for azure_aks and azure.aks.

E.g. on JS

> tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json

src/experimental_attributes.ts:1448:14 - error TS2451: Cannot redeclare block-scoped variable 'CLOUD_PLATFORM_VALUE_AZURE_AKS'.

1448 export const CLOUD_PLATFORM_VALUE_AZURE_AKS = "azure.aks" as const;
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/experimental_attributes.ts:1483:14 - error TS2451: Cannot redeclare block-scoped variable 'CLOUD_PLATFORM_VALUE_AZURE_AKS'.

1483 export const CLOUD_PLATFORM_VALUE_AZURE_AKS = "azure_aks" as const;

We'll need to:

Metadata

Metadata

Assignees

Labels

area:azurebugSomething isn't workingtoolingRegarding build, workflows, build-tools, ...

Type

Projects

Status

Core SemConv issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions