Repository navigation
Go SDK: add airflow.Dag and dag.Task, the native Dag constructors - #73767
Merged
jason810496 merged 3 commits intoSep 28, 2026
Merged
jason810496 merged 3 commits into
jason810496 merged 3 commits into
Conversation
jason810496
reviewed
Sep 27, 2026
jason810496
left a comment
Member
There was a problem hiding this comment.
Thanks for the PR, LGTM overall.
FrankYang0529
force-pushed
the
airflow-go-sdk-native-dag-constructors
branch
from
September 28, 2026 00:29
b4f1fbe to
ca23a69
Compare
FrankYang0529
marked this pull request as ready for review
September 28, 2026 07:44
FrankYang0529
force-pushed
the
airflow-go-sdk-native-dag-constructors
branch
from
September 28, 2026 08:43
ca23a69 to
9f4335c
Compare
jason810496
reviewed
Sep 28, 2026
jason810496
left a comment
Member
There was a problem hiding this comment.
One minor nit, then I think we're good to go, thanks.
Signed-off-by: PoAn Yang <payang@apache.org>
Signed-off-by: PoAn Yang <payang@apache.org>
Signed-off-by: PoAn Yang <payang@apache.org>
FrankYang0529
force-pushed
the
airflow-go-sdk-native-dag-constructors
branch
from
September 28, 2026 13:53
9f4335c to
d677ded
Compare
This was referenced Sep 29, 2026
1 task done
1 task done
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.
Implement Go SDK: Add airflow.Dag and dag.Task, the native Dag constructors.
airflow.Dag(dagId, spec)returns a*DagRef, which is aRegisterable.Registerstores the Dag separately from the task handlers and marks it as registered, so a later call todag.Taskpanics.dag.Task(fn, opts...)runs the same signature check asTaskHandlerand returns a*TaskRef. The task_id is the Go function name, spelled exactly as in the source, unlessTaskSpec{TaskID: ...}sets one.go test ./...Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.