[1.26.x] refactor(esb): retire EE ESB and preserve TE integrations - #3260
Draft
wklken wants to merge 5 commits into
Draft
[1.26.x] refactor(esb): retire EE ESB and preserve TE integrations#3260wklken wants to merge 5 commits into
wklken wants to merge 5 commits into
Conversation
wklken
commented
Sep 8, 2026
wklken
commented
Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Retire bundled EE ESB delivery while retaining TE's independently deployed ESB permissions and documentation. Remove the ESB service/build workflow, automatic bk-esb registration/sync, EE management APIs, and the complete frontend component-management UI, routes and dedicated services/types.
EE login uses bk-login and notifications use bk-cmsi regardless of tenant mode. TE retains its authentication and CMSIComponent. EE alert delivery selects WeChat; TE retains IM and WeChat. Removed management flags cannot be restored by per-user overrides; ESB documentation remains available only in TE.
MENU_ITEM_ESB_API_DOCis always returned (false in EE, configurable in TE); TE routes, ESB app/database/TLS and frontend visibility no longer depend on tenant mode.Keep one source for gateway resource definitions, grants, API documentation, URLs, DB routing and test environment in the main repository. The seven ESB Inner resources remain registered with
isPublic: falseandallowApplyPermission: false; only TE loads their backend implementations. TE no longer overlays snapshots of these shared files. Retain the existing biz.esb import-linter constraints.Move the remaining EE Python SDK manager and usage templates into shared source; remove editions/ee and all EE edition activation steps, including image build targets. EE image targets reject an active TE checkout before packaging; use an unactivated shared-source checkout. TE consumes the same active Python SDK manager and usage templates. TE-specific ESB apps, database/configuration and API implementations remain in its overlay. The existing independent legacy SDK path is retained.
Coordinated delivery and upgrade prerequisites
Build TE with the coordinated branch through
make edition-te. Existing ESB installations require the documented old-chart preparation to preserve resources and export compapi routing before installing the removal chart. Independently maintain the ESB resources and Ingress pointing to APISIX. Existing tables, gateway records and data are not dropped; buffet/self-service routing is intentionally retired.The Helm source change does not publish a chart or bump version/image defaults; release it with the matching Dashboard image. No production deployment, real Helm upgrade/rollback, live traffic or external bk-login/bk-cmsi verification was performed.
Validation
uv run make lint-check;uv run make test— 3828 passed, without edition activation.make edition-te;EDITION=te uv run make lint-check; full test suite — 3922 passed. Final SDK/docs/config focused run — 56 passed after removing SDK template overrides.npm run build-onlypassed (bundle-size warnings).Checklist