The GitHub Actions job "Tests (AMD)" on 
airflow.git/airflowctl-positional-required-args has succeeded.
Run started by GitHub user 1fanwang (triggered by 1fanwang).

Head commit for run:
875041675570aa2b19db1c3f9f2420d198caa379 / 1fanwang <[email protected]>
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``.

Signed-off-by: 1fanwang <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to