chore(python): deprecate Python plugin framework (Phase 1 of #9092) - #9097
Open
klesh wants to merge 1 commit into
Open
chore(python): deprecate Python plugin framework (Phase 1 of #9092)#9097klesh wants to merge 1 commit into
klesh wants to merge 1 commit into
Conversation
Phase 1 of the deprecation plan in #9092. Adds deprecation warnings across the codebase to inform users that the Python plugin framework will be removed in 3 months in favor of Go-based plugins. Changes: - backend/python/README.md: add DEPRECATED banner + migration guidance - backend/python/plugins/azuredevops/README.md: mark plugin deprecated, point users to azuredevops_go - backend/core/runner/loader.go: emit a WARN log line at server startup when remote (Python) plugins are being loaded - backend/core/plugin/plugin_meta.go: add PluginDeprecation interface - backend/server/services/remote/plugin/plugin_impl.go: implement PluginDeprecation on RemotePlugin so all Python plugins are flagged - backend/server/api/plugininfo/plugininifo.go: expose field on GET /plugins so config-ui can detect deprecated plugins - config-ui: add isDeprecated/deprecationMessage to IPluginConfig, mark the azuredevops (Python) plugin deprecated, and render a 'Deprecated' badge + message in the Connections page
klesh
force-pushed
the
chore/deprecate-python-plugins
branch
from
September 2, 2026 11:59
51502cc to
33f001a
Compare
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.
Summary
Phase 1 (Warning) of the Python plugin deprecation plan in #9092. Adds deprecation warnings across the backend and frontend so users are informed that the Python plugin framework (PyDevLake) will be removed in 3 months, and that they should migrate to Go-based plugins (e.g.
azuredevops→azuredevops_go).This PR does not remove any code. It only surfaces deprecation notices.
Changes
Backend
backend/python/README.md— DEPRECATED banner at the top explaining why, the timeline, and migration guidance for new plugins (write Go) and existingazuredevopsusers (migrate toazuredevops_go).backend/python/plugins/azuredevops/README.md— marks the plugin deprecated, points toazuredevops_go.backend/core/runner/loader.go— emits a one-timeWARNlog at server startup when remote (Python) plugins are being loaded:backend/core/plugin/plugin_meta.go— newPluginDeprecationinterface (DeprecationMessage() string).backend/server/services/remote/plugin/plugin_impl.go—remotePluginImplimplementsPluginDeprecation; all remote/Python plugins report a deprecation message.backend/server/api/plugininfo/plugininifo.go—GET /pluginsnow returns adeprecatedboolean per plugin so the frontend can detect deprecated plugins.Frontend (config-ui)
config-ui/src/types/plugin.ts— addedisDeprecated?anddeprecationMessage?toIPluginConfig.config-ui/src/plugins/register/azure/config.tsx—AzureConfig(the Pythonazuredevopsplugin) is now flaggedisDeprecated: truewith a migration message.config-ui/src/routes/connection/connections.tsx— renders a red Deprecated badge + deprecation note on deprecated plugin cards in the Connections page.config-ui/src/routes/connection/styled.ts— styles for the new.deprecatedbadge and.deprecation-note.Plan timeline (from #9092)
Verification
go vet ./core/runner/... ./core/plugin/... ./server/api/plugininfo/... ./server/services/remote/...— cleantsc --noEmit— no new errors (only pre-existing missing test deps)Related issue
Closes: no (this is Phase 1 of the plan in #9092; the issue stays open until Phase 4 removal).
Refs: #9092