Skip to content

AIP-85: View foreign language task code #67260

Closed

Description

@uranusjr

We should provide a way to show both the stub dag and the (e.g. Java) task implementation in Airflow UI.

First we need to somehow make the Java source available to Airflow with a standard way to access it from the web server (how is this done for Python?)

And then we need to build appropriate UI to display the source.

Activity

  1. added
    priority:low
    area:UI
    on May 20, 2026
  2. added
    kind:feature
    on May 20, 2026
  3. added this to the Airflow 3.4.0 milestone on Jun 9, 2026
  4. self-assigned this
    on Jul 8, 2026
  5. moved this from Backlog to Ready in Java-SDKon Jul 8, 2026
  6. bbovenzi commented on Jul 14, 2026

    @bbovenzi
    Contributor

    For python, we are calling an endpoint to get the dag code. I guess the REST API would need a way to know that a dag has TaskSDK code, and then a new endpoint to fetch that code. Then the UI could render it as multiple "files" in the code tab?

  7. added
    AIP-85: Dag Importer
    on Jul 15, 2026
  8. jason810496 commented on Jul 15, 2026

    @jason810496
    Member

    Then the UI could render it as multiple "files" in the code tab?

    Yes, this is exactly what I imagine!

    I guess the REST API would need a way to know that a dag has TaskSDK code, and then a new endpoint to fetch that code.

    Or make the same UI REST API returning multiple DagCode of the given DagVersion. (It still very early stage as we need to design how to link the DagCode to the DagVersion across DagImporter instances)

  9. changed the title [-]AIP-108: View foreign language task code[/-] [+]AIP-85: View foreign language task code[/+] on Jul 15, 2026
  10. moved this from Ready to In progress in Java-SDKon Jul 18, 2026
  11. moved this from In progress to Done in Java-SDKon Jul 20, 2026
  12. jason810496 commented on Jul 20, 2026

    @jason810496
    Member

    As discussed in #70059, we won't implement this feature unless the Airflow code view architecture change / improve. We will only show the Python Dag with Stub Operator for mixed Lang Dag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AIP-85: Dag Importerarea:UIarea:java-sdkkind:featurepriority:low

Type

No type

Projects

  • Status
    Done

Relationships

None yet

Development

No branches or pull requests

Issue actions