refactor(github): convert github utils to TaskFlow @task and chain - #306
Open
RexBearIU wants to merge 4 commits into
Open
refactor(github): convert github utils to TaskFlow @task and chain#306RexBearIU wants to merge 4 commits into
RexBearIU wants to merge 4 commits into
Conversation
RexBearIU
requested review from
alfredyu-cienet,
andrewyct,
severus-ho and
xibinliu
as code owners
July 27, 2026 08:15
RexBearIU
force-pushed
the
maxtext/user/jackyf/refactor-github-utils
branch
from
July 27, 2026 09:22
d31880b to
afb1667
Compare
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.
Description
Refactored
xlml/utils/github.pyanddags/multipod/maxtext_e2e_tests.pyto follow standard Airflow 2.x TaskFlow conventions:validate_git_triggerandfire_github_callbackto TaskFlow tasks using@task.**contextwithget_current_context().>>bitshift operators withchain().commit_shaandgithub_token(with backward-compatible fallbacks).xlml/utils/github_test.py.Tests
Uploaded DAG and utility files to test environment
jackyf-testand verified task structure and import errors:Output from Composer:
dags list-import-errors: No import errors formaxtext_e2e_tests.tasks list: Successfully listed all tasks:<Task(_TaskDecorator): fire_github_callback_post_training><Task(_TaskDecorator): fire_github_callback_pre_training><Task(TriggerDagRunOperator): trigger_tpu_post_training><Task(TriggerDagRunOperator): trigger_tpu_pre_training><Task(_TaskDecorator): validate_git_trigger>Checklist