potiuk opened a new pull request, #63630: URL: https://github.com/apache/airflow/pull/63630
Third-party Sphinx intersphinx inventories (e.g., Pandas) are sometimes temporarily unavailable. Previously, any download failure terminated the entire doc build with `SystemExit(1)`. This is too aggressive — these inventories are for cross-references to external docs and their temporary unavailability should not block the build. **Changes:** - Missing 3rd-party inventories now produce warnings instead of failing - If a cached version exists, it is used with a warning - A `.missing_third_party_inventories` marker file is written for CI detection - Canary builds send Slack warnings to `internal-airflow-ci-cd` when inventories are missing - Publishing workflow fails by default on missing inventories but has an opt-out flag **New flags:** - `--fail-on-missing-third-party-inventories` — opt-in to fail on missing 3rd-party inventories - `--clean-inventory-cache` — separate flag to clean inventory cache (`--clean-build` no longer deletes it) - `--ignore-missing-inventories` — workflow dispatch input for publish-docs **Files changed:** - `fetch_inventories.py` — warn-and-continue logic, marker file - `build_docs.py` — new CLI flags - `doc_build_params.py` — new fields and arg passing - `developer_commands.py` — new CLI flags, updated clean-build behavior - `workflow_commands.py` — `--ignore-missing-inventories` option - `ci-image-checks.yml` — fixed stash key/condition, Slack notification - `ci-amd-arm.yml` — pass SLACK_BOT_TOKEN secret - `publish-docs-to-s3.yml` — inventory cache stash, fail flag, workflow input --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Claude Opus 4.6) Generated-by: Claude Code (Claude Opus 4.6) 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]
