Skip to content

airflow-ctl 0.1.5: test to stable - #67294

Merged
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test
May 26, 2026
Merged

airflow-ctl 0.1.5: test to stable#67294
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test

Conversation

@bugraoz93

@bugraoz93bugraoz93 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Sync airflow-ctl/v0-1-test into airflow-ctl/v0-1-stable for the airflow-ctl 0.1.5 release.

Need backport of (depends): #67295 merged to backport branch. Then it will merge. But ready for review as the only version will lend

bugraoz93and others added 5 commits April 26, 2026 22:55
…tion (#65099) (#65904)
* fix(cli): allow remote version check without local config file
* fix(cli): introduce NO_AUTH client
* test(cli): add unit test for no-auth commands
(cherry picked from commit 80cefde)
Co-authored-by: rjgoyln <151457491+rjgoyln@users.noreply.github.com>
… utils to load help texts (#65841) (#65903)
(cherry picked from commit ad213e0)
Co-authored-by: Justin Pakzad <114518232+justinpakzad@users.noreply.github.com>
…payloads as JSON (#65158) (#65937)
(cherry picked from commit ec8977c)
Co-authored-by: Henry Chen <henryhenry0512@gmail.com>
Pins `[tool.uv] required-version` (and the matching marker-tagged
constants in breeze) to 0.11.8 across the root and the three workspace
members that carried their own (stale) floor (`airflow-core`,
`airflow-ctl`, `dev/mypy` — all previously `>=0.6.3`). The bump picks
up the timestamp-elision fix from astral-sh/uv#19022 (closesastral-sh/uv#18708 — relative `exclude-newer` no longer writes a
churning timestamp into uv.lock that two branches collide on).
Drops uv's per-package cooldown to "12 hours" in both
[tool.uv.exclude-newer-package] and [tool.uv.pip.exclude-newer-package];
without the override the project-wide 4-day window blocks a
freshly-released uv from being adopted as the floor. The override is
flagged "REMOVE BY 2026-05-01" — once 0.11.8 is older than the global
4-day cooldown the override is redundant.
Bumps AIRFLOW_UV_VERSION across Dockerfiles, breeze constants, and
the image-args doc to match. The `# sync-uv-min-version`-tagged test
fixtures were auto-rewritten by the prek hook of the same name.
uv.lock confirms the upstream fix is engaged: `exclude-newer` reads
as the no-op `0001-01-01T00:00:00Z` placeholder.
(cherry picked from commit dbfc27d)
…for airflow-ctl/ (#66112) (#66217)
Backport of #66112. Conflicts resolved by keeping v0-1-test base for unrelated
divergences (only_new field, validate_model, is_backfillable property,
DAGRunCollectionResponse multi-line docstring) and applying only the
DAG -> Dag description-text changes — feature-related lines absent in
v0-1-test were not introduced.
Co-authored-by: hojeong park <parkhj062@gmail.com>
… (#67384)
* Increment version of airflowctl for RC
* Change airflow-core usage for ctl
* Change airflow-core usage for ctl and amend installation in docker
* Prepare airflowctl for tests in CI
* Amend install airflow and provider to cover airflowctl
(cherry picked from commit 336a119)
@bugraoz93
bugraoz93 requested a review from kaxil as a code ownerMay 23, 2026 18:44
bugraoz93and others added 3 commits May 24, 2026 21:50
…al, keep optional as --flag (#66768) (#67387)
* airflowctl: make required CLI params positional, keep optional as --flag
Auto-generated commands such as ``airflowctl dags get-details`` now accept
required primitive parameters positionally:
airflowctl dags get-details my_dag_id
instead of the previous ``--dag-id my_dag_id`` form. Optional parameters
and booleans keep the ``--flag`` form.
This follows the dev-list lazy consensus on airflowctl parameter style.
A parameter is considered required when the operation method declares it
without a default and without ``| None`` in its annotation. Datamodel-
expanded body fields are unaffected — they are not "parameters of the
operation method" in this sense and continue to use ``--flag``.
* tests: tmp_path fixture for command-factory; positional form for integration tests
Two follow-ups to the positional-required-args change:
- ``TestCommandFactory._save_temp_operations_py`` previously wrote a
shared ``test_command.py`` in cwd; under pytest-xdist that file is
raced by workers, so ``next(arg for arg in jobs_list_args if ...)``
in one test could see content written by another and raise
``StopIteration``. Helper now takes the per-test ``tmp_path`` and
returns the full path. The classmethod ``teardown_method`` that
removed the shared file is no longer needed (pytest auto-cleans
``tmp_path``).
- The Airflow CTL PROD-image integration tests still invoked converted
parameters with the old ``--flag value`` form (e.g.
``--variable-key=X``, ``--section X --option Y``,
``--dag-id=example_bash_operator``). Updated each occurrence to the
positional form that the regenerated CLI now expects. Optional
parameters (``--logical-date``, ``--run-after``, ``--is-paused``,
``--state``, ``--limit``, etc.) stay as ``--flag``.
---------
(cherry picked from commit ffa426b)
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Co-authored-by: Stefan Wang <1fannnw@gmail.com>
… (#67386)
* Add airflowctl dags next-execution command #66172
* Add generated OpenAPI spec and UI types
* Revert "Add generated OpenAPI spec and UI types"
This reverts commit 6748ed8.
* Update help text Dag definition
---------
(cherry picked from commit 16ad479)
Co-authored-by: Haseeb Malik <118837269+haseebmalik18@users.noreply.github.com>
@bugraoz93

Copy link
Copy Markdown
ContributorAuthor

Will merge after backporting release notes :)

…67576)
* Add airflowctl 0.1.5 release notes
* Add double backticks
* Apply suggestions from code review
* Amend release notes without backports and duplicates, add misc as commented visibility
---------
(cherry picked from commit 1a1c145)
Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
@bugraoz93
bugraoz93 merged commit 30e72a3 into airflow-ctl/v0-1-stableMay 26, 2026
3 checks passed
@bugraoz93
bugraoz93 deleted the airflow-ctl/v0-1-test branch May 26, 2026 21:48
@bugraoz93
bugraoz93 restored the airflow-ctl/v0-1-test branch May 27, 2026 16:44
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 5, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctlarea:APIAirflow's REST/HTTP APIarea:dev-toolsarea:production-imageProduction image improvements and fixesarea:UIRelated to UI/UX. For Frontend Developers.kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@bugraoz93@potiuk@choo121600
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
airflow-ctl 0.1.5: test to stable by bugraoz93 · Pull Request #67294 · apache/airflow · GitHub
Skip to content

airflow-ctl 0.1.5: test to stable - #67294

Merged
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test
May 26, 2026
Merged

airflow-ctl 0.1.5: test to stable#67294
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test

Conversation

@bugraoz93

@bugraoz93bugraoz93 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Sync airflow-ctl/v0-1-test into airflow-ctl/v0-1-stable for the airflow-ctl 0.1.5 release.

Need backport of (depends): #67295 merged to backport branch. Then it will merge. But ready for review as the only version will lend

bugraoz93and others added 5 commits April 26, 2026 22:55
…tion (#65099) (#65904)
* fix(cli): allow remote version check without local config file
* fix(cli): introduce NO_AUTH client
* test(cli): add unit test for no-auth commands
(cherry picked from commit 80cefde)
Co-authored-by: rjgoyln <151457491+rjgoyln@users.noreply.github.com>
… utils to load help texts (#65841) (#65903)
(cherry picked from commit ad213e0)
Co-authored-by: Justin Pakzad <114518232+justinpakzad@users.noreply.github.com>
…payloads as JSON (#65158) (#65937)
(cherry picked from commit ec8977c)
Co-authored-by: Henry Chen <henryhenry0512@gmail.com>
Pins `[tool.uv] required-version` (and the matching marker-tagged
constants in breeze) to 0.11.8 across the root and the three workspace
members that carried their own (stale) floor (`airflow-core`,
`airflow-ctl`, `dev/mypy` — all previously `>=0.6.3`). The bump picks
up the timestamp-elision fix from astral-sh/uv#19022 (closesastral-sh/uv#18708 — relative `exclude-newer` no longer writes a
churning timestamp into uv.lock that two branches collide on).
Drops uv's per-package cooldown to "12 hours" in both
[tool.uv.exclude-newer-package] and [tool.uv.pip.exclude-newer-package];
without the override the project-wide 4-day window blocks a
freshly-released uv from being adopted as the floor. The override is
flagged "REMOVE BY 2026-05-01" — once 0.11.8 is older than the global
4-day cooldown the override is redundant.
Bumps AIRFLOW_UV_VERSION across Dockerfiles, breeze constants, and
the image-args doc to match. The `# sync-uv-min-version`-tagged test
fixtures were auto-rewritten by the prek hook of the same name.
uv.lock confirms the upstream fix is engaged: `exclude-newer` reads
as the no-op `0001-01-01T00:00:00Z` placeholder.
(cherry picked from commit dbfc27d)
…for airflow-ctl/ (#66112) (#66217)
Backport of #66112. Conflicts resolved by keeping v0-1-test base for unrelated
divergences (only_new field, validate_model, is_backfillable property,
DAGRunCollectionResponse multi-line docstring) and applying only the
DAG -> Dag description-text changes — feature-related lines absent in
v0-1-test were not introduced.
Co-authored-by: hojeong park <parkhj062@gmail.com>
… (#67384)
* Increment version of airflowctl for RC
* Change airflow-core usage for ctl
* Change airflow-core usage for ctl and amend installation in docker
* Prepare airflowctl for tests in CI
* Amend install airflow and provider to cover airflowctl
(cherry picked from commit 336a119)
@bugraoz93
bugraoz93 requested a review from kaxil as a code ownerMay 23, 2026 18:44
bugraoz93and others added 3 commits May 24, 2026 21:50
…al, keep optional as --flag (#66768) (#67387)
* airflowctl: make required CLI params positional, keep optional as --flag
Auto-generated commands such as ``airflowctl dags get-details`` now accept
required primitive parameters positionally:
airflowctl dags get-details my_dag_id
instead of the previous ``--dag-id my_dag_id`` form. Optional parameters
and booleans keep the ``--flag`` form.
This follows the dev-list lazy consensus on airflowctl parameter style.
A parameter is considered required when the operation method declares it
without a default and without ``| None`` in its annotation. Datamodel-
expanded body fields are unaffected — they are not "parameters of the
operation method" in this sense and continue to use ``--flag``.
* tests: tmp_path fixture for command-factory; positional form for integration tests
Two follow-ups to the positional-required-args change:
- ``TestCommandFactory._save_temp_operations_py`` previously wrote a
shared ``test_command.py`` in cwd; under pytest-xdist that file is
raced by workers, so ``next(arg for arg in jobs_list_args if ...)``
in one test could see content written by another and raise
``StopIteration``. Helper now takes the per-test ``tmp_path`` and
returns the full path. The classmethod ``teardown_method`` that
removed the shared file is no longer needed (pytest auto-cleans
``tmp_path``).
- The Airflow CTL PROD-image integration tests still invoked converted
parameters with the old ``--flag value`` form (e.g.
``--variable-key=X``, ``--section X --option Y``,
``--dag-id=example_bash_operator``). Updated each occurrence to the
positional form that the regenerated CLI now expects. Optional
parameters (``--logical-date``, ``--run-after``, ``--is-paused``,
``--state``, ``--limit``, etc.) stay as ``--flag``.
---------
(cherry picked from commit ffa426b)
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Co-authored-by: Stefan Wang <1fannnw@gmail.com>
… (#67386)
* Add airflowctl dags next-execution command #66172
* Add generated OpenAPI spec and UI types
* Revert "Add generated OpenAPI spec and UI types"
This reverts commit 6748ed8.
* Update help text Dag definition
---------
(cherry picked from commit 16ad479)
Co-authored-by: Haseeb Malik <118837269+haseebmalik18@users.noreply.github.com>
@bugraoz93

Copy link
Copy Markdown
ContributorAuthor

Will merge after backporting release notes :)

…67576)
* Add airflowctl 0.1.5 release notes
* Add double backticks
* Apply suggestions from code review
* Amend release notes without backports and duplicates, add misc as commented visibility
---------
(cherry picked from commit 1a1c145)
Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
@bugraoz93
bugraoz93 merged commit 30e72a3 into airflow-ctl/v0-1-stableMay 26, 2026
3 checks passed
@bugraoz93
bugraoz93 deleted the airflow-ctl/v0-1-test branch May 26, 2026 21:48
@bugraoz93
bugraoz93 restored the airflow-ctl/v0-1-test branch May 27, 2026 16:44
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 5, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctlarea:APIAirflow's REST/HTTP APIarea:dev-toolsarea:production-imageProduction image improvements and fixesarea:UIRelated to UI/UX. For Frontend Developers.kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@bugraoz93@potiuk@choo121600
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' airflow-ctl 0.1.5: test to stable by bugraoz93 · Pull Request #67294 · apache/airflow · GitHub
Skip to content

airflow-ctl 0.1.5: test to stable - #67294

Merged
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test
May 26, 2026
Merged

airflow-ctl 0.1.5: test to stable#67294
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test

Conversation

@bugraoz93

@bugraoz93bugraoz93 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Sync airflow-ctl/v0-1-test into airflow-ctl/v0-1-stable for the airflow-ctl 0.1.5 release.

Need backport of (depends): #67295 merged to backport branch. Then it will merge. But ready for review as the only version will lend

bugraoz93and others added 5 commits April 26, 2026 22:55
…tion (#65099) (#65904)
* fix(cli): allow remote version check without local config file
* fix(cli): introduce NO_AUTH client
* test(cli): add unit test for no-auth commands
(cherry picked from commit 80cefde)
Co-authored-by: rjgoyln <151457491+rjgoyln@users.noreply.github.com>
… utils to load help texts (#65841) (#65903)
(cherry picked from commit ad213e0)
Co-authored-by: Justin Pakzad <114518232+justinpakzad@users.noreply.github.com>
…payloads as JSON (#65158) (#65937)
(cherry picked from commit ec8977c)
Co-authored-by: Henry Chen <henryhenry0512@gmail.com>
Pins `[tool.uv] required-version` (and the matching marker-tagged
constants in breeze) to 0.11.8 across the root and the three workspace
members that carried their own (stale) floor (`airflow-core`,
`airflow-ctl`, `dev/mypy` — all previously `>=0.6.3`). The bump picks
up the timestamp-elision fix from astral-sh/uv#19022 (closesastral-sh/uv#18708 — relative `exclude-newer` no longer writes a
churning timestamp into uv.lock that two branches collide on).
Drops uv's per-package cooldown to "12 hours" in both
[tool.uv.exclude-newer-package] and [tool.uv.pip.exclude-newer-package];
without the override the project-wide 4-day window blocks a
freshly-released uv from being adopted as the floor. The override is
flagged "REMOVE BY 2026-05-01" — once 0.11.8 is older than the global
4-day cooldown the override is redundant.
Bumps AIRFLOW_UV_VERSION across Dockerfiles, breeze constants, and
the image-args doc to match. The `# sync-uv-min-version`-tagged test
fixtures were auto-rewritten by the prek hook of the same name.
uv.lock confirms the upstream fix is engaged: `exclude-newer` reads
as the no-op `0001-01-01T00:00:00Z` placeholder.
(cherry picked from commit dbfc27d)
…for airflow-ctl/ (#66112) (#66217)
Backport of #66112. Conflicts resolved by keeping v0-1-test base for unrelated
divergences (only_new field, validate_model, is_backfillable property,
DAGRunCollectionResponse multi-line docstring) and applying only the
DAG -> Dag description-text changes — feature-related lines absent in
v0-1-test were not introduced.
Co-authored-by: hojeong park <parkhj062@gmail.com>
… (#67384)
* Increment version of airflowctl for RC
* Change airflow-core usage for ctl
* Change airflow-core usage for ctl and amend installation in docker
* Prepare airflowctl for tests in CI
* Amend install airflow and provider to cover airflowctl
(cherry picked from commit 336a119)
@bugraoz93
bugraoz93 requested a review from kaxil as a code ownerMay 23, 2026 18:44
bugraoz93and others added 3 commits May 24, 2026 21:50
…al, keep optional as --flag (#66768) (#67387)
* airflowctl: make required CLI params positional, keep optional as --flag
Auto-generated commands such as ``airflowctl dags get-details`` now accept
required primitive parameters positionally:
airflowctl dags get-details my_dag_id
instead of the previous ``--dag-id my_dag_id`` form. Optional parameters
and booleans keep the ``--flag`` form.
This follows the dev-list lazy consensus on airflowctl parameter style.
A parameter is considered required when the operation method declares it
without a default and without ``| None`` in its annotation. Datamodel-
expanded body fields are unaffected — they are not "parameters of the
operation method" in this sense and continue to use ``--flag``.
* tests: tmp_path fixture for command-factory; positional form for integration tests
Two follow-ups to the positional-required-args change:
- ``TestCommandFactory._save_temp_operations_py`` previously wrote a
shared ``test_command.py`` in cwd; under pytest-xdist that file is
raced by workers, so ``next(arg for arg in jobs_list_args if ...)``
in one test could see content written by another and raise
``StopIteration``. Helper now takes the per-test ``tmp_path`` and
returns the full path. The classmethod ``teardown_method`` that
removed the shared file is no longer needed (pytest auto-cleans
``tmp_path``).
- The Airflow CTL PROD-image integration tests still invoked converted
parameters with the old ``--flag value`` form (e.g.
``--variable-key=X``, ``--section X --option Y``,
``--dag-id=example_bash_operator``). Updated each occurrence to the
positional form that the regenerated CLI now expects. Optional
parameters (``--logical-date``, ``--run-after``, ``--is-paused``,
``--state``, ``--limit``, etc.) stay as ``--flag``.
---------
(cherry picked from commit ffa426b)
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Co-authored-by: Stefan Wang <1fannnw@gmail.com>
… (#67386)
* Add airflowctl dags next-execution command #66172
* Add generated OpenAPI spec and UI types
* Revert "Add generated OpenAPI spec and UI types"
This reverts commit 6748ed8.
* Update help text Dag definition
---------
(cherry picked from commit 16ad479)
Co-authored-by: Haseeb Malik <118837269+haseebmalik18@users.noreply.github.com>
@bugraoz93

Copy link
Copy Markdown
ContributorAuthor

Will merge after backporting release notes :)

…67576)
* Add airflowctl 0.1.5 release notes
* Add double backticks
* Apply suggestions from code review
* Amend release notes without backports and duplicates, add misc as commented visibility
---------
(cherry picked from commit 1a1c145)
Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
@bugraoz93
bugraoz93 merged commit 30e72a3 into airflow-ctl/v0-1-stableMay 26, 2026
3 checks passed
@bugraoz93
bugraoz93 deleted the airflow-ctl/v0-1-test branch May 26, 2026 21:48
@bugraoz93
bugraoz93 restored the airflow-ctl/v0-1-test branch May 27, 2026 16:44
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 5, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctlarea:APIAirflow's REST/HTTP APIarea:dev-toolsarea:production-imageProduction image improvements and fixesarea:UIRelated to UI/UX. For Frontend Developers.kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@bugraoz93@potiuk@choo121600
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' airflow-ctl 0.1.5: test to stable by bugraoz93 · Pull Request #67294 · apache/airflow · GitHub
Skip to content

airflow-ctl 0.1.5: test to stable - #67294

Merged
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test
May 26, 2026
Merged

airflow-ctl 0.1.5: test to stable#67294
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test

Conversation

@bugraoz93

@bugraoz93bugraoz93 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Sync airflow-ctl/v0-1-test into airflow-ctl/v0-1-stable for the airflow-ctl 0.1.5 release.

Need backport of (depends): #67295 merged to backport branch. Then it will merge. But ready for review as the only version will lend

bugraoz93and others added 5 commits April 26, 2026 22:55
…tion (#65099) (#65904)
* fix(cli): allow remote version check without local config file
* fix(cli): introduce NO_AUTH client
* test(cli): add unit test for no-auth commands
(cherry picked from commit 80cefde)
Co-authored-by: rjgoyln <151457491+rjgoyln@users.noreply.github.com>
… utils to load help texts (#65841) (#65903)
(cherry picked from commit ad213e0)
Co-authored-by: Justin Pakzad <114518232+justinpakzad@users.noreply.github.com>
…payloads as JSON (#65158) (#65937)
(cherry picked from commit ec8977c)
Co-authored-by: Henry Chen <henryhenry0512@gmail.com>
Pins `[tool.uv] required-version` (and the matching marker-tagged
constants in breeze) to 0.11.8 across the root and the three workspace
members that carried their own (stale) floor (`airflow-core`,
`airflow-ctl`, `dev/mypy` — all previously `>=0.6.3`). The bump picks
up the timestamp-elision fix from astral-sh/uv#19022 (closesastral-sh/uv#18708 — relative `exclude-newer` no longer writes a
churning timestamp into uv.lock that two branches collide on).
Drops uv's per-package cooldown to "12 hours" in both
[tool.uv.exclude-newer-package] and [tool.uv.pip.exclude-newer-package];
without the override the project-wide 4-day window blocks a
freshly-released uv from being adopted as the floor. The override is
flagged "REMOVE BY 2026-05-01" — once 0.11.8 is older than the global
4-day cooldown the override is redundant.
Bumps AIRFLOW_UV_VERSION across Dockerfiles, breeze constants, and
the image-args doc to match. The `# sync-uv-min-version`-tagged test
fixtures were auto-rewritten by the prek hook of the same name.
uv.lock confirms the upstream fix is engaged: `exclude-newer` reads
as the no-op `0001-01-01T00:00:00Z` placeholder.
(cherry picked from commit dbfc27d)
…for airflow-ctl/ (#66112) (#66217)
Backport of #66112. Conflicts resolved by keeping v0-1-test base for unrelated
divergences (only_new field, validate_model, is_backfillable property,
DAGRunCollectionResponse multi-line docstring) and applying only the
DAG -> Dag description-text changes — feature-related lines absent in
v0-1-test were not introduced.
Co-authored-by: hojeong park <parkhj062@gmail.com>
… (#67384)
* Increment version of airflowctl for RC
* Change airflow-core usage for ctl
* Change airflow-core usage for ctl and amend installation in docker
* Prepare airflowctl for tests in CI
* Amend install airflow and provider to cover airflowctl
(cherry picked from commit 336a119)
@bugraoz93
bugraoz93 requested a review from kaxil as a code ownerMay 23, 2026 18:44
bugraoz93and others added 3 commits May 24, 2026 21:50
…al, keep optional as --flag (#66768) (#67387)
* airflowctl: make required CLI params positional, keep optional as --flag
Auto-generated commands such as ``airflowctl dags get-details`` now accept
required primitive parameters positionally:
airflowctl dags get-details my_dag_id
instead of the previous ``--dag-id my_dag_id`` form. Optional parameters
and booleans keep the ``--flag`` form.
This follows the dev-list lazy consensus on airflowctl parameter style.
A parameter is considered required when the operation method declares it
without a default and without ``| None`` in its annotation. Datamodel-
expanded body fields are unaffected — they are not "parameters of the
operation method" in this sense and continue to use ``--flag``.
* tests: tmp_path fixture for command-factory; positional form for integration tests
Two follow-ups to the positional-required-args change:
- ``TestCommandFactory._save_temp_operations_py`` previously wrote a
shared ``test_command.py`` in cwd; under pytest-xdist that file is
raced by workers, so ``next(arg for arg in jobs_list_args if ...)``
in one test could see content written by another and raise
``StopIteration``. Helper now takes the per-test ``tmp_path`` and
returns the full path. The classmethod ``teardown_method`` that
removed the shared file is no longer needed (pytest auto-cleans
``tmp_path``).
- The Airflow CTL PROD-image integration tests still invoked converted
parameters with the old ``--flag value`` form (e.g.
``--variable-key=X``, ``--section X --option Y``,
``--dag-id=example_bash_operator``). Updated each occurrence to the
positional form that the regenerated CLI now expects. Optional
parameters (``--logical-date``, ``--run-after``, ``--is-paused``,
``--state``, ``--limit``, etc.) stay as ``--flag``.
---------
(cherry picked from commit ffa426b)
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Co-authored-by: Stefan Wang <1fannnw@gmail.com>
… (#67386)
* Add airflowctl dags next-execution command #66172
* Add generated OpenAPI spec and UI types
* Revert "Add generated OpenAPI spec and UI types"
This reverts commit 6748ed8.
* Update help text Dag definition
---------
(cherry picked from commit 16ad479)
Co-authored-by: Haseeb Malik <118837269+haseebmalik18@users.noreply.github.com>
@bugraoz93

Copy link
Copy Markdown
ContributorAuthor

Will merge after backporting release notes :)

…67576)
* Add airflowctl 0.1.5 release notes
* Add double backticks
* Apply suggestions from code review
* Amend release notes without backports and duplicates, add misc as commented visibility
---------
(cherry picked from commit 1a1c145)
Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
@bugraoz93
bugraoz93 merged commit 30e72a3 into airflow-ctl/v0-1-stableMay 26, 2026
3 checks passed
@bugraoz93
bugraoz93 deleted the airflow-ctl/v0-1-test branch May 26, 2026 21:48
@bugraoz93
bugraoz93 restored the airflow-ctl/v0-1-test branch May 27, 2026 16:44
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 5, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctlarea:APIAirflow's REST/HTTP APIarea:dev-toolsarea:production-imageProduction image improvements and fixesarea:UIRelated to UI/UX. For Frontend Developers.kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@bugraoz93@potiuk@choo121600
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' airflow-ctl 0.1.5: test to stable by bugraoz93 · Pull Request #67294 · apache/airflow · GitHub
Skip to content

airflow-ctl 0.1.5: test to stable - #67294

Merged
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test
May 26, 2026
Merged

airflow-ctl 0.1.5: test to stable#67294
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test

Conversation

@bugraoz93

@bugraoz93bugraoz93 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Sync airflow-ctl/v0-1-test into airflow-ctl/v0-1-stable for the airflow-ctl 0.1.5 release.

Need backport of (depends): #67295 merged to backport branch. Then it will merge. But ready for review as the only version will lend

bugraoz93and others added 5 commits April 26, 2026 22:55
…tion (#65099) (#65904)
* fix(cli): allow remote version check without local config file
* fix(cli): introduce NO_AUTH client
* test(cli): add unit test for no-auth commands
(cherry picked from commit 80cefde)
Co-authored-by: rjgoyln <151457491+rjgoyln@users.noreply.github.com>
… utils to load help texts (#65841) (#65903)
(cherry picked from commit ad213e0)
Co-authored-by: Justin Pakzad <114518232+justinpakzad@users.noreply.github.com>
…payloads as JSON (#65158) (#65937)
(cherry picked from commit ec8977c)
Co-authored-by: Henry Chen <henryhenry0512@gmail.com>
Pins `[tool.uv] required-version` (and the matching marker-tagged
constants in breeze) to 0.11.8 across the root and the three workspace
members that carried their own (stale) floor (`airflow-core`,
`airflow-ctl`, `dev/mypy` — all previously `>=0.6.3`). The bump picks
up the timestamp-elision fix from astral-sh/uv#19022 (closesastral-sh/uv#18708 — relative `exclude-newer` no longer writes a
churning timestamp into uv.lock that two branches collide on).
Drops uv's per-package cooldown to "12 hours" in both
[tool.uv.exclude-newer-package] and [tool.uv.pip.exclude-newer-package];
without the override the project-wide 4-day window blocks a
freshly-released uv from being adopted as the floor. The override is
flagged "REMOVE BY 2026-05-01" — once 0.11.8 is older than the global
4-day cooldown the override is redundant.
Bumps AIRFLOW_UV_VERSION across Dockerfiles, breeze constants, and
the image-args doc to match. The `# sync-uv-min-version`-tagged test
fixtures were auto-rewritten by the prek hook of the same name.
uv.lock confirms the upstream fix is engaged: `exclude-newer` reads
as the no-op `0001-01-01T00:00:00Z` placeholder.
(cherry picked from commit dbfc27d)
…for airflow-ctl/ (#66112) (#66217)
Backport of #66112. Conflicts resolved by keeping v0-1-test base for unrelated
divergences (only_new field, validate_model, is_backfillable property,
DAGRunCollectionResponse multi-line docstring) and applying only the
DAG -> Dag description-text changes — feature-related lines absent in
v0-1-test were not introduced.
Co-authored-by: hojeong park <parkhj062@gmail.com>
… (#67384)
* Increment version of airflowctl for RC
* Change airflow-core usage for ctl
* Change airflow-core usage for ctl and amend installation in docker
* Prepare airflowctl for tests in CI
* Amend install airflow and provider to cover airflowctl
(cherry picked from commit 336a119)
@bugraoz93
bugraoz93 requested a review from kaxil as a code ownerMay 23, 2026 18:44
bugraoz93and others added 3 commits May 24, 2026 21:50
…al, keep optional as --flag (#66768) (#67387)
* airflowctl: make required CLI params positional, keep optional as --flag
Auto-generated commands such as ``airflowctl dags get-details`` now accept
required primitive parameters positionally:
airflowctl dags get-details my_dag_id
instead of the previous ``--dag-id my_dag_id`` form. Optional parameters
and booleans keep the ``--flag`` form.
This follows the dev-list lazy consensus on airflowctl parameter style.
A parameter is considered required when the operation method declares it
without a default and without ``| None`` in its annotation. Datamodel-
expanded body fields are unaffected — they are not "parameters of the
operation method" in this sense and continue to use ``--flag``.
* tests: tmp_path fixture for command-factory; positional form for integration tests
Two follow-ups to the positional-required-args change:
- ``TestCommandFactory._save_temp_operations_py`` previously wrote a
shared ``test_command.py`` in cwd; under pytest-xdist that file is
raced by workers, so ``next(arg for arg in jobs_list_args if ...)``
in one test could see content written by another and raise
``StopIteration``. Helper now takes the per-test ``tmp_path`` and
returns the full path. The classmethod ``teardown_method`` that
removed the shared file is no longer needed (pytest auto-cleans
``tmp_path``).
- The Airflow CTL PROD-image integration tests still invoked converted
parameters with the old ``--flag value`` form (e.g.
``--variable-key=X``, ``--section X --option Y``,
``--dag-id=example_bash_operator``). Updated each occurrence to the
positional form that the regenerated CLI now expects. Optional
parameters (``--logical-date``, ``--run-after``, ``--is-paused``,
``--state``, ``--limit``, etc.) stay as ``--flag``.
---------
(cherry picked from commit ffa426b)
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Co-authored-by: Stefan Wang <1fannnw@gmail.com>
… (#67386)
* Add airflowctl dags next-execution command #66172
* Add generated OpenAPI spec and UI types
* Revert "Add generated OpenAPI spec and UI types"
This reverts commit 6748ed8.
* Update help text Dag definition
---------
(cherry picked from commit 16ad479)
Co-authored-by: Haseeb Malik <118837269+haseebmalik18@users.noreply.github.com>
@bugraoz93

Copy link
Copy Markdown
ContributorAuthor

Will merge after backporting release notes :)

…67576)
* Add airflowctl 0.1.5 release notes
* Add double backticks
* Apply suggestions from code review
* Amend release notes without backports and duplicates, add misc as commented visibility
---------
(cherry picked from commit 1a1c145)
Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
@bugraoz93
bugraoz93 merged commit 30e72a3 into airflow-ctl/v0-1-stableMay 26, 2026
3 checks passed
@bugraoz93
bugraoz93 deleted the airflow-ctl/v0-1-test branch May 26, 2026 21:48
@bugraoz93
bugraoz93 restored the airflow-ctl/v0-1-test branch May 27, 2026 16:44
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 5, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctlarea:APIAirflow's REST/HTTP APIarea:dev-toolsarea:production-imageProduction image improvements and fixesarea:UIRelated to UI/UX. For Frontend Developers.kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@bugraoz93@potiuk@choo121600
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' airflow-ctl 0.1.5: test to stable by bugraoz93 · Pull Request #67294 · apache/airflow · GitHub
Skip to content

airflow-ctl 0.1.5: test to stable - #67294

Merged
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test
May 26, 2026
Merged

airflow-ctl 0.1.5: test to stable#67294
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test

Conversation

@bugraoz93

@bugraoz93bugraoz93 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Sync airflow-ctl/v0-1-test into airflow-ctl/v0-1-stable for the airflow-ctl 0.1.5 release.

Need backport of (depends): #67295 merged to backport branch. Then it will merge. But ready for review as the only version will lend

bugraoz93and others added 5 commits April 26, 2026 22:55
…tion (#65099) (#65904)
* fix(cli): allow remote version check without local config file
* fix(cli): introduce NO_AUTH client
* test(cli): add unit test for no-auth commands
(cherry picked from commit 80cefde)
Co-authored-by: rjgoyln <151457491+rjgoyln@users.noreply.github.com>
… utils to load help texts (#65841) (#65903)
(cherry picked from commit ad213e0)
Co-authored-by: Justin Pakzad <114518232+justinpakzad@users.noreply.github.com>
…payloads as JSON (#65158) (#65937)
(cherry picked from commit ec8977c)
Co-authored-by: Henry Chen <henryhenry0512@gmail.com>
Pins `[tool.uv] required-version` (and the matching marker-tagged
constants in breeze) to 0.11.8 across the root and the three workspace
members that carried their own (stale) floor (`airflow-core`,
`airflow-ctl`, `dev/mypy` — all previously `>=0.6.3`). The bump picks
up the timestamp-elision fix from astral-sh/uv#19022 (closesastral-sh/uv#18708 — relative `exclude-newer` no longer writes a
churning timestamp into uv.lock that two branches collide on).
Drops uv's per-package cooldown to "12 hours" in both
[tool.uv.exclude-newer-package] and [tool.uv.pip.exclude-newer-package];
without the override the project-wide 4-day window blocks a
freshly-released uv from being adopted as the floor. The override is
flagged "REMOVE BY 2026-05-01" — once 0.11.8 is older than the global
4-day cooldown the override is redundant.
Bumps AIRFLOW_UV_VERSION across Dockerfiles, breeze constants, and
the image-args doc to match. The `# sync-uv-min-version`-tagged test
fixtures were auto-rewritten by the prek hook of the same name.
uv.lock confirms the upstream fix is engaged: `exclude-newer` reads
as the no-op `0001-01-01T00:00:00Z` placeholder.
(cherry picked from commit dbfc27d)
…for airflow-ctl/ (#66112) (#66217)
Backport of #66112. Conflicts resolved by keeping v0-1-test base for unrelated
divergences (only_new field, validate_model, is_backfillable property,
DAGRunCollectionResponse multi-line docstring) and applying only the
DAG -> Dag description-text changes — feature-related lines absent in
v0-1-test were not introduced.
Co-authored-by: hojeong park <parkhj062@gmail.com>
… (#67384)
* Increment version of airflowctl for RC
* Change airflow-core usage for ctl
* Change airflow-core usage for ctl and amend installation in docker
* Prepare airflowctl for tests in CI
* Amend install airflow and provider to cover airflowctl
(cherry picked from commit 336a119)
@bugraoz93
bugraoz93 requested a review from kaxil as a code ownerMay 23, 2026 18:44
bugraoz93and others added 3 commits May 24, 2026 21:50
…al, keep optional as --flag (#66768) (#67387)
* airflowctl: make required CLI params positional, keep optional as --flag
Auto-generated commands such as ``airflowctl dags get-details`` now accept
required primitive parameters positionally:
airflowctl dags get-details my_dag_id
instead of the previous ``--dag-id my_dag_id`` form. Optional parameters
and booleans keep the ``--flag`` form.
This follows the dev-list lazy consensus on airflowctl parameter style.
A parameter is considered required when the operation method declares it
without a default and without ``| None`` in its annotation. Datamodel-
expanded body fields are unaffected — they are not "parameters of the
operation method" in this sense and continue to use ``--flag``.
* tests: tmp_path fixture for command-factory; positional form for integration tests
Two follow-ups to the positional-required-args change:
- ``TestCommandFactory._save_temp_operations_py`` previously wrote a
shared ``test_command.py`` in cwd; under pytest-xdist that file is
raced by workers, so ``next(arg for arg in jobs_list_args if ...)``
in one test could see content written by another and raise
``StopIteration``. Helper now takes the per-test ``tmp_path`` and
returns the full path. The classmethod ``teardown_method`` that
removed the shared file is no longer needed (pytest auto-cleans
``tmp_path``).
- The Airflow CTL PROD-image integration tests still invoked converted
parameters with the old ``--flag value`` form (e.g.
``--variable-key=X``, ``--section X --option Y``,
``--dag-id=example_bash_operator``). Updated each occurrence to the
positional form that the regenerated CLI now expects. Optional
parameters (``--logical-date``, ``--run-after``, ``--is-paused``,
``--state``, ``--limit``, etc.) stay as ``--flag``.
---------
(cherry picked from commit ffa426b)
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Co-authored-by: Stefan Wang <1fannnw@gmail.com>
… (#67386)
* Add airflowctl dags next-execution command #66172
* Add generated OpenAPI spec and UI types
* Revert "Add generated OpenAPI spec and UI types"
This reverts commit 6748ed8.
* Update help text Dag definition
---------
(cherry picked from commit 16ad479)
Co-authored-by: Haseeb Malik <118837269+haseebmalik18@users.noreply.github.com>
@bugraoz93

Copy link
Copy Markdown
ContributorAuthor

Will merge after backporting release notes :)

…67576)
* Add airflowctl 0.1.5 release notes
* Add double backticks
* Apply suggestions from code review
* Amend release notes without backports and duplicates, add misc as commented visibility
---------
(cherry picked from commit 1a1c145)
Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
@bugraoz93
bugraoz93 merged commit 30e72a3 into airflow-ctl/v0-1-stableMay 26, 2026
3 checks passed
@bugraoz93
bugraoz93 deleted the airflow-ctl/v0-1-test branch May 26, 2026 21:48
@bugraoz93
bugraoz93 restored the airflow-ctl/v0-1-test branch May 27, 2026 16:44
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 5, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctlarea:APIAirflow's REST/HTTP APIarea:dev-toolsarea:production-imageProduction image improvements and fixesarea:UIRelated to UI/UX. For Frontend Developers.kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@bugraoz93@potiuk@choo121600
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' airflow-ctl 0.1.5: test to stable by bugraoz93 · Pull Request #67294 · apache/airflow · GitHub
Skip to content

airflow-ctl 0.1.5: test to stable - #67294

Merged
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test
May 26, 2026
Merged

airflow-ctl 0.1.5: test to stable#67294
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test

Conversation

@bugraoz93

@bugraoz93bugraoz93 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Sync airflow-ctl/v0-1-test into airflow-ctl/v0-1-stable for the airflow-ctl 0.1.5 release.

Need backport of (depends): #67295 merged to backport branch. Then it will merge. But ready for review as the only version will lend

bugraoz93and others added 5 commits April 26, 2026 22:55
…tion (#65099) (#65904)
* fix(cli): allow remote version check without local config file
* fix(cli): introduce NO_AUTH client
* test(cli): add unit test for no-auth commands
(cherry picked from commit 80cefde)
Co-authored-by: rjgoyln <151457491+rjgoyln@users.noreply.github.com>
… utils to load help texts (#65841) (#65903)
(cherry picked from commit ad213e0)
Co-authored-by: Justin Pakzad <114518232+justinpakzad@users.noreply.github.com>
…payloads as JSON (#65158) (#65937)
(cherry picked from commit ec8977c)
Co-authored-by: Henry Chen <henryhenry0512@gmail.com>
Pins `[tool.uv] required-version` (and the matching marker-tagged
constants in breeze) to 0.11.8 across the root and the three workspace
members that carried their own (stale) floor (`airflow-core`,
`airflow-ctl`, `dev/mypy` — all previously `>=0.6.3`). The bump picks
up the timestamp-elision fix from astral-sh/uv#19022 (closesastral-sh/uv#18708 — relative `exclude-newer` no longer writes a
churning timestamp into uv.lock that two branches collide on).
Drops uv's per-package cooldown to "12 hours" in both
[tool.uv.exclude-newer-package] and [tool.uv.pip.exclude-newer-package];
without the override the project-wide 4-day window blocks a
freshly-released uv from being adopted as the floor. The override is
flagged "REMOVE BY 2026-05-01" — once 0.11.8 is older than the global
4-day cooldown the override is redundant.
Bumps AIRFLOW_UV_VERSION across Dockerfiles, breeze constants, and
the image-args doc to match. The `# sync-uv-min-version`-tagged test
fixtures were auto-rewritten by the prek hook of the same name.
uv.lock confirms the upstream fix is engaged: `exclude-newer` reads
as the no-op `0001-01-01T00:00:00Z` placeholder.
(cherry picked from commit dbfc27d)
…for airflow-ctl/ (#66112) (#66217)
Backport of #66112. Conflicts resolved by keeping v0-1-test base for unrelated
divergences (only_new field, validate_model, is_backfillable property,
DAGRunCollectionResponse multi-line docstring) and applying only the
DAG -> Dag description-text changes — feature-related lines absent in
v0-1-test were not introduced.
Co-authored-by: hojeong park <parkhj062@gmail.com>
… (#67384)
* Increment version of airflowctl for RC
* Change airflow-core usage for ctl
* Change airflow-core usage for ctl and amend installation in docker
* Prepare airflowctl for tests in CI
* Amend install airflow and provider to cover airflowctl
(cherry picked from commit 336a119)
@bugraoz93
bugraoz93 requested a review from kaxil as a code ownerMay 23, 2026 18:44
bugraoz93and others added 3 commits May 24, 2026 21:50
…al, keep optional as --flag (#66768) (#67387)
* airflowctl: make required CLI params positional, keep optional as --flag
Auto-generated commands such as ``airflowctl dags get-details`` now accept
required primitive parameters positionally:
airflowctl dags get-details my_dag_id
instead of the previous ``--dag-id my_dag_id`` form. Optional parameters
and booleans keep the ``--flag`` form.
This follows the dev-list lazy consensus on airflowctl parameter style.
A parameter is considered required when the operation method declares it
without a default and without ``| None`` in its annotation. Datamodel-
expanded body fields are unaffected — they are not "parameters of the
operation method" in this sense and continue to use ``--flag``.
* tests: tmp_path fixture for command-factory; positional form for integration tests
Two follow-ups to the positional-required-args change:
- ``TestCommandFactory._save_temp_operations_py`` previously wrote a
shared ``test_command.py`` in cwd; under pytest-xdist that file is
raced by workers, so ``next(arg for arg in jobs_list_args if ...)``
in one test could see content written by another and raise
``StopIteration``. Helper now takes the per-test ``tmp_path`` and
returns the full path. The classmethod ``teardown_method`` that
removed the shared file is no longer needed (pytest auto-cleans
``tmp_path``).
- The Airflow CTL PROD-image integration tests still invoked converted
parameters with the old ``--flag value`` form (e.g.
``--variable-key=X``, ``--section X --option Y``,
``--dag-id=example_bash_operator``). Updated each occurrence to the
positional form that the regenerated CLI now expects. Optional
parameters (``--logical-date``, ``--run-after``, ``--is-paused``,
``--state``, ``--limit``, etc.) stay as ``--flag``.
---------
(cherry picked from commit ffa426b)
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Co-authored-by: Stefan Wang <1fannnw@gmail.com>
… (#67386)
* Add airflowctl dags next-execution command #66172
* Add generated OpenAPI spec and UI types
* Revert "Add generated OpenAPI spec and UI types"
This reverts commit 6748ed8.
* Update help text Dag definition
---------
(cherry picked from commit 16ad479)
Co-authored-by: Haseeb Malik <118837269+haseebmalik18@users.noreply.github.com>
@bugraoz93

Copy link
Copy Markdown
ContributorAuthor

Will merge after backporting release notes :)

…67576)
* Add airflowctl 0.1.5 release notes
* Add double backticks
* Apply suggestions from code review
* Amend release notes without backports and duplicates, add misc as commented visibility
---------
(cherry picked from commit 1a1c145)
Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
@bugraoz93
bugraoz93 merged commit 30e72a3 into airflow-ctl/v0-1-stableMay 26, 2026
3 checks passed
@bugraoz93
bugraoz93 deleted the airflow-ctl/v0-1-test branch May 26, 2026 21:48
@bugraoz93
bugraoz93 restored the airflow-ctl/v0-1-test branch May 27, 2026 16:44
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 5, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctlarea:APIAirflow's REST/HTTP APIarea:dev-toolsarea:production-imageProduction image improvements and fixesarea:UIRelated to UI/UX. For Frontend Developers.kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@bugraoz93@potiuk@choo121600
, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); airflow-ctl 0.1.5: test to stable by bugraoz93 · Pull Request #67294 · apache/airflow · GitHub
Skip to content

airflow-ctl 0.1.5: test to stable - #67294

Merged
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test
May 26, 2026
Merged

airflow-ctl 0.1.5: test to stable#67294
bugraoz93 merged 10 commits into
airflow-ctl/v0-1-stablefrom
airflow-ctl/v0-1-test

Conversation

@bugraoz93

@bugraoz93bugraoz93 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Sync airflow-ctl/v0-1-test into airflow-ctl/v0-1-stable for the airflow-ctl 0.1.5 release.

Need backport of (depends): #67295 merged to backport branch. Then it will merge. But ready for review as the only version will lend

bugraoz93and others added 5 commits April 26, 2026 22:55
…tion (#65099) (#65904)
* fix(cli): allow remote version check without local config file
* fix(cli): introduce NO_AUTH client
* test(cli): add unit test for no-auth commands
(cherry picked from commit 80cefde)
Co-authored-by: rjgoyln <151457491+rjgoyln@users.noreply.github.com>
… utils to load help texts (#65841) (#65903)
(cherry picked from commit ad213e0)
Co-authored-by: Justin Pakzad <114518232+justinpakzad@users.noreply.github.com>
…payloads as JSON (#65158) (#65937)
(cherry picked from commit ec8977c)
Co-authored-by: Henry Chen <henryhenry0512@gmail.com>
Pins `[tool.uv] required-version` (and the matching marker-tagged
constants in breeze) to 0.11.8 across the root and the three workspace
members that carried their own (stale) floor (`airflow-core`,
`airflow-ctl`, `dev/mypy` — all previously `>=0.6.3`). The bump picks
up the timestamp-elision fix from astral-sh/uv#19022 (closesastral-sh/uv#18708 — relative `exclude-newer` no longer writes a
churning timestamp into uv.lock that two branches collide on).
Drops uv's per-package cooldown to "12 hours" in both
[tool.uv.exclude-newer-package] and [tool.uv.pip.exclude-newer-package];
without the override the project-wide 4-day window blocks a
freshly-released uv from being adopted as the floor. The override is
flagged "REMOVE BY 2026-05-01" — once 0.11.8 is older than the global
4-day cooldown the override is redundant.
Bumps AIRFLOW_UV_VERSION across Dockerfiles, breeze constants, and
the image-args doc to match. The `# sync-uv-min-version`-tagged test
fixtures were auto-rewritten by the prek hook of the same name.
uv.lock confirms the upstream fix is engaged: `exclude-newer` reads
as the no-op `0001-01-01T00:00:00Z` placeholder.
(cherry picked from commit dbfc27d)
…for airflow-ctl/ (#66112) (#66217)
Backport of #66112. Conflicts resolved by keeping v0-1-test base for unrelated
divergences (only_new field, validate_model, is_backfillable property,
DAGRunCollectionResponse multi-line docstring) and applying only the
DAG -> Dag description-text changes — feature-related lines absent in
v0-1-test were not introduced.
Co-authored-by: hojeong park <parkhj062@gmail.com>
… (#67384)
* Increment version of airflowctl for RC
* Change airflow-core usage for ctl
* Change airflow-core usage for ctl and amend installation in docker
* Prepare airflowctl for tests in CI
* Amend install airflow and provider to cover airflowctl
(cherry picked from commit 336a119)
@bugraoz93
bugraoz93 requested a review from kaxil as a code ownerMay 23, 2026 18:44
bugraoz93and others added 3 commits May 24, 2026 21:50
…al, keep optional as --flag (#66768) (#67387)
* airflowctl: make required CLI params positional, keep optional as --flag
Auto-generated commands such as ``airflowctl dags get-details`` now accept
required primitive parameters positionally:
airflowctl dags get-details my_dag_id
instead of the previous ``--dag-id my_dag_id`` form. Optional parameters
and booleans keep the ``--flag`` form.
This follows the dev-list lazy consensus on airflowctl parameter style.
A parameter is considered required when the operation method declares it
without a default and without ``| None`` in its annotation. Datamodel-
expanded body fields are unaffected — they are not "parameters of the
operation method" in this sense and continue to use ``--flag``.
* tests: tmp_path fixture for command-factory; positional form for integration tests
Two follow-ups to the positional-required-args change:
- ``TestCommandFactory._save_temp_operations_py`` previously wrote a
shared ``test_command.py`` in cwd; under pytest-xdist that file is
raced by workers, so ``next(arg for arg in jobs_list_args if ...)``
in one test could see content written by another and raise
``StopIteration``. Helper now takes the per-test ``tmp_path`` and
returns the full path. The classmethod ``teardown_method`` that
removed the shared file is no longer needed (pytest auto-cleans
``tmp_path``).
- The Airflow CTL PROD-image integration tests still invoked converted
parameters with the old ``--flag value`` form (e.g.
``--variable-key=X``, ``--section X --option Y``,
``--dag-id=example_bash_operator``). Updated each occurrence to the
positional form that the regenerated CLI now expects. Optional
parameters (``--logical-date``, ``--run-after``, ``--is-paused``,
``--state``, ``--limit``, etc.) stay as ``--flag``.
---------
(cherry picked from commit ffa426b)
Signed-off-by: 1fanwang <1fannnw@gmail.com>
Co-authored-by: Stefan Wang <1fannnw@gmail.com>
… (#67386)
* Add airflowctl dags next-execution command #66172
* Add generated OpenAPI spec and UI types
* Revert "Add generated OpenAPI spec and UI types"
This reverts commit 6748ed8.
* Update help text Dag definition
---------
(cherry picked from commit 16ad479)
Co-authored-by: Haseeb Malik <118837269+haseebmalik18@users.noreply.github.com>
@bugraoz93

Copy link
Copy Markdown
ContributorAuthor

Will merge after backporting release notes :)

…67576)
* Add airflowctl 0.1.5 release notes
* Add double backticks
* Apply suggestions from code review
* Amend release notes without backports and duplicates, add misc as commented visibility
---------
(cherry picked from commit 1a1c145)
Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
@bugraoz93
bugraoz93 merged commit 30e72a3 into airflow-ctl/v0-1-stableMay 26, 2026
3 checks passed
@bugraoz93
bugraoz93 deleted the airflow-ctl/v0-1-test branch May 26, 2026 21:48
@bugraoz93
bugraoz93 restored the airflow-ctl/v0-1-test branch May 27, 2026 16:44
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Lee-W added a commit to astronomer/airflow that referenced this pull request Jul 31, 2026
The same test-to-stable sync (apache#67294) repointed the mypy-airflow-ctl hook
at ../scripts/ci/prek/run_mypy_full_dist_local_venv_or_breeze_in_ci.py,
which only exists on main. On this branch prek dies before mypy runs:
error: Failed to run hook `mypy-airflow-ctl`
caused by: Run command `python hook` failed
caused by: No such file or directory (os error 2)
Point it back at mypy_local_folder.py, which is what airflow-core,
task-sdk, devel-common and dev/scripts all use on this branch.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 3, 2026
The test-to-stable sync (apache#67294) copied airflowctl's generated datamodels
from main, so they describe Airflow 3.3's API while this branch ships core
3.2.1. Two consequences, both red once CI started running here:
- generate-airflowctl-datamodels regenerates from
../airflow-core/src/airflow/api_fastapi and fails on any drift, so
Static checks could never pass
- the models required is_backfillable and timetable_periodic, which
apache#64644 added in 3.3.0, so every single-object Dag response failed
validation against this branch's own PROD image:
ValidationError: 2 validation errors for DAGResponse
is_backfillable Field required
timetable_periodic Field required
Run the hook to bring the models back in line with the spec on this
branch. This drops 14 model classes that no airflowctl code or test
references, plus the 3.3-only fields above.
Note RELEASE_NOTES.rst credits "Add ``is_backfillable`` property to DAG
API responses (apache#64644)" to airflowctl 0.1.5, but apache#64644 touches only
airflow-core -- that line is sync noise, not a client feature.
Lee-W added a commit to astronomer/airflow that referenced this pull request Aug 5, 2026
The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:
- the distribution version became 3.3.0 while
airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
apache-airflow-shared-state, which has no shared/state folder here
Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:
apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0
Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctlarea:APIAirflow's REST/HTTP APIarea:dev-toolsarea:production-imageProduction image improvements and fixesarea:UIRelated to UI/UX. For Frontend Developers.kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@bugraoz93@potiuk@choo121600