Skip to content

[Notebook Migration] Add python-notebook-migration-enabled feature flag for migration-tool rollout #5253

@zyratlo

Description

@zyratlo

Task Summary

Introduce a GUI feature flag python-notebook-migration-enabled (default false) that controls whether the Python-notebook to Texera-workflow migration tool is exposed to end users.

Scope

  • common/config/src/main/resources/gui.conf — declare gui.workflow.workspace.python-notebook-migration-enabled = false, with env-var override GUI_WORKFLOW_WORKSPACE_PYTHON_NOTEBOOK_MIGRATION_ENABLED.
  • common/config/src/main/scala/org/apache/texera/config/GuiConfig.scala — Scala accessor for the new field.
  • …/service/resource/ConfigResource.scala — include the flag in the runtime config payload served to the frontend.
  • frontend/src/app/common/type/gui-config.ts — add the typed field on the frontend GuiConfig interface.
  • frontend/src/app/workspace/component/menu/menu.component.ts — expose a pythonNotebookMigrationEnabled getter for downstream migration-tool UI to consume.

Task Type

  • Refactor / Cleanup
  • DevOps / Deployment / CI
  • Testing / QA
  • Documentation
  • Performance
  • Other

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions