potiuk opened a new pull request, #63676:
URL: https://github.com/apache/airflow/pull/63676
Slack notifications for CI failures and missing doc inventories were posted
on every
failing run regardless of whether the failure was already reported. This
adds per-branch
state tracking via GitHub Actions artifacts so notifications are only sent
when the set
of failures changes or 24 hours pass (as a "still not fixed" reminder).
Green recovery
notifications are posted when a previously-failing run passes.
**Changes:**
- New `scripts/ci/slack_notification_state.py` — shared state management
script that
downloads previous state from artifacts, compares with current failures,
and outputs
one of: `notify_new`, `notify_reminder`, `notify_recovery`, or `skip`
- `ci-image-checks.yml` — inventory notifications now stateful with 3
message types
(new, reminder, recovery) and deep-linked to the specific docs build job
- `ci-amd-arm.yml` — `notify-slack-failure` → `notify-slack`, runs on both
success
and failure (for recovery), includes failing job names in messages
- `ci-notification.yml` — external branch monitoring now stateful with 3
message types
- `workflow_status.py` — extended to output run ID and failing job names
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Opus 4.6 (1M context)
Generated-by: Claude Opus 4.6 (1M context) 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]