Commit Graph

1142 Commits

Author SHA1 Message Date
Jarek Potiuk
f14a880d76 Free disk space for mypy jobs (#56703) 2025-10-16 16:33:20 +08:00
Jarek Potiuk
88175f8365 Add cleanup of free space for provider tests (#56681) 2025-10-15 22:23:27 +02:00
GPK
66d5e72a71 Add e2e test for remote logging (#56191)
* Prefetch remote log connection id for api server in order to read remote logs

* fix docker compose file path

* Fixup tests

* Add test with mock_aws

* Fixup test

* Extend quick start docker with localstack

* remove comment

* add test connection

* fix static checks

* Add only e2e tests for remote logging
2025-10-15 19:09:57 +01:00
Amogh Desai
384d3cadd1 Bump uv to 0.9.2, prek to 0.2.5, golang to 1.25.3 (#56612) 2025-10-14 14:09:14 +02:00
Bugra Ozturk
cea5e32d83 Bump uv version from 0.9.0 to 0.9.1 (#56512) 2025-10-10 01:06:25 +02:00
Amogh Desai
0ec6653d30 Bump uv version to 0.9.0 and ruff to 0.14.0 (#56467) 2025-10-08 13:08:39 +01:00
Amogh Desai
2c62f88e05 Bump uv version to 0.8.24 and prek to 0.2.4 (#56464) 2025-10-07 15:54:39 -07:00
Amogh Desai
1024b65a86 Cleanup disk space in image cache push jobs (#56198) 2025-09-29 16:15:28 +05:30
GPK
3bf81c6251 move disk cleanup to before image build (#56200) 2025-09-29 11:34:25 +01:00
GPK
1764e48e5a add build-info dependency to summarize-warnings github action job (#56117) 2025-09-26 00:11:01 +01:00
GPK
643a1ba292 Make more disk space available in publish docs workflow (#56115) 2025-09-25 23:13:51 +01:00
Ash Berlin-Taylor
e5c7fffe61 Improvements to Go CI pipelines (#56105)
Update gotestsum to latest version, and enable its github-actions output mode
so we get grouping automatically

And most importantly, enable CodeQL scanning on Go
2025-09-25 22:18:32 +01:00
GPK
60c51dbf41 Bump uv and hatch versions (#56032) 2025-09-24 11:09:18 +01:00
Kaxil Naik
e6ebf6d9d6 Bump uv to 0.8.20 (#55978) 2025-09-23 04:39:43 +01:00
Kaxil Naik
77dc1a1b1c Bump uv to 0.8.18 and ruff to 0.13.1 (#55858)
New versions: https://github.com/apache/airflow/actions/runs/17840293464/job/50727976145
2025-09-18 23:46:13 +01:00
Jarek Potiuk
8634ce0d3f Upgrade octopin to bleeding edge (#55653)
Two-space before comment are added in "main" version of octopin, so
we should use --bleeding-edge for octopin.
2025-09-14 23:04:47 +01:00
Jarek Potiuk
d8e2c85592 Separate GoLang precommit after prek supports monorepo setup (#54615)
Prek 0.2.0 supports monorepo setup wieth separate pre-commit files
and as the first step of separation we separate golang pre-commits.
2025-09-14 18:20:58 +02:00
GPK
2c057bd528 CI: Bump zizmor hook (#55618)
* Bump zizmor hook

* Fix zizmor findings

* Fix zizmor findings
2025-09-13 10:40:13 +01:00
GPK
fe2ddb090c Include mypy upgrades to upgrade-important-versions prek hook (#55597) 2025-09-12 23:06:36 +01:00
GPK
165b466890 Update notification workflow to monitor v3-1-test (#55594) 2025-09-12 20:51:34 +01:00
GPK
8eb30c6901 Use quotes to python version in github action env (#55556)
* Use quotes to python version in github action env

* Update .github/workflows/publish-docs-to-s3.yml

Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>

---------

Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
2025-09-12 09:18:55 +01:00
Jarek Potiuk
d4e92e6bb8 Remove FAB provider from expected providers for PROD image 3.13 verification (#55523)
The #55518 assumed that PYTHON_MAJOR_MINOR_VERSION is set, this one changes it
to use python version retrieved from inside of the image.
2025-09-12 05:52:46 +02:00
GPK
0954496674 Introduce e2e testing with testcontainers (#54072)
* Introduce e2e testing with testcontainers

* Fix test command

* Fix test command

* Upload test report

* Add option to trigger with workflow_dispatch

* Add test to trigger example dags

* Upload logs

* Upload logs

* zip logs

* Fix example_bash_decorator file stat function

* Add breeze commands and docs

* Update breeze commands

* Make docker-image-tag to empty and determine in conftest for canary build

* Fix mnt writable
2025-09-11 20:37:02 +01:00
Wei Lee
68236cc2a6 build: upgrade important version (#55519) 2025-09-12 03:01:12 +08:00
Amogh Desai
897d0bfb26 Add CI job to test airflow standalone startup (#55458) 2025-09-11 12:20:59 -06:00
GPK
3e776cc564 CI: Bump UV and Ruff (#55480)
* Bump UV and Ruff

* Fix ruff static check errors
2025-09-11 01:13:45 +01:00
Jarek Potiuk
04537dee69 Make /mnt writeable in publish-docs workflow back (#55450) 2025-09-09 22:00:22 -06:00
Jarek Potiuk
08d41e10f9 Upgrade to latest versions of important deps and improve the script (#55350)
This PR upgrades latest versions of the important dependencies, also
it implements the possibility of using the token that is used
locally via `gh` GitHub CLI - this way if you did `gh auth login`
to use `gh` for your repository, there is no need to create and
pass GITHUB_TOKEN via UI of GitHub.

Also added ruff to the upgraded packages, and synchronized the variables
in upgrade checks to include all the packages we are checking for
2025-09-07 23:49:56 +02:00
Jarek Potiuk
b507852799 Only use runner cleanup where it is really needed (#55345)
We decided to clean-up runner and remove all the potential garbage
we get when we start runner - we also move docker to a separate
/mnt partitiion available on the runners - because for unit testing
especially we need as much space as possible. Also when we build
images, it is best if we use clean, pristine docker engine located
on the /mnt folder.

All of our other jobs are ok with small disk space and sometimes that cleanup
can take up to a minute (usually it is 10-20s)

This change (experimentally) removes all cleanup from all jobs
except the unit tests and image building to see if we can get stability
and speed at the same time.
2025-09-07 16:54:47 +02:00
Jarek Potiuk
401e8e4769 Bring back check translation completeness (#55341)
The check has been accidentally removed in #55328 - this PR brings
it back.
2025-09-07 09:16:50 +02:00
Jarek Potiuk
0399655ddd Octopin should save its own cache (#55340)
Octopin uses Python 3.11, so it should save its own cache.
2025-09-07 09:16:30 +02:00
Jarek Potiuk
91ac6badc2 Improve cache usage for prek hooks (#55328)
Previously we were only using prek cache from canary builds, but
since we are starting to use several separate prek runs, it makes
sense to install prek hooks only once and store them in cache and
reuse even in the same build.

This PR removes "only-canary" prek cache preparation - now all
builds including all PRs from fork preapare prek cache once and
upload them as artifacts - then restoring prek cache for every
prek run should be much faster.
2025-09-07 08:25:42 +02:00
Jarek Potiuk
eda82cadd6 Check if plural forms are correct for languages. (#55327)
* Check if plural forms are correct for languages.

It turned out, that some of the languages we had, did not have
proper plural forms defined. There were few problems with it:

* some languages had "default" form defined where they should have
  other forms
* there were no check if language was missing in the plural forms,
  so new languages got the "default" form by - well - default.
* we had no check in CI to check if languages are defined in the
  plural forms

This PR modifies the `check-translations-completeness` script and
uses it as a prek (manual) hook to make it easier to get run, also
to be able to run it in CI - it exits with non-zero exit only when
there is a clear issue with configuration or call parameters,
rather than when there are missing translations, it only prints
green/red message summarizing the output.

* Update dev/i18n/check_translations_completeness.py

Co-authored-by: Shahar Epstein <60007259+shahar1@users.noreply.github.com>

---------

Co-authored-by: Shahar Epstein <60007259+shahar1@users.noreply.github.com>
2025-09-06 18:13:05 +02:00
Amogh Desai
fb4f34c8a1 Display the correct shared project while running shared distro tests (#55261) 2025-09-04 14:32:13 +02:00
Wei Lee
70ed6c5197 ci: upgrade important versions (#55050) 2025-08-29 07:40:37 +02:00
Wei Lee
b8cf4aef04 ci(github-actions): add missing --task-sdk-version arg (#54975) 2025-08-27 18:41:23 +08:00
Bugra Ozturk
ba7cdbf9f9 feat(breeze): enable airflowctl docs to be released (#54880)
* feat(breeze): enable airflowctl docs to be released

* Update dev/breeze/src/airflow_breeze/utils/selective_checks.py

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>

* Update docs/README.md

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>

* feat(docs): add function to retrieve airflowctl version and use it in DocsPublisher

* feat(docs): add function to retrieve airflowctl version and use it in DocsPublisher

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
2025-08-24 22:00:02 +02:00
GPK
fcd52e9dc7 Migrate windows-latest label to windows-2025 (#54866) 2025-08-23 15:16:27 +02:00
Jarek Potiuk
f229feab4a Standardize uv and prek installation (#54864)
There were a little inconsistencies how uv and prek were installed
in our CI

* install-prek action was not used in ci-amd.yaml
* UV_VERSION was not fixed in release-dockerhub-images
* uv was installed with pip rather than installation script from
  astral in install-prek action
2025-08-23 13:52:11 +02:00
Jarek Potiuk
776586714c Refactor tests for shared distributions (#54863)
* Dynamically detect shared distributions in selective checks
* Run the tests as matrix
* Skip cleaning the worker and setting up docker and breeze
* Install the version of uv that we are bound with
* Run tests in parallel with xdist
2025-08-23 12:40:47 +02:00
Amogh Desai
e70b8d6d9a Stabilising shared timezone tests and running them in CI (#54860) 2025-08-23 10:25:12 +02:00
GPK
e067ad7a69 Bump UV and Prek versions (#54854) 2025-08-23 10:24:19 +02:00
Amogh Desai
7982542755 Move secrets_masker over to airflow_shared distribution (#54449) 2025-08-23 10:48:43 +05:30
Bugra Ozturk
d7e288339b feat(docs): Add bugraoz93 to publish doc action (#54805) 2025-08-22 11:51:51 +02:00
Jarek Potiuk
f187852c72 Upgrade prek, prek hooks, breeze lock and other important deps (#54726)
After https://github.com/j178/prek/issues/35 has been completed and
released in `prek` 0.1.1 we can bring back the functionality of
flagging when our prek hooks need to be updated.

This PR brings minimum version of prek to 0.1.1 as well as
upgrades all other important versions up, upgrades breeze uv.lock
and brings back the steps in upgrade check to check for auto-upgradeable
hooks.
2025-08-20 14:02:43 +02:00
Jarek Potiuk
946097674b Fix conditionals for test types and make them consistent (#54678)
The go tests do not depend on CI image being built, also they should
not be run independently on the `run-tests` flag - because
run-tests is generally for our unit tests.

They should be run when `run-go-sdk-tests` is set and without
dependency on ci-images being built. There were also a few
other issues found during this cleanuup:

Several outputs were inconsistently named:

* run-tests was renamed to run-unit-tests
* need-* outputs were renamed to run-*

Some other fixes were applied:

* only-new-ui-files was removed as it is not needed any more as
  we do not really need that check to be exposed to actions, it
  is only used internally - to not run other tests when only ui
  files changed
* run-system-tests was not properly used (it is currently an
  alias to run-unit-tests anyway - but foreseen for future
  separation$a
* need-javascript-scans and need-python-scans have been removed
  as they are no longer used
2025-08-20 00:55:11 +02:00
Jarek Potiuk
4e6fa29117 Remove black usage in prek hooks (#54656)
We are not using black-related functionality in prek hooks any more - the
only remaining hook is 'blacken-docs` - but there is no need to synchronize
and upgrade black version any more for it.

Upgraded to latest black version for blacken-docs manually.
2025-08-19 14:26:08 +02:00
Jarek Potiuk
ef911fa273 Make cache for prek dependent on platform (#54655) 2025-08-19 13:59:43 +02:00
Jarek Potiuk
a4fa218200 Upgrade to prek 0.0.29 (#54621)
This upgrades prek to **just released** 0.0.29 and removes the
workaround implemented in #54613 to add build-essential to the
image that is used to build distributions - because prek 0.0.29
comes with all the necessary binary wheels/platforms that remove
the need to build in in our Linux ARM image (issue
https://github.com/j178/prek/issues/451 has been fixed).
2025-08-18 17:42:28 +02:00
Jarek Potiuk
3aa24487f0 Change upgrading scheme for prek and bump to latest version (#54599)
The 0.0.28 prek has an important fix - avoids craching when you run
`git commit -a` https://github.com/j178/prek/issues/385 - we bump
the minimum_version to 0.0.28 as well as upgrading the CI and Breeze
version to 0.0.28 - also, we change the strategy of failing
upgrade check in CI - we do not fail the upgrade check when there
is a new upgrade of `prek` - similar like with `uv` we expect
new versions to be released quickly over the `teething` period.
2025-08-18 10:07:22 +02:00