Skip to content

chore: refresh the semconv fixture from the Python SDK - #28

Merged
PabloPardoGarcia merged 1 commit into
mainfrom
pablo/semconv-fixture-refresh
Aug 27, 2026
Merged

chore: refresh the semconv fixture from the Python SDK#28
PabloPardoGarcia merged 1 commit into
mainfrom
pablo/semconv-fixture-refresh

Conversation

@PabloPardoGarcia

Copy link
Copy Markdown
Member

Closes #25.

The weekly parity check found one added constant:

   "TRACER_NAME": "glassflow",
+  "SERVICE_INSTANCE_ID": "service.instance.id",

Purely a stale mirror. src/semconv.ts:8 already exports SERVICE_INSTANCE_ID = "service.instance.id" — it shipped in #24 — so Python and this SDK have agreed all along. Only the committed fixture lagged.

The parity test never had anything to catch, because it walks the fixture's keys and compares each against src/semconv.ts; a key the fixture lacks is never compared at all. The weekly regenerate-and-diff is what noticed, and that is what opened #25.

224 passed with the refreshed fixture, so this is the benign class of drift: the regenerated mirror keeps the suite green. Had Python added a constant this SDK genuinely lacked, the test would now be red and would need a human to port it or declare it in PYTHON_ONLY.

That distinction is the basis of a follow-up PR reworking semconv-parity.yml so mechanical drift like this opens a PR instead of an issue.

Picks up SERVICE_INSTANCE_ID = "service.instance.id", which Python gained
when service.instance.id shipped here in #24.

Purely a stale mirror: src/semconv.ts already exports that constant with
that value, so the parity test never had anything to catch — the test walks
the FIXTURE's keys, and a key the fixture lacks is simply never compared.
Only the weekly regenerate-and-diff check saw it, which is what opened #25.

Closes #25
@PabloPardoGarcia
PabloPardoGarcia merged commit ce572db into main Aug 27, 2026
10 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.

semconv drifted from rius-sdk-python

1 participant