Skip to content

refactor(telemetry): rename global source flag to --biz-from (avoid bizSource/callSource collisions) - #337

Merged
lishengzxc merged 2 commits into
mainfrom
feat/rename-call-source
Nov 24, 2026
Merged

lishengzxc merged 2 commits into
mainfrom
feat/rename-call-source

Conversation

@lishengzxc

Copy link
Copy Markdown
Contributor

Why

The global telemetry source flag originally named --biz-source (bizSource) collided semantically with the alert API request field bizSource: "bailian"; renaming to --call-source (callSource) then hit the registry reserved-flag guard because log inference-list already declares a callSource flag (Online/Offline).

Change

Rename the global flag to --biz-from (bizFrom), which is free of both collisions. Full chain: GLOBAL_FLAGS -> buildSettings -> settings.bizFrom -> tracker -> TrackingEvent.bizFrom -> AEM ext + dedicated flat column c6. alert bizSource and log callSource left untouched. Tests/docs/CHANGELOG(2.11.0)/reference updated.

Verification

core 94 passed; cli registry.smoke 491 passed (full registry, no reserved-flag conflict); vp check 0 errors; sync:skill-assets OK; real --help shows --biz-from.

Release note

2.11.0 tag currently points at the pre-rename commit and its Publish run is stuck on OSS upload; coordinate re-run/tag handling when landing this before 2.11.0 publishes.

bizSource collided with the alert API request field and callSource with the log inference-list flag (reserved-flag guard). Rename the global telemetry source flag to --biz-from (bizFrom) across GLOBAL_FLAGS/settings/event/tracker/tests/docs; AEM c6 mapping unchanged. alert bizSource and log callSource left untouched.
Keep the user-facing changelog focused on the flag and per-source usage analysis; AEM c6/ext mapping stays in the internal telemetry-change doc.
@lishengzxc
lishengzxc merged commit 58789db into main Nov 24, 2026
7 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