Andrushika opened a new pull request, #77518: URL: https://github.com/apache/airflow/pull/77518
## Why A pull request gated to fork CI gets its labels, state comment and statuses only when `fork-ci-monitor.yml` runs. That workflow runs on a 5-minute cron, and GitHub starts scheduled runs late. So the first comment waits for the next scheduled run. On the last 15 gated pull requests, the first bot comment came 4.9 minutes after opening at the median, and 13.1 minutes at most. ## What Add `fork-ci-monitor-wake.yml`. When a `Tests (AMD)` run of a fork pull request to `main` is requested, it: 1. finds the pull request through the API, 2. runs the gate script from `main` with the same inputs as the gate job in `ci-amd.yml`, 3. dispatches `fork-ci-monitor.yml` when the pull request is gated. It listens to `requested` because GitHub creates a run held for approval as completed with `action_required`, before its gate job runs. Kafka's `workflow-requested.yml` uses the same event for held fork runs. It never checks out pull request code. The cost is one `ubuntu-slim` job per fork pull request push, plus one monitor run per gated push. The monitor's concurrency group keeps at most one run queued. A test checks that the wake-up passes the same inputs as the gate step in `ci-amd.yml`. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Opus 5.5 following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
