Pre-release alpha of Cosmos 1.15.0.
Refresh of
a2with 28 additional milestone PRs merged since the second alpha. Headline:ExecutionMode.WATCHERandExecutionMode.WATCHER_KUBERNETESare now stable, effective Cosmos 1.15.0 (#2865). Also includes new Behaviour changes (output-only template fieldscompiled_sql/freshnessnow raise;RenderConfig.excludenow applies to per-model/detached test tasks) and an opt-inenable_hierarchical_naming_for_group_nodes_by_folderconfig. The head branch was synced withmainso this cut actually contains all of them. See the release PR for full provenance, the complete 162-PR changelog, and the test plan: #2810.
Now Stable
ExecutionMode.WATCHERandExecutionMode.WATCHER_KUBERNETESare now stable, effective Cosmos 1.15.0 (they were experimental through 1.14.x).
Behaviour Changes
- The output-only template fields
compiled_sqlandfreshnessare now rejected withCosmosValueErrorat task instantiation if passed viaoperator_argsor directly to a local operator; the guard covers both the sync local operators and the async BigQuery path by @00yhj22-debug in #2726 and @qorexdevs in #2852 RenderConfig.excludeis now applied to per-model and detached test tasks underTestBehavior.AFTER_EACHandBUILD(previously onlyAFTER_ALLhonoured it) by @tatiana in #2850
Features
- Add an
enable_hierarchical_naming_for_group_nodes_by_folderconfig (defaultFalse) to opt into hierarchical task-group naming forgroup_nodes_by_folderby @tatiana in #2862
Enhancements
- Surface dbt
stdout/stderrinCosmosLoadDbtExceptionby @DaPillah in #2826 - Avoid hard-coded watcher status strings in favour of named constants by @pankajastro in #2841
Bug Fixes
- Forward
RenderConfig.excludeto per-model and detached test tasks for all test behaviours by @tatiana in #2850 - Fix
group_nodes_by_foldercollapsing folders that share a leaf name under different parents (opt-in viaenable_hierarchical_naming_for_group_nodes_by_folder) by @anor4k in #2824 - Raise a clear exception on an empty or invalid dbt manifest instead of an opaque
JSONDecodeErrorby @karanw330 in #2819 - Atomically update the
partial_parse.msgpackcache by @mungiyo in #2815 - Fix stale context in the cached
pod_managerforExecutionMode.WATCHER_KUBERNETESby @vricciardulli in #2809 - Capture the dbt-runner error message in
ExecutionMode.WATCHERconsumer logs by @pankajastro in #2806 - Fix duplicate consumer logs in
ExecutionMode.WATCHERmode by @pankajastro in #2805
Docs
- Add additional resources to the contributing docs by @lzdanski in #2460
- Move the GCP GKE execution modes to a dedicated documentation page by @vricciardulli in #2834
- Add a note and example for custom profile mapping by @karanw330 in #2825
- Document the
self.logvsget_loggerlogging convention by @pankajastro in #2764 - Fix a malformed dbt-fusion docs redirect target by @pankajastro in #2849
- Mark
ExecutionMode.WATCHERandExecutionMode.WATCHER_KUBERNETESas stable (effective Cosmos 1.15.0) in the documentation by @pankajkoti in #2865
Others
- Add
apache-airflow3.3 to the test matrix by @pankajkoti in #2831 - Add a blocking lychee linkcheck CI job and fix broken docs links by @pankajastro in #2699
- Restore running integration tests on external contributors' PRs by @tatiana in #2848
- Wait for all coverage jobs before combining coverage by @pankajastro in #2842
- Dependency updates by @dependabot in #2802, #2833, #2838, #2847, #2853, and #2855
Milestone: Cosmos 1.15.0
Full changelog: astronomer-cosmos-v1.15.0a2...astronomer-cosmos-v1.15.0a3