Use GA versions for propagate_logs in provider_info#2712
Merged
Conversation
`provider_info.py` currently claims `propagate_logs` was added in `1.3.0a1` and deprecated in `1.6.0a1`. Neither matches the actual release history: - `1.3.0a1` was tagged on 2023-10-27. The commit that introduced the option (`d063b5ed`, PR #648) merged on 2023-11-09, so the option did not exist in `1.3.0a1`. The first alpha containing it was `1.3.0a2`, and the first GA release was `1.3.0`. - `1.6.0a1` was tagged on 2024-07-05. The "Simplify logging" change (`89f5999e`, PR #1108) that made the option redundant merged on 2024-08-15 and first shipped in `1.6.0a7` (2024-08-20). The first GA release with the deprecation was `1.6.0` (same day). Updating both entries to the GA versions (`1.3.0` / `1.6.0`) matches what users see in pip/PyPI, aligns with the convention used by other Airflow providers, and matches the `deprecation_reason` text that already refers to `1.6.0` (not `1.6.0a1`). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the provider config metadata for the cosmos.propagate_logs option so its version_added and version_deprecated fields reflect the GA (stable) releases rather than alpha tags, aligning the metadata with actual release history and the deprecation narrative already referencing GA versions.
Changes:
- Change
version_addedforpropagate_logsfrom1.3.0a1to1.3.0. - Change
version_deprecatedforpropagate_logsfrom1.6.0a1to1.6.0.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2712 +/- ##
=======================================
Coverage 98.04% 98.04%
=======================================
Files 105 105
Lines 7892 7892
=======================================
Hits 7738 7738
Misses 154 154 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tatiana
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cosmos/provider_info.pycurrently claims that thepropagate_logsconfig option was added in
1.3.0a1and deprecated in1.6.0a1.Both references pre-date the changes they describe by weeks; switching
them to the GA versions (
1.3.0and1.6.0) makes the metadataaccurate and matches the version style every other Airflow provider
uses in
provider.yaml.Evidence from the release history
provider_info.py"version_added": "1.3.0a1"1.3.0a1tagged 2023-10-27. The commit that introducedpropagate_logs(d063b5ed, PR #648) merged on 2023-11-09 — two weeks later. First alpha containing it:1.3.0a2. First GA:1.3.0(2024-01-04)."version_deprecated": "1.6.0a1"1.6.0a1tagged 2024-07-05. The "Simplify logging" change (89f5999e, PR #1108) that made the option redundant merged 2024-08-15 — six weeks later. First alpha with the deprecation:1.6.0a7. First GA:1.6.0(both on 2024-08-20).The existing
deprecation_reasonstring already refers toCosmos 1.6.0(no alpha suffix), so the file's own narrative already assumesthe GA boundary — this PR just makes the structured fields agree with
that.
Diff
Test plan
hatch -e tests.py3.11-2.10-1.9 run pre-commit run --files cosmos/provider_info.py— all hooks Passed (includingmypy-python)Breaking change?
No. The
version_added/version_deprecatedfields are documentationmetadata surfaced through Airflow's
airflow config listand theprovider listing — they don't affect runtime behavior. The option
itself remains deprecated either way.
🤖 Generated with Claude Code