The GitHub Actions job "Tests" on airflow.git/feature/java-sdk has failed.
Run started by GitHub user uranusjr (triggered by uranusjr).

Head commit for run:
ae91075cf30d038a7361ff641337bbe091a37ef8 / Tzu-ping Chung <[email protected]>
Introduce Builder annotations (#1576)

* Introduce DagBuilder annotations

This provides two annotations: DagBuilder and DagBuilder.Task that
*slightly* reduces the boilerplate needed to define tasks in Java (about
two lines per task, and two more lines for the dag).

The way this works is you do

    @DagBuilder
    public class MyDag {
      @DagBuilder.Task
      public void myTask(...) { ... }
    }

and the compiler uses our annotation processor to generate a wrapper
class named MyDagBuilder with the needed tasks and dependencies defined.
You then can register the dag to the bundle via the builder by calling

    MyDagBuilder.build()

in the BundleBuilder's getDags().

A lot of code for a little benefit for the moment, but this should make
taskflow-style XCom a lot easier. (This is not implemented yet.)

* Push XCom from return value

* Support auto XCom set and get

Generate extra code around the annotated function to pass in XCom
references, and set XCom from the return value.

* Move builder annotations to 'Builder'

* Allow customizing generated builder class name

* Add tests for annotation processor

Report URL: https://github.com/apache/airflow/actions/runs/25499074526

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to