Skip to content

[Notebook Migration] Support migrating Python folders from local files and GitHub #8008

Description

@zyratlo

Feature Summary

The migration tool takes one file at a time. Real Python projects are rarely one file: they are a directory of modules that import each other, often kept in a Git repository. Migrating such a project today means feeding it in one piece at a time and reassembling the workflow by hand, which loses exactly the structure that makes the project worth migrating.

Two input sources are worth supporting: a folder the user selects from their machine, and a GitHub repository or a directory within one.

Proposed Solution or Design

Accept a folder of Python sources as a single migration input and produce one workflow from it, from either a local directory or a GitHub URL.

This is a larger step than single-file support, because a folder carries relationships a single file does not. Imports between modules imply an execution order and a dependency structure that a workflow's operator graph could reflect, and deciding how much of that to infer versus ask the user is the substance of the design. None of it is settled here.

Related considerations to work out when this is picked up:

  • Which files in a folder are in scope, and how to handle non-Python files, tests, and configuration.
  • How much of the folder is sent to the LLM at once, given context limits on a project of meaningful size.
  • For GitHub input: whether private repositories are supported, and how authentication would work if so.
  • How the source is presented in the workspace, since the Jupyter panel currently embeds a single notebook.
  • Whether this builds on single-file Python support (#TBD) or is designed independently.

This is follow-up work after the Jupyter notebook migration tool is complete, and it depends on single-file Python support landing first. It is not scoped or designed yet.

Affected Area

Other

Activity

  1. added theissue type on Aug 26, 2026
  2. zyratlo commented on Aug 26, 2026

    @zyratlo
    ContributorAuthor

    /parent-issue #4301

  3. Musxeto commented on Aug 30, 2026

    @Musxeto
    Contributor

    /take

  4. zyratlo commented on Aug 30, 2026

    @zyratlo
    ContributorAuthor

    Hi @Musxeto , thanks for being willing to contribute to Texera! For context, this sub-issue is part of a larger project I have been working on as a new tool to the codebase (see the parent issue #4301). This issue has a stacking dependency on top of #8007, so it cannot be done until that is complete. I created this issue to plan out the scope of the project, and it is my fault that I forgot to take it as I already plan to develop this issue in the future. Sorry for the confusion!

  5. Musxeto commented on Aug 31, 2026

    @Musxeto
    Contributor

    okay @zyratlo got it

  6. assigned and unassigned on Sep 1, 2026
  7. added a commit that references this issue on Oct 5, 2026
    e2bd0cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions