shahar1 opened a new pull request, #91: URL: https://github.com/apache/airflow-ci-infra/pull/91
Removes the code of the 2021 self-hosted runners. Nothing in `apache/airflow` CI uses it, and the AWS resources it built and deployed were deleted on 2026-11-03, so none of it can run any more. | Removed | What it was | |---|---| | `lambdas/scale_out_runner/`, `tests/lambdas/` | The webhook Lambda that scaled the runner ASG, and its tests | | `github-runner-ami/` | Packer build of the runner AMI | | `arm-docker-ami/` | Packer build of the ARM Docker builder AMI | | `cloud-init.yml` | Runner instance bootstrap | | `scripts/store-agent-creds.py` | Wrote runner credentials to SSM | | `scripts/list_committers` | Printed the committer list for the `/runners/apache/airflow/configOverlay` SSM parameter, which no longer exists | | `requirements.txt` | Dependencies of the code above | | `tests/conftest.py` | Empty (license header only), left over from the Lambda tests | Also drops what pointed at them: `moto` in `requirements-test.txt`, the Lambda directory in `.github/dependabot.yml`, the `cloud-init.yml` license exclusion, the Packer entries in `.gitignore`, and the three paths in the license audit config. Kept, because each is in use: - `terraform/runs-on-flex` and `terraform/runs-on-access`: the live RunsOn stack and its roles. Every local, variable and data source in them has a reference. - `.github/workflows/terraform-runs-on-flex.yml`, `runs-on-usage-report.yml` and `prek.yml`. - `scripts/terraform_lock_platforms.py` and its test (`terraform-lock-platforms` prek hook), `license-templates/` (license hooks), `pyproject.toml` (black, isort and ruff). How "unused" was checked: - **Airflow CI.** `main` and `v3-4-test` select `runs-on=.../env=flex` or GitHub-hosted labels. `v3-3-test` and `v2-11-test` select only GitHub-hosted labels (on `v2-11-test`, `RUNS_ON_SELF_HOSTED_RUNNER` is itself `ubuntu-22.04`). - **References.** A search of those four branches finds no reference to the removed paths, apart from the links below. Outside this repository, GitHub code search for `airflow-ci-infra` in the `apache` org finds only the `comdev-projects` repository index. - **AWS.** The legacy cleanup finished on 2026-11-03: the Lambda, the runner AMIs and snapshots, the ASGs and launch template and the SSM parameters are gone. That was checked with a read-only verification script at that time and not rechecked for this PR. Effects to expect: - `COMMITTERS.rst` on `v3-3-test` and `v2-11-test` links to `scripts/list_committers`, and that link will 404. Its onboarding step has been obsolete since the SSM parameter was deleted. `main` and `v3-4-test` no longer have the link. - #89 (Dependabot) edits `requirements.txt`, so it will need a rebase, which Dependabot does on its own. - No Terraform file changes, so the **Terraform (RunsOn Flex)** workflow does not run and nothing is applied. Not in this PR: the INFRA ticket to remove the GitHub webhook that called the Lambda, and the stale branches in this repository. Tested: `prek run --all-files` passes, and `pytest tests` passes (4 tests). Generated-by: Claude Opus 5.5 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
