Skip to content

fix(ci): Align Airflow E2E DAG parameter names with ml-auto-solutions - #4806

Merged
copybara-service[bot] merged 1 commit into
mainfrom
jackyf/fix-e2e-airflow-params
Aug 10, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
jackyf/fix-e2e-airflow-params

Conversation

@RexBearIU

@RexBearIU RexBearIU commented Aug 10, 2026 •

Copy link
Copy Markdown
Collaborator

Description

This PR updates the Airflow REST API request payload in .github/workflows/run_e2e_tests.yml to use commit_sha and github_token parameter names instead of maxtext_sha and github_callback_token.

Background & Motivation

In GoogleCloudPlatform/ml-auto-solutions (commit 310ce8d / PR #1329), the DAG parameters for maxtext_e2e_tests were standardized to generic names commit_sha and github_token. Because Airflow 2.10.x validates incoming conf parameters strictly against the DAG's defined params, triggering the DAG from MaxText's nightly/release workflows resulted in HTTP 400 Bad Request: Invalid input for param commit_sha: No value passed and Param has no default value.

Aligning the payload parameter keys in run_e2e_tests.yml resolves the HTTP 400 error and allows the E2E Airflow DAG to be triggered successfully.

Tests

  • Validated GitHub Actions workflow syntax via pre-commit hooks (yamllint, codespell).
  • Verified parameter mapping against dags/multipod/maxtext_e2e_tests.py in GoogleCloudPlatform/ml-auto-solutions.

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

Update the Airflow REST API payload in run_e2e_tests.yml to pass 'commit_sha'
and 'github_token' instead of 'maxtext_sha' and 'github_callback_token', matching
the standardized DAG parameters defined in GoogleCloudPlatform/ml-auto-solutions.
@RexBearIU
RexBearIU force-pushed the jackyf/fix-e2e-airflow-params branch from 0a78d1f to 9b8d4e0 Compare August 10, 2026 08:45
@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@copybara-service
copybara-service Bot merged commit 8059789 into main Aug 10, 2026
66 of 70 checks passed
@copybara-service
copybara-service Bot deleted the jackyf/fix-e2e-airflow-params branch August 10, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants