instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
apache__airflow__61631
apache/airflow
61,631
defect
ae8cdf76eb5b39199380ae720ace5e967d86d844
64a1567734865a624b473a003b1be6470948a11a
Return 410 Gone for heartbeat when cleared TI exists in TIH
Closes: #53140 When a running Task Instance is cleared, `prepare_db_for_next_try()` archives the current try to the Task Instance History (TIH) table and assigns a new UUID. This means heartbeats from the old process will fail with a 404 "Not Found" because the UUID no longer exists in the TI table. However, a generic...
diff --git a/airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py b/airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py index f22d7c125853d2..9bd5367c0270f6 100644 --- a/airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py +++ b/airflow-core/src/airf...
3
2
0
[{"id": "G0", "claim": "The log message on the heartbeat 410 path should read \"TaskInstance was previously cleared and archived in history, heartbeat skipped\" instead of \"Task Instance not found in TI table but exists in Task Instance History\".", "category": "maintainability", "verdict": "supported", "priority": "P...
null
apache__airflow__61725
apache/airflow
61,725
defect
5a4a8be24eb8bf7d2de18c2464945186d1ada04b
36e4d7cab9c3dfe3ef2777e08e1220f7f3a4dab9
feat: add partition_key to DagRunAssetReference
## Why Closes: https://github.com/apache/airflow/issues/61218 Since we have partition_key in DagRun now, we should make sure it's not missed in the API layer. ## What Add partition_key to DagRunAssetReference <!-- Thank you for contributing! Please provide above a brief description of the changes made in...
diff --git a/airflow-core/src/airflow/api_fastapi/core_api/datamodels/assets.py b/airflow-core/src/airflow/api_fastapi/core_api/datamodels/assets.py index d6a1106dbc275..c6cb2fa282799 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/datamodels/assets.py +++ b/airflow-core/src/airflow/api_fastapi/core_api/data...
1
1
1
[{"id": "G0", "claim": "A cadwyn migration for the new partition_key field on DagRunAssetReference is needed so the task SDK stays backward compatible in all four version-compat scenarios.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__airflow__61917
apache/airflow
61,917
defect
b9441efff876a7c5f3af3cafd8c60d7e2e989beb
b69c44bedbfd130c10b674dec38cbb50e08953a1
Remove global variables in airflow.settings
Another small increment to remove global statements for PR https://github.com/apache/airflow/pull/58116 - an alternative approach to #61356. This removes (some) global statements from settings.py where the a lot of state was hold in variables used with global and then a lot of code way relying to access these global...
diff --git a/airflow-core/src/airflow/migrations/env.py b/airflow-core/src/airflow/migrations/env.py index dfb46ab6c37e0c..2f4f8307cc86b0 100644 --- a/airflow-core/src/airflow/migrations/env.py +++ b/airflow-core/src/airflow/migrations/env.py @@ -80,7 +80,7 @@ def run_migrations_offline(): """ context.confi...
4
4
3
[{"id": "G0", "claim": "The FAB provider's db.py must be adjusted for a merge after the 3.2.0 release instead of assuming the pre-3.2.0 settings layout.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "SQL_ALCHEMY_CONN_ASYNC is still readable when blo...
null
apache__airflow__62184
apache/airflow
62,184
defect
e3c10eae08cd8c0d28f1edaab24e11bd25606d6c
d8407eef32a2a7f637fb976e8f49cd3c8b961f8b
Add overridable metadata engine creation hooks in `settings.py`
## Summary Add `create_metadata_engine()` and `create_async_metadata_engine()` as overridable module-level functions in `settings.py`, following the same pattern as `task_policy` / `dag_policy`. `configure_orm()` and `_configure_async_session()` now call these hooks instead of `create_engine()` / `create_async_en...
diff --git a/airflow-core/src/airflow/settings.py b/airflow-core/src/airflow/settings.py index 223ec291b4dac..a00339603beec 100644 --- a/airflow-core/src/airflow/settings.py +++ b/airflow-core/src/airflow/settings.py @@ -349,6 +349,44 @@ def _get_connect_args(mode: Literal["sync", "async"]) -> Any: return {} +...
2
2
2
[{"id": "G0", "claim": "Add unit tests in airflow-core/tests/unit/core/test_settings.py covering that configure_orm() calls create_metadata_engine (not create_engine directly), that _configure_async_session() calls create_async_metadata_engine, and that the default implementations produce a working engine with the expe...
null
apache__airflow__62401
apache/airflow
62,401
defect
7a301e69700a8089fe52433198b69998e783f6d3
2cf62d1a37127a6eda34f3cdcf93d8c6cc5715b5
Add cancel_on_kill and safe_to_cancel support to KubernetesPodOperator and trigger
## Description Currently, when a deferred KubernetesPodOperator task is manually marked as success/failed from the Airflow UI, the associated Kubernetes pod is never cleaned up — it keeps running as an orphan. This is because `KubernetesPodTrigger` has no `cleanup()` override, so trigger cancellation is a no-op. ...
diff --git a/providers/cncf/kubernetes/docs/operators.rst b/providers/cncf/kubernetes/docs/operators.rst index 9a2a9b21e3cb8..a3e1d0aab8b54 100644 --- a/providers/cncf/kubernetes/docs/operators.rst +++ b/providers/cncf/kubernetes/docs/operators.rst @@ -155,6 +155,37 @@ Example to fetch and display container log periodi...
7
6
3
[{"id": "G0", "claim": "The new 'Pod cleanup on kill' docs section should also document ``on_finish_action=\"delete_active_pod\"`` (pod deleted if it is in state PENDING or RUNNING) and specify that ``delete_succeeded_pod`` deletes the pod when it is in state SUCCEEDED.", "category": "documentation", "verdict": "oppose...
null
apache__airflow__62509
apache/airflow
62,509
defect
3996a4a34131b34a01276bc85363ac298e41adbb
6117f4ec02bbef7fa434117c3d3e0a8bc1083e0a
Add audit log if target dag partition mapper is wrong
## Why If a target partitioned Dag has a partition mapper that cannot map a partition key correctly (e.g., map "abc" through HourlyMapper), it raises an exception in the scheduler, which makes sense but is not obvious to the user. closes: https://github.com/apache/airflow/issues/63442 ## What Add AuditLog to th...
diff --git a/airflow-core/src/airflow/assets/manager.py b/airflow-core/src/airflow/assets/manager.py index 9c287209172fe..7fa5afef2d5e4 100644 --- a/airflow-core/src/airflow/assets/manager.py +++ b/airflow-core/src/airflow/assets/manager.py @@ -41,6 +41,7 @@ DagScheduleAssetUriReference, PartitionedAssetKeyLo...
2
1
0
[{"id": "G0", "claim": "The log message in _queue_partitioned_dags should be kept as a structured log call with separate kwargs instead of one pre-formatted f-string.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The removal of writing the warning to th...
null
apache__airflow__62696
apache/airflow
62,696
defect
dda8d2786710c72791b821f70c8b6f43c19e0b1e
bdff663bbf0488c9fa50c0040fb14e3da9fb2f3f
Make TaskSDK conf respect default config from provider metadata
related: #60000 ## Why Resolve the blocker for #60000 (replacing all Core `conf` usage in providers). As pointed out in https://github.com/apache/airflow/pull/60074#issuecomment-3711902451, we have to make the Task SDK `conf` respect the provider default values. ## How Currently, there are two ways to speci...
diff --git a/airflow-core/src/airflow/configuration.py b/airflow-core/src/airflow/configuration.py index c190c3a656d46b..c52b4ef18dc7ac 100644 --- a/airflow-core/src/airflow/configuration.py +++ b/airflow-core/src/airflow/configuration.py @@ -16,7 +16,6 @@ # under the License. from __future__ import annotations -im...
12
10
4
[{"id": "G0", "claim": "The class defines `_get_config_sources_for_as_dict` twice, so the provider-aware override added by this PR is dead code and `as_dict()` (hence `airflow config list` and the config API) omits provider fallback sources; delete the later definition and keep the provider-aware one.", "category": "co...
null
apache__airflow__62709
apache/airflow
62,709
defect
2eaa200a1824c3a07b75efa610d4a07a9d05659a
db5fbd9c1400465033b1cd769c760181258d2111
Make temporal mapper timezone aware
## Why Currently, `CronPartitionedTimetable` does not generate a timezone-aware partition key. Temporal partition mappers do not support timezone either. This might make the result misleading ## What Make `CronParitionedTimetable` generate a timezone-aware partition key by default and make partition mappers parse ...
diff --git a/airflow-core/src/airflow/partition_mappers/temporal.py b/airflow-core/src/airflow/partition_mappers/temporal.py index 9c86bace56b42e..d1a4c7c9048686 100644 --- a/airflow-core/src/airflow/partition_mappers/temporal.py +++ b/airflow-core/src/airflow/partition_mappers/temporal.py @@ -18,10 +18,14 @@ from a...
4
2
1
[{"id": "G0", "claim": "The timezone argument should be optional and default to the configured default timezone, as the cron expression schedule does.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If dt parses to a timezone different from self._timezone (...
null
apache__airflow__62893
apache/airflow
62,893
defect
b87ed1d2c456bd23e8f855d90a38294731c05b7e
9763923301d37364a1b26b3c5ff475017cccdb43
Isolate per-dag-run failures in _schedule_all_dag_runs() to prevent single DagRun crashing the Scheduler
# What's the issue Previously, `_schedule_all_dag_runs()` used a list comprehension to process all DagRuns. If any `_schedule_dag_run()` raised an exception for any single dag run, the entire comprehension would abort, no other DagRun would be processed, and the exception would propagate up to crash the scheduler proc...
diff --git a/airflow-core/src/airflow/jobs/scheduler_job_runner.py b/airflow-core/src/airflow/jobs/scheduler_job_runner.py index b078cb183bc9c..a65e0fa563134 100644 --- a/airflow-core/src/airflow/jobs/scheduler_job_runner.py +++ b/airflow-core/src/airflow/jobs/scheduler_job_runner.py @@ -2197,7 +2197,13 @@ def _schedul...
3
2
1
[{"id": "G0", "claim": "The bare `except Exception` swallows DBAPIError (and its subclass OperationalError), preventing @retry_db_transaction from seeing the error and retrying the whole function, so the except clause should be narrowed or database errors re-raised.", "category": "correctness", "verdict": "supported", ...
null
apache__airflow__62962
apache/airflow
62,962
defect
7a8a1c3cb896ee66bb144ad28a2918ac9610492b
817429f8a618af72a1589939af5db773999d1105
Fix SageMakerNotebookOperator domain_id/project_id/domain_region params
## Summary This PR fixes two issues with the `SageMakerNotebookOperator` and its underlying hook when `domain_id`, `project_id`, and `domain_region` are passed as parameters. ### Fixes **1. Method `_get_sagemaker_studio_config` in hook did not specify domain, project, and DZ region identifiers** The hook wa...
diff --git a/providers/amazon/src/airflow/providers/amazon/aws/hooks/sagemaker_unified_studio.py b/providers/amazon/src/airflow/providers/amazon/aws/hooks/sagemaker_unified_studio.py index ac06fcbacf2d95..697097ead0b750 100644 --- a/providers/amazon/src/airflow/providers/amazon/aws/hooks/sagemaker_unified_studio.py +++...
6
6
4
[{"id": "G0", "claim": "A whole new system test file for the same operator should be avoided; put another task which calls the operator into the existing system test instead.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Removing the legacy DATAZONE en...
null
apache__airflow__63109
apache/airflow
63,109
defect
554b1d167203f738bac0441542eae5232496d309
850af4ca1bbc5f0e89a31219a41b0c7a1fb0952c
Add template_fields support to SalesforceBulkOperator
## Summary - Add `template_fields` to `SalesforceBulkOperator` enabling Jinja templating for `operation`, `object_name`, `payload`, and `external_id_field` parameters - Move input validation from `__init__` to `execute()` so validation runs after template rendering - Add `test_template_fields` test and update existing...
diff --git a/providers/salesforce/src/airflow/providers/salesforce/operators/bulk.py b/providers/salesforce/src/airflow/providers/salesforce/operators/bulk.py index 041492f391a62e..b76d747e56e4f0 100644 --- a/providers/salesforce/src/airflow/providers/salesforce/operators/bulk.py +++ b/providers/salesforce/src/airflow/...
2
2
2
[{"id": "G0", "claim": "The pull request's CI tests are failing; the author traced the failure to the new test_template_rendering test.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Remove `operation` from `template_fields` and undo the move of `_valid...
null
apache__airflow__63530
apache/airflow
63,530
defect
1e5dc4b7729eee7c142bc45cd5d4de1c83e72b27
3f1bce0f6b8908bda18474b872814f34c0d6991c
fix: prevent SQL keyword parameterization in MySQL bulk_load_custom
Fixes incorrect SQL keyword parameterization in `MySqlHook.bulk_load_custom()` that causes MySQL drivers to quote `IGNORE`/`REPLACE` keywords as string literals, producing invalid SQL. ## Problem `bulk_load_custom()` passes `duplicate_key_handling` (e.g., `IGNORE`, `REPLACE`) and `extra_options` as parameterized quer...
diff --git a/providers/mysql/src/airflow/providers/mysql/hooks/mysql.py b/providers/mysql/src/airflow/providers/mysql/hooks/mysql.py index 40d597325302c..f81c98079be73 100644 --- a/providers/mysql/src/airflow/providers/mysql/hooks/mysql.py +++ b/providers/mysql/src/airflow/providers/mysql/hooks/mysql.py @@ -342,8 +342,...
3
3
2
[{"id": "G0", "claim": "The spacing/formatting of the expected SQL string in the test_bulk_load_custom assertion looks odd and should be fixed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's CI checks are failing and must be f...
null
apache__airflow__63546
apache/airflow
63,546
defect
8bf498965c87d562486a8e9344ccdb84aa351b2d
e4407f6042bd1b0550c50964d2fd808a1f3669f2
fix: Skip dataset-triggered dags without SerializedDagModel
### Summary `DagModel.dags_needing_dagruns` could treat dataset-scheduled DAGs as ready for a new run when they had `DatasetDagRunQueue` rows but **no** `SerializedDagModel` row in the same evaluation window. The dataset timetable condition was never evaluated for those DAGs, yet they could still flow into `dataset_...
diff --git a/airflow/jobs/scheduler_job_runner.py b/airflow/jobs/scheduler_job_runner.py index 2725dd71d9f3b8..1a8aeb3dde72ce 100644 --- a/airflow/jobs/scheduler_job_runner.py +++ b/airflow/jobs/scheduler_job_runner.py @@ -1326,6 +1326,13 @@ def _create_dagruns_for_dags(self, guard: CommitProhibitorGuard, session: Sess...
8
8
5
[{"id": "G0", "claim": "The diagnostic logging in `_create_dag_runs_dataset_triggered` re-queries `DatasetDagRunQueue` per DAG and lazy-loads `r.dataset.uri`/`e.dataset.uri` per record instead of using the already-loaded data, adding an N+1 query pattern that would regress scheduler performance per scheduler loop.", "c...
null
apache__airflow__63587
apache/airflow
63,587
defect
9c8114f1f94463f86a5aae42d54ac04910551572
896e51426eba70fe0bb96be5ac27103c6b1abb5e
Fix airflowctl boolean flags on Python 3.14
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/airflow-ctl/src/airflowctl/ctl/cli_config.py b/airflow-ctl/src/airflowctl/ctl/cli_config.py index bdcd8b2fb9060..5f17c60335734 100755 --- a/airflow-ctl/src/airflowctl/ctl/cli_config.py +++ b/airflow-ctl/src/airflowctl/ctl/cli_config.py @@ -152,7 +152,10 @@ def type(x): return self._is_...
1
1
0
[{"id": "G0", "claim": "This fix alone may not be enough to support Python 3.14, because airflow-ctl's pyproject.toml already limits the Python version below 3.14, which by itself makes the package unusable on 3.14.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
apache__airflow__63624
apache/airflow
63,624
defect
5502cbf1282ac71f3b93716543611d14e566b8eb
e403ba0d3956b64bb5edd69ab472f675321e9792
Add dag runs filters (Consuming Asset)
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/airflow-core/src/airflow/api_fastapi/common/parameters.py b/airflow-core/src/airflow/api_fastapi/common/parameters.py index e963cdbff557f2..3a8ee987e22c05 100644 --- a/airflow-core/src/airflow/api_fastapi/common/parameters.py +++ b/airflow-core/src/airflow/api_fastapi/common/parameters.py @@ -46,6 +46,7 @@...
4
4
2
[{"id": "G0", "claim": "The formatting change to scripts/tests/ci/testing/test_get_min_airflow_version_for_python.py might be unrelated to the consuming-asset filter feature and should not be part of this pull request.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
apache__airflow__63631
apache/airflow
63,631
defect
afda438816b8e8cd43ef105630c8f33da8ec98b5
fce3cceafb1375fc9744ed68f71d7e7b4c89fb65
Support partitioned Dags in calendar view
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/airflow-core/src/airflow/api_fastapi/common/parameters.py b/airflow-core/src/airflow/api_fastapi/common/parameters.py index e963cdbff557f2..c0dd6987410d6d 100644 --- a/airflow-core/src/airflow/api_fastapi/common/parameters.py +++ b/airflow-core/src/airflow/api_fastapi/common/parameters.py @@ -603,9 +603,9 ...
5
4
2
[{"id": "G0", "claim": "The new test class docstring should read 'partitioned Dags' (Airflow's Dag spelling) instead of 'partitioned DAGs'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The code should test dag.timetable.partitioned directly in t...
null
apache__airflow__63665
apache/airflow
63,665
defect
7e04b97b39a446119e7d42a9927601da20d9d7e6
3b2f94576eaac6b8870b2987421e6ebf41503221
Fix: PATCH /dags pagination bug and document wildcard dag_id_pattern
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/airflow-core/src/airflow/api_fastapi/common/parameters.py b/airflow-core/src/airflow/api_fastapi/common/parameters.py index e963cdbff557f2..99dba252a015a2 100644 --- a/airflow-core/src/airflow/api_fastapi/common/parameters.py +++ b/airflow-core/src/airflow/api_fastapi/common/parameters.py @@ -724,9 +724,6 ...
4
4
2
[{"id": "G0", "claim": "Add a test case exercising the scenario the PR is meant to solve: matching any of multiple tags while patching multiple dags.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The guard requiring one of the supported filters is conf...
null
apache__airflow__63704
apache/airflow
63,704
defect
87a23f3d21d8efb39dd81ffbb38bdd00b9443485
7e0532221a94d53e6f83dbf7a3519bf7c756a75d
Enable TLS Certificate Verification for K8s Token Exchange in Databricks Hook
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/providers/databricks/docs/connections/databricks.rst b/providers/databricks/docs/connections/databricks.rst index 084743b49834d..634f61f2d4da3 100644 --- a/providers/databricks/docs/connections/databricks.rst +++ b/providers/databricks/docs/connections/databricks.rst @@ -221,7 +221,7 @@ Extra (optional) ...
2
2
2
[{"id": "G0", "claim": "The reviewer asks whether switching the K8s TokenRequest API call from verify=False to certificate verification against the in-cluster CA bundle is not a breaking change.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR shoul...
null
apache__airflow__63716
apache/airflow
63,716
defect
b24de0147986aa8822a5f244f959f07615ba5146
309059864ab26b0f9d0a144226ca2e4ccf348225
Fix make_partial_model
Fixing implementation which was brittle and not working on pydantic 2.12.0 <!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git comm...
diff --git a/airflow-core/src/airflow/api_fastapi/core_api/base.py b/airflow-core/src/airflow/api_fastapi/core_api/base.py index 600a6d896e2f21..315edd4f7c1afb 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/base.py +++ b/airflow-core/src/airflow/api_fastapi/core_api/base.py @@ -17,8 +17,7 @@ from __future_...
1
1
0
[{"id": "G2", "claim": "With the make_partial_model issue fixed properly, the pydantic minimum-version bump to >=2.12.3 from #63570 is unnecessary and should be reverted (back to >=2.11.0, or >=2.12.0 if needed).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
apache__airflow__63733
apache/airflow
63,733
defect
bc6cc08d73a21f1d8065b5cf19e5f6b7d1aae967
d1e4052c25e669d34f4379b396a88c319235e4d3
Add DagRunType for operator
## Why - The Execution API previously used the `MANUAL `run type for operator-triggered DAG runs, which caused ambiguity and made it difficult to distinguish between user-initiated and operator-initiated runs. ## What - Added `OPERATOR `to the `DagRunType `enum and updated all relevant code paths to use `OPERA...
diff --git a/airflow-core/src/airflow/api/common/trigger_dag.py b/airflow-core/src/airflow/api/common/trigger_dag.py index 93e867fc5c87af..53af3224a9f1f7 100644 --- a/airflow-core/src/airflow/api/common/trigger_dag.py +++ b/airflow-core/src/airflow/api/common/trigger_dag.py @@ -43,6 +43,7 @@ def _trigger_dag( dag_...
8
5
1
[{"id": "G0", "claim": "The test queries DagRun by run_id only, which is only unique per DAG, so it can silently collide if another dag uses the same run_id; filter by both dag_id and run_id to make the test robust.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": ...
null
apache__airflow__63795
apache/airflow
63,795
defect
cc4a0bc187322a19b8c6fd12e83b7b3e44498637
f2a8f32193ca4c5e4a8f250f85e3400d07f5ce44
Fix callback starvation across DAG bundles
### What Dag processor callback fetching now stores bundle_name on dag-processor callback rows and filters callbacks by bundle in SQL before applying max_callbacks_per_loop. ### Why Previously, _fetch_callbacks() applied LIMIT before bundle filtering. In a multi-bundle setup, callbacks for unrelated bundles c...
diff --git a/airflow-core/docs/migrations-ref.rst b/airflow-core/docs/migrations-ref.rst index cde5b6b32a522..07d6f5afc16e9 100644 --- a/airflow-core/docs/migrations-ref.rst +++ b/airflow-core/docs/migrations-ref.rst @@ -39,7 +39,9 @@ Here's the list of all the Database Migrations that are executed via when you ru +--...
2
2
0
[{"id": "G0", "claim": "The pull request should not add a newsfragment for this change; remove airflow-core/newsfragments/63795.bugfix.rst.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The two explanatory comments about filtering by bundle bef...
null
apache__airflow__63848
apache/airflow
63,848
defect
501c0d3214d49cc4b655f2406eda08a8ae76b623
4de9cf727f606af6c68ce8df7c1920a4a7f88a87
Fix partitioned asset events incorrectly triggering non-partition-aware Dags
Partitioned asset events (from DAGs using `CronPartitionTimetable`) were incorrectly queuing non-partition-aware DAGs in `AssetDagRunQueue`, causing spurious `ASSET_TRIGGERED` runs. Fixed by skipping the non-partitioned queue path when `partition_key` is set in `AssetManager._queue_dagruns`. closes: #63734 ---...
diff --git a/airflow-core/newsfragments/63848.bugfix.rst b/airflow-core/newsfragments/63848.bugfix.rst new file mode 100644 index 0000000000000..1997b400b04fe --- /dev/null +++ b/airflow-core/newsfragments/63848.bugfix.rst @@ -0,0 +1 @@ +Fix partitioned asset events incorrectly triggering DAGs that are not partition-aw...
4
2
0
[{"id": "G0", "claim": "uranusjr questions the asymmetry the new guard creates: a non-partitioned upstream can trigger a partition-aware downstream, while a partitioned upstream cannot trigger a non-partition-aware downstream, and feels the answers should match.", "category": "design", "verdict": "uncertain", "priority...
null
apache__airflow__63888
apache/airflow
63,888
defect
c438e2aa66d66c645ba2644d6ca1e26838632672
29a855f79ea35841f7ec8cd35ee56f422a005db7
Clean up CeleryExecutor to use workload terminology and typing
**Description** This PR is a follow-up for PR #61153. It performs a non-functional cleanup of the Celery executor to better align it with the workload-based execution model being introduced in Airflow 3.2. The changes include: - Renaming task-centric methods and variables to use workload-oriented terminology w...
diff --git a/providers/celery/src/airflow/providers/celery/executors/celery_executor.py b/providers/celery/src/airflow/providers/celery/executors/celery_executor.py index 53e7f06948286f..bf991e388e7ac4 100644 --- a/providers/celery/src/airflow/providers/celery/executors/celery_executor.py +++ b/providers/celery/src/air...
4
4
4
[{"id": "G0", "claim": "WorkloadKey is imported only under AIRFLOW_V_3_2_PLUS but is used in a TYPE_CHECKING block for AIRFLOW_V_3_0_PLUS, so the reviewer suggests unifying the import (e.g. a try/except import) so the name exists for 3.0.x too.", "category": "correctness", "verdict": "supported", "priority": "P0", "sco...
null
apache__airflow__63901
apache/airflow
63,901
defect
0022f42bcf9487f4d66c8e9ad40c5acc26ac2c2b
3d256b328d3d39b00db102e74151d59521e9d5d3
Breeze: Show local reproduction commands in all breeze CI steps
Closes: #59640 # How Replace `command_class` in `BreezeGroup` from `RichCommand` to custom `BreezeCommand`. `BreezeCommand.invoke()` calls `maybe_print_reproduction()` in a finally block to print reproduction commands after every breeze command. (Thanks for the wonderful idea from @potiuk!) # What ## ...
diff --git a/dev/breeze/src/airflow_breeze/commands/developer_commands.py b/dev/breeze/src/airflow_breeze/commands/developer_commands.py index 5c70a495afc59e..c0c974c0125f54 100644 --- a/dev/breeze/src/airflow_breeze/commands/developer_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/developer_commands.py @@ -9...
6
6
3
[{"id": "G0", "claim": "The reproduction logic is too complicated and duplicates the options and commands across many places, making it hard to manage; the command used should be derived automatically via click processing instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
apache__airflow__64015
apache/airflow
64,015
defect
e29d13e366eeb56aaf4adb67dde3b89f9d05f67c
544a1313c3727ccb05329ea0cad7274cfc54f21f
add application name as env var to driver and executor pods for SparkKubernetesOperator
- added spark application name to both driver and executor components in template body - custom object launcher already had a value for the env under spec["item"]. The application name is added along with the k8_spec env var. - tests added accordingly -changelog.rst updated. <!-- SPDX-License-Identifier: Apache-2...
diff --git a/providers/cncf/kubernetes/docs/changelog.rst b/providers/cncf/kubernetes/docs/changelog.rst index 03353a1915577..98b132592984b 100644 --- a/providers/cncf/kubernetes/docs/changelog.rst +++ b/providers/cncf/kubernetes/docs/changelog.rst @@ -32,6 +32,14 @@ Changelog Previously this would create a job tha...
1
1
1
[{"id": "G0", "claim": "The PR must not add a changelog entry to providers/cncf/kubernetes/docs/changelog.rst because changelog notes are written by the release manager when a release is created, so the added entry should be reverted.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "in...
null
apache__airflow__64034
apache/airflow
64,034
defect
bfb8e497a1a62967afb682866758244124caaf0c
de430afd1026f93a372f50d84d02c4a9f751ce4d
improve grid/ti_summaries and grid/runs
## Why The previous implementation scaled poorly for DAGs that combine: - deep `TaskGroup` nesting - large dynamic task mapping - many task instances per run In particular, `grid/ti_summaries` was keeping `details` during aggregation even though those details are not part of the response model. This meant we...
diff --git a/airflow-core/src/airflow/api_fastapi/core_api/routes/ui/grid.py b/airflow-core/src/airflow/api_fastapi/core_api/routes/ui/grid.py index 0143ae81e14ef0..eb21c3bd87ee59 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/routes/ui/grid.py +++ b/airflow-core/src/airflow/api_fastapi/core_api/routes/ui/g...
4
2
0
[{"id": "G0", "claim": "The new `_get_grid_run_dag_versions` helper in routes/ui/grid.py duplicates the recently introduced `attach_dag_versions_to_runs`, which achieves the same; use that helper here instead and remove this piece of code.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr...
null
apache__airflow__64085
apache/airflow
64,085
defect
598c9a932249563b3420034cd416a48815e01f7b
e17b114783fbcafdde44eb24b6c9cc619ecbd70a
Fix AwsBaseWaiterTrigger losing error details on deferred task failure
> **Note:** This PR is blocked until all underlying operators are updated to handle the new error trigger event. Otherwise, these operators will fail silently. When a deferred AWS task hits a terminal failure state, `async_wait()` raises `AirflowException` with the error details. But `AwsBaseWaiterTrigger.run()` di...
diff --git a/providers/amazon/src/airflow/providers/amazon/aws/triggers/base.py b/providers/amazon/src/airflow/providers/amazon/aws/triggers/base.py index 4b7ddfd405467..999b5e5bfd128 100644 --- a/providers/amazon/src/airflow/providers/amazon/aws/triggers/base.py +++ b/providers/amazon/src/airflow/providers/amazon/aws/...
1
1
1
[{"id": "G0", "claim": "The remaining operators/sensors must all be updated to handle the new 'error' trigger event before merge, otherwise they will fail silently.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__airflow__64120
apache/airflow
64,120
defect
5d9819fea584df846a8f89d57d1b7137cd3b5ae4
87d191d891298bf9ff503a3c31e5b976866f8930
Fix Task SDK Connection extras from URI constructor
The URI-based constructor builds a Connection from_uri and then copies its to_dict output directly into __dict__. to_dict uses extra_dejson, which returns a dict (deserialized JSON). As a result, the new Connection instance stores extra as a dict instead of a JSON string. Later calls to extra_dejson/to_dict/as_json ass...
diff --git a/task-sdk/src/airflow/sdk/definitions/connection.py b/task-sdk/src/airflow/sdk/definitions/connection.py index 21eed4216f52f..1cbf75a7bb40f 100644 --- a/task-sdk/src/airflow/sdk/definitions/connection.py +++ b/task-sdk/src/airflow/sdk/definitions/connection.py @@ -151,7 +151,7 @@ def __init__(self, *, conn_...
1
1
0
[{"id": "G0", "claim": "The test's exact-string assertion on conn.extra is brittle if query params in the URI are reordered; compare via json.loads(conn.extra) instead, as test_from_uri_with_query_params does.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__airflow__64143
apache/airflow
64,143
defect
8eb89dbad1836b76ff2165e64fd69c3d1460ce6d
62f710297b5e5eff7a71d58827810e2269155f96
Update cncf's import conf path to use common compat SDK
related: https://github.com/apache/airflow/issues/60000 <!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message followin...
diff --git a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/cli/definition.py b/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/cli/definition.py index 01300d1c4cd14a..90929ffaf5f747 100644 --- a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/cli/definition.py +++ b/pro...
2
1
1
[{"id": "G0", "claim": "Removing the fallback arguments from these conf.get calls breaks the back-compat tests for older Airflow versions and can make conf.get raise for users on older cores whose conf does not respect provider.yaml, so the fallbacks should be restored.", "category": "correctness", "verdict": "supporte...
null
apache__airflow__64148
apache/airflow
64,148
defect
62cbf63c515950b6d72dac35476c48cf5dd7b970
0cad3e02c5e3878de4ee1b56ac81a1ce3698bf57
Refactor xcom API to use shared serialisation constants
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml index 341af8f0e7d4b..d0602f99540d5 100644 --- a/airflow-core/pyproject.toml +++ b/airflow-core/pyproject.toml @@ -253,6 +253,7 @@ exclude = [ "../shared/observability/src/airflow_shared/observability" = "src/airflow/_shared/observability" "../shar...
4
2
1
[{"id": "G0", "claim": "The serialization constants should live directly in `__init__.py` rather than in a separate `constants.py` module.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dummy test in the new test_constants.py may not be needed and an...
null
apache__airflow__64164
apache/airflow
64,164
defect
d12d3daa25552093977387477dd006750002e01a
841d29a64dab15bf6534cc209e96657d0551c8e7
add ttlSecondsAfterFinished to databaseCleanup job
### Description This PR adds the ability to define ttlSecondsAfterFinished for the databaseCleanup CronJob in the Airflow Helm Chart. ### Changes: * Modified templates/database-cleanup/database-cleanup-cronjob.yaml to include the ttlSecondsAfterFinished field in the Job spec. * Added ttlSecondsAfterFinished wit...
diff --git a/chart/templates/database-cleanup/database-cleanup-cronjob.yaml b/chart/templates/database-cleanup/database-cleanup-cronjob.yaml index 03e0ce08d4b14..bd28c207b4c06 100644 --- a/chart/templates/database-cleanup/database-cleanup-cronjob.yaml +++ b/chart/templates/database-cleanup/database-cleanup-cronjob.yaml...
6
5
1
[{"id": "G0", "claim": "The reviewer questions whether the kindIs \"invalid\" guard is needed at all, since the values schema already enforces integer/null.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test only covers the happy path; the PR sh...
null
apache__airflow__64211
apache/airflow
64,211
defect
9f17981cab37b8a8a66991cf68cf2963de9f2fa1
4c3b2f783e376a9dee7f695ffcca91a01e24811a
fix: use Dag form when materializing asset
## Why Closes: #63807 ## What Use Dag from when materializing the asset <img width="879" height="841" alt="image" src="https://github.com/user-attachments/assets/142e7cca-1caf-4a2c-8034-485cfef90d26" /> <img width="664" height="745" alt="image" src="https://github.com/user-attachments/assets/d81124e8-3388-4a88-8...
diff --git a/airflow-core/src/airflow/api_fastapi/core_api/datamodels/assets.py b/airflow-core/src/airflow/api_fastapi/core_api/datamodels/assets.py index c6cb2fa2827993..041ec12c1f24b5 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/datamodels/assets.py +++ b/airflow-core/src/airflow/api_fastapi/core_api/da...
5
3
2
[{"id": "G0", "claim": "Drop the \"submit\" prefix from these names, and name the trigger callback as a verb like \"onTrigger\".", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Creating the \"materialize\" concept may have added unnecessary overh...
null
apache__airflow__64288
apache/airflow
64,288
defect
b653b4d165a0587800c2a54c292a321c9a93d153
284b9091dbfe4648b0d91b5fac6544004ead11be
Fix bulk task instance rbac bypass
### Why The wildcard bulk task instance endpoint accepted dag_id="~" in the path and then processed dag_id / dag_run_id values supplied in the request body without re-validating access for each referenced DAG. That created a cross-DAG RBAC issue where a caller could attempt to modify task instances outside the DAGs ...
diff --git a/airflow-core/src/airflow/api_fastapi/core_api/services/public/task_instances.py b/airflow-core/src/airflow/api_fastapi/core_api/services/public/task_instances.py index 8ab426bbef688f..f60ee27c4e0572 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/services/public/task_instances.py +++ b/airflow-c...
3
2
1
[{"id": "G0", "claim": "_categorize_entities() hardcodes method=\"PUT\" for the per-DAG authorization check, so bulk delete actions are authorized with PUT semantics, which can lead to incorrect allow/deny decisions in auth managers that differentiate methods; consider passing the HTTP method (or action type) in and us...
null
apache__airflow__64322
apache/airflow
64,322
defect
63ba16388dd7a60fcda4296df66dfb6a2843eef1
5f4bd8a39c8e0eb1b6fc46d29779d3b939b90f6c
fix(scheduler): skip asset-triggered dags without SerializedDagModel
Port to **main** (Airflow 3) of the scheduler guard from [#63546](https://github.com/apache/airflow/pull/63546): `DagModel.dags_needing_dagruns` could treat asset-triggered DAGs as ready for a new run when they had `AssetDagRunQueue` rows but **no** `SerializedDagModel` in the same evaluation window. The asset timetabl...
diff --git a/airflow-core/newsfragments/64322.bugfix.rst b/airflow-core/newsfragments/64322.bugfix.rst new file mode 100644 index 0000000000000..c59a9fceed449 --- /dev/null +++ b/airflow-core/newsfragments/64322.bugfix.rst @@ -0,0 +1 @@ +Fix premature asset-triggered DagRuns when ``AssetDagRunQueue`` had rows but ``Ser...
7
7
0
[{"id": "G0", "claim": "The newsfragment should say \"Dags\" instead of \"DagRuns\" (\"the scheduler now skips those Dags until serialization exists\").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dags_needing_dagruns docstring should say \...
null
apache__airflow__64342
apache/airflow
64,342
defect
9f17caf6319317aa83ec3467640a332b04ad27a9
763a0f0ab4a4141e3dfc5c030d16f635e30ba149
fix(glue): Fix GlueJobOperator verbose logs not showing in deferrable mode
Re-land of #63086 (reverted by #64340) with corrected error handling. ## Changes When `GlueJobOperator` runs with `deferrable=True` and `verbose=True`, CloudWatch logs were silently ignored because the trigger inherited the base waiter's `run()` method which only polls job status. **Improvements over the original PR...
diff --git a/providers/amazon/src/airflow/providers/amazon/aws/hooks/glue.py b/providers/amazon/src/airflow/providers/amazon/aws/hooks/glue.py index cc7cfd2849ca95..0e58d60568921b 100644 --- a/providers/amazon/src/airflow/providers/amazon/aws/hooks/glue.py +++ b/providers/amazon/src/airflow/providers/amazon/aws/hooks/g...
5
4
2
[{"id": "G0", "claim": "The polling loop can incorrectly yield the 'waiter exceeded max attempts' error when the job reaches a terminal state on the last poll (e.g. waiter_max_attempts=1), because the job_run_state fetched at the end of the loop is never re-checked before the loop exits; restructure the loop to fetch/c...
null
apache__airflow__64391
apache/airflow
64,391
defect
f0d5b38b3d597f26eb0029bd884d255c2b1419b4
0ee21099b808bbae4405e98b771549e85c331842
feat(providers/spark): add post_submit_commands to SparkSubmitHook for sidecar lifecycle management
## Summary Closes #50958 When running Spark jobs on Kubernetes with a service mesh like Istio, the sidecar proxy container does not automatically exit when the Spark driver finishes. This leaves the pod in a running state indefinitely, blocking job completion in Airflow. This PR adds a `post_submit_commands...
diff --git a/providers/apache/spark/src/airflow/providers/apache/spark/hooks/spark_submit.py b/providers/apache/spark/src/airflow/providers/apache/spark/hooks/spark_submit.py index d275c5fc7b4537..0422b8a76fa535 100644 --- a/providers/apache/spark/src/airflow/providers/apache/spark/hooks/spark_submit.py +++ b/providers...
9
7
3
[{"id": "G0", "claim": "Asks whether executing the post-submit commands on the Airflow worker is what is wanted, since the localhost example targets the worker pod and will not run on the Spark pod.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The revi...
null
apache__airflow__64392
apache/airflow
64,392
defect
28f7cf81b1b762cf1a32127833925edd67ddb7aa
78241bbe5e098693f952d829869e8d435895660a
Fix amqps:// SSL config and celery_config_options bypass
## Description `get_default_celery_config()` uses `"amqp://" in broker_url` to detect AMQP brokers, but this does not match `amqps://` URLs This means RabbitMQ TLS connections (`amqps://`) never enter the AMQP SSL branch, so `broker_use_ssl` is never populated with the correct parameter names (`keyfile`, `certfil...
diff --git a/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py b/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py index 6ac9ce1902974..722a0bfa33e88 100644 --- a/providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py +++ b/provider...
2
2
1
[{"id": "G0", "claim": "create_celery_app() applies celery_config_options using the global conf whose has_option() is true even when the user did not override anything (the option has a non-empty default), so the imported DEFAULT_CELERY_CONFIG built from global conf can overwrite the team-specific config computed by ge...
null
apache__airflow__64418
apache/airflow
64,418
defect
06c75db1ec759abb6c3417eb05f84bcc323d0695
5a6e34c71374ff88c08aa28c74619897eb24032f
fix(providers/fab): prevent AppBuilder re-initialization race in FastAPI login (#64151)
Closes #64151. **What changed:** Reuses the persistent/global `Flask` application and `AppBuilder` context instantiated on startup (`get_fastapi_app()`) during the `/auth/token` endpoints instead of generating new AppBuilder instances per request via `get_application_builder()`. **Why it matters:** This pre...
diff --git a/providers/fab/src/airflow/providers/fab/auth_manager/api_fastapi/routes/login.py b/providers/fab/src/airflow/providers/fab/auth_manager/api_fastapi/routes/login.py index 168b9476d80fbf..143d1356188c8d 100644 --- a/providers/fab/src/airflow/providers/fab/auth_manager/api_fastapi/routes/login.py +++ b/provid...
3
3
1
[{"id": "G0", "claim": "The `cast` of `get_auth_manager()` to `FabAuthManager` can mask misconfiguration and lead to an `AttributeError` when accessing `.flask_app`; consider using the `get_fab_auth_manager()` helper or an `isinstance` check and raising a clear HTTPException 500 if the auth manager is not `FabAuthManag...
null
apache__airflow__64430
apache/airflow
64,430
defect
dadda34c256060cfd38fec5b2671ad0cbeff31b7
ff9553871746cfb3b95643220a0263f88cd6e4fb
Allow accessing a TaskGroup's members via `[]`
Minor feature (syntactic sugar): we can now do e.g. `some_group["some_task"]` to access the children of a task group regardless of the `prefix_group_id` setting. **Motivation**: Discussion in [AIR201](https://github.com/astral-sh/ruff/pull/23583#issuecomment-4151013119)'s PR that made me aware that the shortest way ...
diff --git a/task-sdk/src/airflow/sdk/definitions/taskgroup.py b/task-sdk/src/airflow/sdk/definitions/taskgroup.py index c47b1f360aea64..72779adb5e86a3 100644 --- a/task-sdk/src/airflow/sdk/definitions/taskgroup.py +++ b/task-sdk/src/airflow/sdk/definitions/taskgroup.py @@ -141,6 +141,10 @@ def _validate_dag(self, _att...
1
1
0
[{"id": "G0", "claim": "The author asked that the PR not be merged yet because the test_taskgroup_getitem_returns_child_by_label test should be updated a bit first.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__airflow__64472
apache/airflow
64,472
defect
3f7e780ce7e79c85cc92a7f51807670208cd6848
8879a39cae57f25c5ea1eaae0ffa717b82f2f9ef
fix(55017): DAG List Pagination with 'Failed' Filter by Preserving lastrun Parameter Across Pages
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/airflow/www/utils.py b/airflow/www/utils.py index bccc597c8de43..0fa831b793d01 100644 --- a/airflow/www/utils.py +++ b/airflow/www/utils.py @@ -262,6 +262,7 @@ def generate_pages( window=7, sorting_key=None, sorting_direction=None, + lastrun=None, ): """ Generate the HTML for a...
2
2
1
[{"id": "G0", "claim": "Add a unit test covering the new lastrun filter propagation in the generated pagination links, since the existing test_utils.py assertions cover only search/sorting and leave the changed behaviour untested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
apache__airflow__64513
apache/airflow
64,513
defect
958e9267e1e5c3e401f29248bd12ea19e33d8ac4
d74f3715f2d6d04bfd794ba651a998c14e6729f5
Add OpenLineage parent info injection to GlueJobOperator
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/providers/amazon/pyproject.toml b/providers/amazon/pyproject.toml index 8ab8b4a0feedb..9d0facf53b2e8 100644 --- a/providers/amazon/pyproject.toml +++ b/providers/amazon/pyproject.toml @@ -60,7 +60,7 @@ requires-python = ">=3.10" # After you modify the dependencies, and rebuild your Breeze CI image with ``...
5
2
2
[{"id": "G0", "claim": "The pull request's CI runs are failing (linked provider-test jobs), which must be fixed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The minimum required apache-airflow-providers-common-compat should be bumped to the first...
null
apache__airflow__64522
apache/airflow
64,522
defect
048e2813e14550bce19a12d0f1dd5bf9f6c8ce0b
95c8dd2e3730a66ff65c07fadda1af615d989f93
Add a way to mark a return value XCom as dag result
Next part of https://github.com/apache/airflow/issues/51711#issuecomment-4149498083
diff --git a/airflow-core/docs/migrations-ref.rst b/airflow-core/docs/migrations-ref.rst index 07d6f5afc16e9a..eecc8056b14ba5 100644 --- a/airflow-core/docs/migrations-ref.rst +++ b/airflow-core/docs/migrations-ref.rst @@ -39,7 +39,9 @@ Here's the list of all the Database Migrations that are executed via when you ru +...
5
2
1
[{"id": "G0", "claim": "`ti.task.returns_dag_result` is not included in `SerializedBaseOperator.get_serialized_fields()`, so it is dropped during DAG serialization and always deserializes back to `False`; it should be added to the class attributes and the frozenset like `is_setup`/`is_teardown`.", "category": "correctn...
null
apache__airflow__64545
apache/airflow
64,545
defect
152295362e53098f660c6f2bac822c2756a4d05a
d8094715a949fea6a061102cac6fbd9cbd6599ae
feat(sagemaker): Add SageMakerConditionOperator
**Description** ------ Add SageMaker Consition operator to the Amazon SageMaker provider: - SageMakerConditionOperator: Branch operator mirroring SageMaker Pipelines ConditionStep. Supports flat params (condition_type/left/right) for simple conditions and conditions list for Not/Or composition. **Usage** ---...
diff --git a/providers/amazon/docs/operators/sagemaker.rst b/providers/amazon/docs/operators/sagemaker.rst index 5103b868455bb8..4a295cf0018c49 100644 --- a/providers/amazon/docs/operators/sagemaker.rst +++ b/providers/amazon/docs/operators/sagemaker.rst @@ -385,6 +385,58 @@ you can use :class:`~airflow.providers.amazo...
12
6
0
[{"id": "G0", "claim": "Justify or remove the 3072-character maximum length enforced on SageMakerFailOperator's error_message.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the hand-rolled _cast() helper and rely on Airflow's render_template_as_n...
null
apache__airflow__64575
apache/airflow
64,575
defect
85ccf1accf2aca3f09020bafc2557958de698b53
0d3d665e9693b08126d9de630ac1caebb1212170
Add transient-error retry to SalesforceBulkOperator
Follow-up to #64519 as suggested by eladkal , adding retry support for transient Salesforce Bulk errors. The issue is that Salesforce Bulk API errors come back at the record level, not as exceptions. So when Salesforce is under concurrent write load and throws `UNABLE_TO_LOCK_ROW` on a few records, the operator ju...
diff --git a/providers/salesforce/src/airflow/providers/salesforce/operators/bulk.py b/providers/salesforce/src/airflow/providers/salesforce/operators/bulk.py index 7b5d21030db02..c08b03b54032b 100644 --- a/providers/salesforce/src/airflow/providers/salesforce/operators/bulk.py +++ b/providers/salesforce/src/airflow/pr...
4
3
1
[{"id": "G0", "claim": "The new retry init params (max_retries, retry_delay, transient_error_codes) are accepted but never validated: a negative retry_delay only fails at time.sleep() and a string passed for transient_error_codes silently iterates as characters; _validate_inputs()/__init__ should reject these with a cl...
null
apache__airflow__64590
apache/airflow
64,590
defect
f4713de23ce9f2d7d794bab384179566d7d54b81
c212f38e1d61bf621e58da0856364cfb59adcaaa
Add vault data layer for auto-triage
## Summary The auto-triage TUI already caches LLM outputs (reviews, classifications, assessments) and branch-level status aggregates. However, several per-commit API calls are repeated across sessions: check status counts (paginated GraphQL per SHA), workflow runs (up to 3 REST calls per PR), and author profiles (re-f...
diff --git a/dev/breeze/src/airflow_breeze/commands/pr_commands.py b/dev/breeze/src/airflow_breeze/commands/pr_commands.py index 1214cbc2cc5f03..183fd335c5493f 100644 --- a/dev/breeze/src/airflow_breeze/commands/pr_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/pr_commands.py @@ -1773,11 +1773,19 @@ def _fetc...
4
3
1
[{"id": "G0", "claim": "The imports of get_cached_author_profile and save_author_profile were added inside _fetch_author_profile instead of the existing module-scope airflow_breeze.utils.pr_cache import block, contrary to project import-placement guidelines.", "category": "maintainability", "verdict": "supported", "pri...
null
apache__airflow__64615
apache/airflow
64,615
defect
9cad4acf06ee0794b761daf553b831b4b2bde284
e7ddb2db9c1e3c166098e4784d262520667e71a1
Fix serde deserialization of old-format builtin types in trigger kwargs
* closes: #64613 * related: #64598 ## Why Trigger kwargs stored in the old serialization format (e.g., `{"__type": "tuple", "__var": [1, 2]}`) fail to deserialize because `_convert` preserves the short type name (`"tuple"`) while the serde deserializer only recognizes fully-qualified names (`"builtins.tuple"`...
diff --git a/shared/serialization/src/airflow_shared/serialization/__init__.py b/shared/serialization/src/airflow_shared/serialization/__init__.py index a326d330ee33d..e593bf6b0456a 100644 --- a/shared/serialization/src/airflow_shared/serialization/__init__.py +++ b/shared/serialization/src/airflow_shared/serialization...
2
2
0
[{"id": "G0", "claim": "The dict mapping old type names should be named OLD_TYPE_TO_FULL_QUALNAME rather than OLD_TYPE_TO_QUALNAME, per PEP 3155, since it holds full qualnames and not just qualnames.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The int...
null
apache__airflow__64618
apache/airflow
64,618
defect
b9441efff876a7c5f3af3cafd8c60d7e2e989beb
a19016af029f2e3eb92e982cf52889d60acf8f4c
Prevent path traversal via AIRFLOW_CLI_ENVIRONMENT in airflowctl
### Description Fixes a path traversal vulnerability where api_environment could be used to read/write files outside of AIRFLOW_HOME using ``../``. ### Key Changes * Path Enforcement: Used `pathlib.Path.resolve()` to ensure all credential files remain physically constrained within the `AIRFLOW_HOME `directory....
diff --git a/airflow-ctl/src/airflowctl/api/client.py b/airflow-ctl/src/airflowctl/api/client.py index 0ef5d7cb164413..3ce1141066e786 100644 --- a/airflow-ctl/src/airflowctl/api/client.py +++ b/airflow-ctl/src/airflowctl/api/client.py @@ -23,9 +23,11 @@ import json import logging import os +import re import sys fr...
3
3
0
[{"id": "G0", "claim": "The regex validation is unnecessary and limiting — the _safe_path_under_airflow_home check alone is enough to prevent ../ relative paths, so the regexp match should not be used.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The c...
null
apache__airflow__64622
apache/airflow
64,622
defect
958e9267e1e5c3e401f29248bd12ea19e33d8ac4
e542973ba2e380c7ad9a8b7e12400fb6726a78f5
Fix OpenLineage SQL utils emitting duplicate datasets for tables in multiple schemas
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/providers/openlineage/src/airflow/providers/openlineage/utils/sql.py b/providers/openlineage/src/airflow/providers/openlineage/utils/sql.py index aa17ba3dc32de..49d05354f8a36 100644 --- a/providers/openlineage/src/airflow/providers/openlineage/utils/sql.py +++ b/providers/openlineage/src/airflow/providers/...
1
1
0
[{"id": "G0", "claim": "The private helper `_filter_schemas_by_default` could be renamed to `_prefer_default_schema_for_duplicate_tables`, which sounds more clear since it is not public and can have a longer name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__airflow__64763
apache/airflow
64,763
defect
9dfc5d13e5a31835ef604c972fcc62defcca7c27
5e77629b2831737713684afa80b4dba5c8be36f1
[Helm]Support tpl rendering in ServiceAccount annotations, metadataConnection, and config ConfigMap names
The scheduler ServiceAccount already tpl-renders annotations via range/tpl, but all other ServiceAccounts (pgbouncer, webserver, workers, triggerer, dag-processor, api-server) use raw toYaml. This makes it impossible to use template expressions like {{ .Values.global.appName }}-sa@project.iam.gserviceaccount.com i...
diff --git a/chart/templates/_helpers.yaml b/chart/templates/_helpers.yaml index 5ef1759f604fc1..e9a07c51cf5dfb 100644 --- a/chart/templates/_helpers.yaml +++ b/chart/templates/_helpers.yaml @@ -497,8 +497,8 @@ If release name contains chart name it will be used as a full name. {{ $pgMetadataHost := .Values.data.metad...
9
8
0
[{"id": "G0", "claim": "As the tpl-rendering annotation block is repeated across the service account templates, extract it into a reusable 'template dict' helper function/template.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the new Serv...
null
apache__airflow__64874
apache/airflow
64,874
defect
1d679538f21f4cde93b9105337c538215e3f80ee
d04287a46fe8b0633e4b69421a5e1f70cfbcc852
Fix macOS `SIGSEGV` in task execution by using `fork`+`exec`
## Summary Discovered while testing the AIP-99 `LLMSQLQueryOperator` example DAGs from #64824 on macOS. Tasks that make network calls (LLM API requests, HTTP calls) crash intermittently with `SIGSEGV` or `SIGABRT` when running via `airflow standalone` or any executor on macOS. **Root cause**: `WatchedSubprocess.start...
diff --git a/task-sdk/src/airflow/sdk/execution_time/supervisor.py b/task-sdk/src/airflow/sdk/execution_time/supervisor.py index 8675305dde967b..69edff916150f2 100644 --- a/task-sdk/src/airflow/sdk/execution_time/supervisor.py +++ b/task-sdk/src/airflow/sdk/execution_time/supervisor.py @@ -195,10 +195,18 @@ macOS -...
8
5
3
[{"id": "G0", "claim": "The pull request should reuse the existing mechanism for passing the log fd and re-opening the logs socket instead of implementing a new env-var channel, since stdout/stdin/stderr are inheritable and survive exec so only the log socket fd needs to be passed.", "category": "design", "verdict": "s...
null
apache__airflow__64981
apache/airflow
64,981
defect
6f56aa1fe0a65a8bceea7c827fb3a13087f558a5
16838baa11945508c04065dcfd8a2b971a0e9aec
Fix HITL review plugin crash on Airflow < 3.1 due to unconditional im…
…ports <!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-com...
diff --git a/providers/common/ai/src/airflow/providers/common/ai/plugins/hitl_review.py b/providers/common/ai/src/airflow/providers/common/ai/plugins/hitl_review.py index e870588f79392..0a90bbb9b8f28 100644 --- a/providers/common/ai/src/airflow/providers/common/ai/plugins/hitl_review.py +++ b/providers/common/ai/src/ai...
5
4
0
[{"id": "G0", "claim": "The pull request is pending a mypy fix: its code currently fails the mypy type check and must pass before merge.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "On Airflow < 3.1 the guarded helper returns no access dependencie...
null
apache__airflow__65030
apache/airflow
65,030
defect
e55d90f0692ffca5b3b6f98b02e37ce0e3ca350b
60201214926f0ccea096da17a85fe9920e40d140
Add workers.celery.labels & workers.kubernetes.labels
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/chart/docs/customizing-labels.rst b/chart/docs/customizing-labels.rst index 978dbec2152ca9..80b56cee809246 100644 --- a/chart/docs/customizing-labels.rst +++ b/chart/docs/customizing-labels.rst @@ -42,7 +42,7 @@ You can also set specific labels for individual Airflow components, which will b If the same l...
3
2
1
[{"id": "G0", "claim": "The new assertion `labels.get(\"labels\") is None` checks a key (\"labels\") that is not the one the parametrized input injects from the deprecated map (the input uses label key \"label\"), so as written the assertion will almost always pass and won't catch regressions where the deprecated `work...
null
apache__airflow__65493
apache/airflow
65,493
defect
ea9f13c70dd665b63d92972c2c05c48d1839d648
4c3c7e09024f4bd2e8c9e74ab945502045a2470c
Add multi team secret support to VaultBackend
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/providers/hashicorp/src/airflow/providers/hashicorp/secrets/vault.py b/providers/hashicorp/src/airflow/providers/hashicorp/secrets/vault.py index 3459314bf7030b..4217ae322eb115 100644 --- a/providers/hashicorp/src/airflow/providers/hashicorp/secrets/vault.py +++ b/providers/hashicorp/src/airflow/providers/...
9
7
3
[{"id": "G0", "claim": "`_get_team_or_global_secret` reads the boolean config `core.multi_team` with `conf.get()`, so a string value like \"False\" set via env/ini is truthy and wrongly enables team/global lookup; the checks should use `conf.getboolean(\"core\", \"multi_team\", fallback=False)`.", "category": "correctn...
null
apache__airflow__65498
apache/airflow
65,498
defect
418af2bb7ea365a453c322c3f3c25256587c2b19
b83fb39ccafe424a6ed209922e78731834fc9d2b
Allow string conversion to datetime for since_time in KPO logs
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py b/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py index b8dc02d69269c..ad411e46271b1 100644 --- a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py +++ b/provider...
6
6
2
[{"id": "G0", "claim": "In `consume_logs`, parsing a string `since_time` with `datetime.datetime.fromisoformat` makes it a stdlib `datetime`, so if a `TimeoutError` happens before any timestamp is captured the `except TimeoutError` block can call `val.add(seconds=2)` on that stdlib `datetime` and raise `AttributeError`...
null
apache__airflow__65557
apache/airflow
65,557
defect
d2396a53048f884ddba4c00ec0366697c1423e51
0d305b5cad08f4bcbd8da08dfeab58741b4e8bdf
Updates the is_url_safe method to reject urls with ///
JS's URL constructor sticks to WHATWG's Url parsing for special schemes ref: https://url.spec.whatwg.org/#url-parsing Due to which a host like ///example.com is a valid url in JS and resolves to http(s)://example.com if the base url is a http(s) URL. The same thing happens with \. <!-- SPDX-License-Identifier...
diff --git a/airflow-core/src/airflow/api_fastapi/core_api/security.py b/airflow-core/src/airflow/api_fastapi/core_api/security.py index 774cfa9ed6a74..941a4c418f5c9 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/security.py +++ b/airflow-core/src/airflow/api_fastapi/core_api/security.py @@ -779,6 +779,12 @...
2
1
1
[{"id": "G0", "claim": "The new is_safe_url behavior (rejecting ///, \\ and encoded variants) should have tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Any special-character prefix (e.g. '::some_netlock.com/prefix') still holds the same parser-i...
null
apache__airflow__65575
apache/airflow
65,575
defect
b529f1218d7f34172bbb7aa538c03d4ac64fb54f
6cd85adb30d611394f8260397ced4061f9136b28
Forward MySQL SSL params from sql_alchemy_conn to airflow db shell
## Summary `airflow db shell` silently drops `ssl_*` query params from `sql_alchemy_conn` when invoking the `mysql` CLI. On any MySQL backend configured for cert-based auth (`REQUIRE X509`, ProxySQL with cert passthrough, auth plugins that map cert SANs to MySQL users), the command fails with a misleading `Access de...
diff --git a/airflow-core/newsfragments/65575.bugfix.rst b/airflow-core/newsfragments/65575.bugfix.rst new file mode 100644 index 0000000000000..baab67eed9399 --- /dev/null +++ b/airflow-core/newsfragments/65575.bugfix.rst @@ -0,0 +1 @@ +Forward MySQL SSL/TLS query parameters (``ssl_ca``, ``ssl_cert``, ``ssl_key``, ``s...
1
1
0
[{"id": "G0", "claim": "This pull request does not need a newsfragment, so the added airflow-core/newsfragments/65575.bugfix.rst should be dropped.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__airflow__65590
apache/airflow
65,590
defect
0a67541ba00f99950c25fc1831559a3dbf9d26ed
2ecbb75ab7624bd6a06548b4551c8b3a51a2c352
Add on_kill() hook to BaseTrigger to handle user actions on triggers
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Pl...
diff --git a/airflow-core/src/airflow/jobs/triggerer_job_runner.py b/airflow-core/src/airflow/jobs/triggerer_job_runner.py index 74b83a3851a7eb..c86d13bee55cac 100644 --- a/airflow-core/src/airflow/jobs/triggerer_job_runner.py +++ b/airflow-core/src/airflow/jobs/triggerer_job_runner.py @@ -1331,14 +1331,30 @@ async def...
10
9
4
[{"id": "G0", "claim": "The name `safe_to_cancel` is ambiguous about which kind of cancel it means, so it should be renamed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Determining user action by querying task state via the Execution API makes an extr...
null
apache__airflow__65594
apache/airflow
65,594
defect
e36d10a5196d100adb3829219dc91be72d6a7fc9
2fbba3e5abe5551f340f8948f760552591edb79b
Pre-assign Celery task ID at queuing time to prevent duplicate execution on scheduler crash
When a scheduler crashes between dispatching a task to Celery and processing the QUEUED event that persists `external_executor_id`, the replacement scheduler cannot adopt the in-flight task. Without the Celery task ID in the database, `try_adopt_task_instances` has no `AsyncResult` to look up, so the task is reset and ...
diff --git a/airflow-core/src/airflow/executors/workloads/task.py b/airflow-core/src/airflow/executors/workloads/task.py index 3a95aab8310612..d05affe4330965 100644 --- a/airflow-core/src/airflow/executors/workloads/task.py +++ b/airflow-core/src/airflow/executors/workloads/task.py @@ -48,6 +48,7 @@ class TaskInstanceD...
2
2
1
[{"id": "G0", "claim": "The pre-assignment runs after make_transient() so the new external_executor_id exists only on the detached object while the DB row stays NULL until the executor QUEUED event is processed, leaving a scheduler crash after apply_async() with an unadoptable task; the ID must be generated while the T...
null
apache__airflow__65628
apache/airflow
65,628
defect
25f07dce44b620b97757d00a24c4d2e36bf1a5a2
c1f5e03499f148e2366b69ffc0909be5f662057d
Fix dag run clear existing tasks
Clearing a Dag run with "Only existing tasks" or "Only failed tasks" was not working in the UI because the dry_run request to the api_server was erroring out with serialization failures. Also fixed an issue where the dry run for "Only new tasks" could return a result to clear even if the task already existed. Bef...
diff --git a/airflow-core/src/airflow/api_fastapi/core_api/routes/public/dag_run.py b/airflow-core/src/airflow/api_fastapi/core_api/routes/public/dag_run.py index 575e6ae6502d3..b1f86aed1e863 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/routes/public/dag_run.py +++ b/airflow-core/src/airflow/api_fastapi/c...
2
2
2
[{"id": "G0", "claim": "Existing tests that patch SerializedDAG.clear for only_new dry-runs and assert the mock was called will now fail, so they should be updated or removed to assert the new DB-based behavior.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
apache__airflow__65692
apache/airflow
65,692
defect
b90710803a45d015a221b6045295d0dc9ddb964f
933d5676f96dba4d202c1e5938ca42f564fe01f1
Add multi-team lookup to Azure Key Vault backend
Adds multi-team lookup support to `AzureKeyVaultBackend`. Updates: - look up team-scoped secrets first when `team_name` is provided - fall back to the global secret when no team-scoped secret exists - avoid resolving team-scoped identifiers as global secrets when `team_name` is not provided - document the Azure ...
diff --git a/providers/microsoft/azure/docs/secrets-backends/azure-key-vault.rst b/providers/microsoft/azure/docs/secrets-backends/azure-key-vault.rst index 942d6d806f9e0..4a2ead30bef0a 100644 --- a/providers/microsoft/azure/docs/secrets-backends/azure-key-vault.rst +++ b/providers/microsoft/azure/docs/secrets-backends...
1
1
1
[{"id": "G0", "claim": "With the single-dash team naming, a conn_id like `marketing-secret` is looked up as secret `secret` in team `marketing` even when the caller does not belong to that team, and the reviewer advises adding a dedicated separator (double dash `--`) between the team name and the secret id and detectin...
null
apache__airflow__65694
apache/airflow
65,694
defect
b90710803a45d015a221b6045295d0dc9ddb964f
95a613a19b3cd80063f486357251e221a13cb851
Add multi-team lookup to Kubernetes secrets backend
Adds multi-team lookup support to `KubernetesSecretsBackend`. Updates: - add `team_label` support for discovering team-scoped secrets - look up team-scoped secrets first when `team_name` is provided - fall back to unlabeled global secrets when no team-scoped secret exists - avoid resolving team-scoped identifier...
diff --git a/providers/cncf/kubernetes/docs/secrets-backends/kubernetes-secrets-backend.rst b/providers/cncf/kubernetes/docs/secrets-backends/kubernetes-secrets-backend.rst index 4f68de3128dc2..9ee9b123dcaf5 100644 --- a/providers/cncf/kubernetes/docs/secrets-backends/kubernetes-secrets-backend.rst +++ b/providers/cncf...
5
5
3
[{"id": "G0", "claim": "Update the `connections_label`, `variables_label` and `config_label` annotations to `str | None` (keeping `team_label` as `str | None`) so the type hints match the actually supported configuration where these labels can be null to skip lookups.", "category": "correctness", "verdict": "supported"...
null
apache__airflow__65695
apache/airflow
65,695
defect
b90710803a45d015a221b6045295d0dc9ddb964f
ddb17b6f83362f9e4730ab87bb861e81a44f668a
Add multi-team lookup to Lockbox backend
Adds multi-team lookup support to `LockboxSecretBackend`. Updates: - look up team-scoped secrets first when `team_name` is provided - fall back to the global secret when no team-scoped secret exists - avoid resolving team-scoped identifiers as global secrets when `team_name` is not provided - document the Lockbo...
diff --git a/providers/yandex/docs/secrets-backends/yandex-cloud-lockbox-secret-backend.rst b/providers/yandex/docs/secrets-backends/yandex-cloud-lockbox-secret-backend.rst index f0baea493f1ac..b3c69ed048fca 100644 --- a/providers/yandex/docs/secrets-backends/yandex-cloud-lockbox-secret-backend.rst +++ b/providers/yand...
2
2
2
[{"id": "G0", "claim": "The team-scoped secret names documented with a single separator (e.g. airflow/connections/team_a/my_db) are ambiguous, so a team-scoped secret can be resolved as a global secret; the naming scheme should be changed (as raised in PR #65692) so team-scoped names are unambiguous.", "category": "cor...
null
apache__ambari__221
apache/ambari
221
defect
8b5cf83842f2f1297795b2ec2aa9e834b5d5ef0b
9274e17124e6cf97a21f252e9fb8c456e395daf3
[AMBARI-22871] Move Stack OS and Repository to DB (dlysnichenko)
## What changes were proposed in this pull request? This jira is to address technical debt. Move from storing OS and Repository data as embedded json and make them proper tables/entities instead. ## How was this patch tested? What works: Cluster installation passes Tests pass What does not work: Upgrade cata...
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapper.java b/ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapper.java index 191e86cca60..ad6d72b881c 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/actionmanager/Ex...
7
6
2
[{"id": "G0", "claim": "The tag list should be mapped with a CollectionTable (ElementCollection) on RepoDefinitionEntity rather than a whole new RepoTagEntity entity.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new DDL tables' surrogate key column...
null
apache__ambari__2589
apache/ambari
2,589
defect
5a1162d3ddcfd05a58edca93437040ee1e858c22
e44f753ef2ff34d2df86fbcc07642962c809694f
AMBARI-24871. Create an Ambari-server class that is called as an entr…
…y point to encrypt service configuration sensitive data (dlysnichenko) ## What changes were proposed in this pull request? Create a java class that is called as an entry point to encrypt service configuration sensitive data. This script will be called from a python script just like it is done for pre-checks, or ...
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/AESEncryptionService.java b/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/AESEncryptionService.java index 25b3fc7866b..4e8d995caa9 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/security/e...
9
9
2
[{"id": "G0", "claim": "The saved master key file is removed after its first read in MasterKeyServiceImpl#readMasterKey (line 288), so this flow seems to be broken.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "AESEncryptionService should use an ...
null
apache__ambari__2642
apache/ambari
2,642
defect
ae3d9aa3abfa589a568a77e4c7cf0c7656bdfc65
8835f8a85a27ed2c158e71dddca0511859c4009e
AMBARI-24936. Validate cluster name character and length requirements…
… in the backend before creating or updating a cluster (dlysnichenko) ## What changes were proposed in this pull request? Validate cluster name character and length requirements in the backend before creating or updating a cluster. Character Requirements A through Z a through z 0 through 9 _ (underscore) ...
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java index 9b5f74b089d..4d55bc85f79 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/controll...
1
1
0
[{"id": "G0", "claim": "Rather than recompiling the cluster name regex on every validateClusterName call, compile it once into a static final property.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__ambari__2643
apache/ambari
2,643
defect
ae3d9aa3abfa589a568a77e4c7cf0c7656bdfc65
4732903568cdafd97d7b56b05cbb844bf9dc9fcf
AMBARI-24936. Fix suspicious code spotted while working on AMBARI-24936
## What changes were proposed in this pull request? Looked through critical warnings of static code analyzer and fixed some obvious issues ## How was this patch tested? unit tests
diff --git a/ambari-funtest/src/test/java/org/apache/ambari/funtest/server/AmbariHttpWebRequest.java b/ambari-funtest/src/test/java/org/apache/ambari/funtest/server/AmbariHttpWebRequest.java index ce87478a0f5..ce216d77941 100644 --- a/ambari-funtest/src/test/java/org/apache/ambari/funtest/server/AmbariHttpWebRequest.ja...
3
1
1
[{"id": "G0", "claim": "The corresponding unit test should get a third column so that a typo like the fixed one (requestedColumnNames[1] instead of [i]) would be caught.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "resourceIds may possibly be empty, i...
null
apache__ambari__2688
apache/ambari
2,688
defect
958db3ff83b5d7622a5fc632e8ae888c3324f479
80de3a33afe433856e667007827e45dc5031907b
AMBARI-24996. Hostname update command does not work if the new hostna…
…mes contain the old hostnames also (dlysnichenko) ## What changes were proposed in this pull request? In AMBARI-24840, we made a fix so that the uppercase hostnames are taken care of. Another issue related to hostnames change is about duplicate hostnames. If the hostnames file contains the pre-existing hostna...
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/update/HostUpdateHelper.java b/ambari-server/src/main/java/org/apache/ambari/server/update/HostUpdateHelper.java index 2b7129b0d38..e93f903628c 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/update/HostUpdateHelper.java +++ b/ambari-se...
1
1
1
[{"id": "G0", "claim": "Catching Throwable and converting it to an exception also catches Errors like OutOfMemoryError, which should not be handled this way.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__ambari__2885
apache/ambari
2,885
defect
79177a763d3f5798fc709fd466a16aa134dddeea
06f918ffdc11eb54ecdacf41b739450feec8327b
[AMBARI-23057] Upgrade fails because of Stale alert definitions (apappu)
## What changes were proposed in this pull request? Have added DB consistency check to remove those stale alert definitions before even Upgrade started. (Please fill in changes proposed in this fix) (Please fill in changes proposed in this fix) ## How was this patch tested? 1. Have tested in live ambari se...
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelper.java b/ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelper.java index 375bcd96eb5..47cebc14d6d 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseC...
3
3
2
[{"id": "G0", "claim": "The long single-line SQL string literal assigned to STALE_ALERT_DEFINITIONS should be split onto multiple lines.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The check should also add an autofix that deletes the stale a...
null
apache__ambari__3013
apache/ambari
3,013
defect
28b6ea164c2770fd6126671731b68d3c612fa187
7088975edacdaaf43bc137347f5cda87ed2ebe89
[AMBARI-25208] : Enable/Disable HBase Cross Cluster Replication (with common-service changes for branch-2.7)
## What changes were proposed in this pull request? Ambari to provide Enable/Disable functionality for setting up HBase cross cluster replication. As part of this PR, we can provide peer replication info and that can be added to current cluster and hence, replication can be setup. Once it is done, we can go ahead and ...
diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml index 463ae318a07..1a98892d323 100644 --- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml +++ b/ambari-server/src/...
3
3
1
[{"id": "G0", "claim": "Remove the unnecessary empty lines in the new custom-command tests in BackgroundCustomCommandExecutionTest.java.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The primary button of the enable and disable replication dial...
null
apache__ambari__3087
apache/ambari
3,087
defect
16a1ca4363e4237a087172b0bf52c00269c5ba18
d000591232688e9aeafcfb5dbdc620d03b564c91
AMBARI-25386. dfs_ha_initial_* properties should be removed during upgrade.
## What changes were proposed in this pull request? I added pre-upgrade check for removing dfs_ha_initial_* properties from blueprint configurations if they exist. ## How was this patch tested? Manual testing.
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/SchemaUpgradeHelper.java b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/SchemaUpgradeHelper.java index 4fa8030af5d..29fbdc2adb6 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/SchemaUpgradeHelper.java +++...
1
1
0
[{"id": "G0", "claim": "Move getSourceVersion() below getTargetVersion() in UpgradeCatalog275 so that the source and target version definitions are located near each other.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__ambari__3110
apache/ambari
3,110
defect
447b5e3349fa0615d242b8c4a2103163717e8678
b1ef1dd6f9635901b4e77dff6ad13e094286e226
AMBARI-25402 Please provide jvm metrics for kafka components in Ambari (santal)
## What changes were proposed in this pull request? Currently kakfa jvm metrics are not collected. Implemented to provide the missing jvm metrics via kafka-sink. ## How was this patch tested? The patch was tested manually by creating jvm metric widges for the kafka service. ![kafka-jvm-metrics](https://...
diff --git a/ambari-metrics/ambari-metrics-kafka-sink/src/main/java/org/apache/hadoop/metrics2/sink/kafka/JvmMetricSet.java b/ambari-metrics/ambari-metrics-kafka-sink/src/main/java/org/apache/hadoop/metrics2/sink/kafka/JvmMetricSet.java new file mode 100644 index 00000000000..bacb619a094 --- /dev/null +++ b/ambari-metr...
1
1
0
[{"id": "G0", "claim": "The large switch in getThreadMetricNameByState should be replaced with state.name().toLowerCase() (e.g. String.format(\"thread-states.%s\", state.name().toLowerCase())) plus a @Nonnull annotation on the state argument.", "category": "maintainability", "verdict": "supported", "priority": "P2", "s...
null
apache__ambari__3229
apache/ambari
3,229
defect
7ead9258e0b7dfe69f8ac862405aa85ad8aa162d
d818fe4ae2825eed6499df70a8d6a04dde021882
AMBARI-25552 Improve stack-trace disablement on HTTP 500 error response from the server (santal)
## What changes were proposed in this pull request? AMBARI-25353 disabling any stack trace output from API HTTP 500 response. The problem is that such response in most cases are no logged to the log file and later on production it would create a problem for customer to report the issue or for developer to investigat...
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/api/AmbariErrorHandler.java b/ambari-server/src/main/java/org/apache/ambari/server/api/AmbariErrorHandler.java index 9f69c60c739..b1bd658ea6f 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/api/AmbariErrorHandler.java +++ b/ambari-serve...
1
1
0
[{"id": "G0", "claim": "The implementation in `handle` duplicates the code in `doError`; extract the common code into a method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__ambari__355
apache/ambari
355
defect
73f016b18e2614ff782918e4329c633f0be0c0cd
16bbca3784b6a40d0c2b26083882fa2bed970972
[Ambari-22986] branch 2.6 - Not able to add Livy2 after doing rolling upgrade to M21
## What changes were proposed in this pull request? Fix the issue that the desired version of a cluster is not updated (only during cross-stack rolling upgrade). ## How was this patch tested? Running maven tests Checked RU/EU and Ambari upgrade
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java index 14e311e1c18..f2a82b646a3 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/cont...
4
3
2
[{"id": "G0", "claim": "In the downgrade branch of UpgradeResourceProvider, the code should reuse the StackId it already has instead of constructing a new one from its name and version.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The change t...
null
apache__ambari__3776
apache/ambari
3,776
defect
541953e53111ad4068d2a9a4bb9b2a5dd890c2af
0fd2da6a37e959d331c1b3a50ec06c32d4f34387
AMBARI-26061 : Add password validation criteria for ambari local users
## What changes were proposed in this pull request? Add password validation criteria for ambari local users 1. Password should not contain the user name 2. Password should not be same as previous n passwords ## How was this patch tested? 1. Installed Ambari 2. Validated the password updation for admin use...
diff --git a/ambari-server/docs/configuration/index.md b/ambari-server/docs/configuration/index.md index 4229a3db772..a6fb56a9e20 100644 --- a/ambari-server/docs/configuration/index.md +++ b/ambari-server/docs/configuration/index.md @@ -168,6 +168,7 @@ The following are the properties which can be used to configure Amb...
3
3
2
[{"id": "G0", "claim": "PASSWORD_POLICY_HISTORY_COUNT must be validated as a number within a bounded range (e.g. 1 to 10), because if no maximum retention length is enforced, retaining too many historical passwords may adversely affect program performance.", "category": "correctness", "verdict": "supported", "priority"...
null
apache__answer__1070
apache/answer
1,070
defect
5383b9058101974b666332388ed4f658b5f712d5
ec5c671637fe9f1816ebb7ca8930332cb1754d54
feat(recommend): add tag-based recommendations in question page
Propose adding recommended questions to resolve issue #1003 . Recommended questions include: 1. User-followed questions; 2. Tag-specific questions: Questions with user-followed tags but have not participated in (either by asking or answering).
diff --git a/cmd/wire_gen.go b/cmd/wire_gen.go index 4928a122b..31e6d94e1 100644 --- a/cmd/wire_gen.go +++ b/cmd/wire_gen.go @@ -189,12 +189,13 @@ func initApplication(debug bool, serverConf *conf.Server, dbConf *data.Database, rateLimitMiddleware := middleware.NewRateLimitMiddleware(limitRepo) commentController :=...
5
5
5
[{"id": "G0", "claim": "Do not upgrade the version of golang: revert the go.mod/go.sum `go` directive bump from 1.18 to 1.22.3.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Deleted and unlisted questions should not appear in the tag-based recommended l...
null
apache__answer__1453
apache/answer
1,453
defect
740ac61bb228ec48bf3d15231e4ec6ccc30a8bfc
7e954e568e6317acf911e713d78d02f5a54b009f
refactor: improve queues
* fix race condition for registering handler * add close method * use generics to reduce duplication * rename packages to drop underscore for go convention * rename interface to drop stutter with package name
diff --git a/cmd/wire_gen.go b/cmd/wire_gen.go index aae1c6af6..22a70f29d 100644 --- a/cmd/wire_gen.go +++ b/cmd/wire_gen.go @@ -72,7 +72,7 @@ import ( "github.com/apache/answer/internal/service/action" activity2 "github.com/apache/answer/internal/service/activity" activity_common2 "github.com/apache/answer/inter...
2
2
2
[{"id": "G0", "claim": "In Queue.Send the closed flag is read and the lock released before sending, so if the queue is closed in between, sending may panic with a 'send on closed channel' error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The act...
null
apache__answer__918
apache/answer
918
defect
530065d2dbf8e15abb81ed85c17021a9986c9436
3b5c5c4893b31aace0471c3338944778f91b4fdd
Fix 909 Update initial data
fixes https://github.com/apache/incubator-answer/issues/909
diff --git a/internal/migrations/init.go b/internal/migrations/init.go index 8448bfc4e..1ede0dadb 100644 --- a/internal/migrations/init.go +++ b/internal/migrations/init.go @@ -23,6 +23,10 @@ import ( "context" "encoding/json" "fmt" + "time" + + "github.com/apache/incubator-answer/internal/base/data" + "github.co...
5
5
3
[{"id": "G0", "claim": "The tag_rel repo tests fail because their hard-coded object/tag IDs clash with IDs present in the new initial data; the author says he will fix it soon by changing those hard-coded IDs.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "c...
null
apache__apisix-go-plugin-runner__63
apache/apisix-go-plugin-runner
63
defect
6bb1c4bd98ec374638af7ed02931e0efb2604044
83acf28ebb1b55480d9de6c94c45ef1eaa110fbf
feature: try to introduce context to plugin runner
Resolves [issues 34](https://github.com/apache/apisix-go-plugin-runner/issues/34)
diff --git a/go.sum b/go.sum index f58ccbe..8d14512 100644 --- a/go.sum +++ b/go.sum @@ -20,12 +20,6 @@ github.com/ReneKroon/ttlcache/v2 v2.4.0/go.mod h1:zbo6Pv/28e21Z8CzzqgYRArQYGYtjO github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/a...
5
5
3
[{"id": "G0", "claim": "Third-party imports should be separated from standard-library imports in import blocks (request.go and plugin.go).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A comment should explain why the timeout value 56 is chosen...
null
apache__arrow-js__379
apache/arrow-js
379
defect
b645e0991804714c6f2682c5747a7472f2a23b15
e8f25b6adadc7beec726525cdc35a4074fd53064
fix: interval MonthDayNano precision loss when reading JSON-encoded int64s
## Summary This PR fixes precision handling for `IntervalMonthDayNano` nanoseconds when reading JSON, and aligns the tests with the actual behavior across build targets. ## Changes - Switched JSON parsing in `src/util/json.ts` from `json-bignum` to `json-with-bigint` with native `BigInt` output. - Removed pos...
diff --git a/bin/integration.ts b/bin/integration.ts index ee5182f3..d1ba87c9 100755 --- a/bin/integration.ts +++ b/bin/integration.ts @@ -22,8 +22,7 @@ import * as Path from 'node:path'; import { glob } from 'glob'; import { zip } from 'ix/iterable/zip'; import commandLineArgs from 'command-line-args'; -// @ts-igno...
6
5
3
[{"id": "G0", "claim": "Add a comment to parseArrowJSON/normalizeUnsafeIntegers explaining the rationale, as done in the PR description.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "json-bignum mishandles large unsafe integers (e.g. 100000000000...
null
apache__arrow-rs-object-store__329
apache/arrow-rs-object-store
329
defect
2c7b6d9fc465dfe6b56b01afe542945274dcf776
0b283a8f975826d42994ffc36b487080d53953d8
Support `object_store` with wasm: Default wasm32-unknown-unknown HttpConnector
# Which issue does this PR close? - Closes https://github.com/apache/arrow-rs/issues/7227. # What changes are included in this PR? Target-gated wasm32-unknown-unknown reqwest-based HttpConnector (with explicit handling surrounding non-Send, non-Sync futures). # Are there any user-facing changes? wasm32...
diff --git a/Cargo.toml b/Cargo.toml index e3aa72f2..18cc429f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,6 +64,10 @@ tokio = { version = "1.29.0", features = ["sync", "macros", "rt", "time", "io-ut [target.'cfg(target_family="unix")'.dev-dependencies] nix = { version = "0.29.0", features = ["fs"] } +[target.'c...
4
4
2
[{"id": "G0", "claim": "The PutPayload branch of into_reqwest could use `Bytes::from(payload).into()` instead of `Into::<Bytes>::into(payload).into()`, which might read slightly easier.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new wasm...
null
apache__arrow-rs__1339
apache/arrow-rs
1,339
defect
f4c7102a670f30d6d43193a5177f03a4789f2576
427fa0818cf2396ab78df454de290dcafe73efbd
Implement projection for arrow `IPC Reader` file / streams
# Which issue does this PR close? <!--- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> ...
diff --git a/arrow-flight/src/utils.rs b/arrow-flight/src/utils.rs index 9232acc2aefb..fd5f4dc9e366 100644 --- a/arrow-flight/src/utils.rs +++ b/arrow-flight/src/utils.rs @@ -69,6 +69,7 @@ pub fn flight_data_to_arrow_batch( batch, schema, dictionaries_by_field, + ...
4
3
1
[{"id": "G0", "claim": "Indexing schema.fields with a projection value that is out of bounds would panic, so extra checks or error handling on the projection values are needed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The doc comments on the n...
null
apache__arrow-rs__5717
apache/arrow-rs
5,717
defect
a126d5097b71273428fba68d1c430f3d4beee684
7caee7c7a10f6b87c1de48492dfbcc6b34482933
feat: support reading OPTIONAL column in parquet_derive
# Which issue does this PR close? Closes #5716. # Rationale for this change See details in the issue. # What changes are included in this PR? Add definition level in macro code. ```rust typed.read_records(num_records, None /*should use a Some(&mut Vec<i16>)*/, None, &mut vals)?; ``` # Are there an...
diff --git a/parquet_derive/src/parquet_field.rs b/parquet_derive/src/parquet_field.rs index 9fff76c42d1d..ee1fa49ddaa2 100644 --- a/parquet_derive/src/parquet_field.rs +++ b/parquet_derive/src/parquet_field.rs @@ -248,7 +248,13 @@ impl Field { let write_batch_expr = quote! { let mut vals = Vec::n...
1
1
0
[{"id": "G0", "claim": "Update the `/// `Option` types and references not supported` documentation above the changed code to reflect the new support for optional columns with all non-null values.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__arrow-rs__6001
apache/arrow-rs
6,001
defect
1f0b00095881f24ef2777497e4b8604a3acfabd2
f980493ce1ca54e6e8dd77b7a47fe9fe0ed6e7aa
Rename `Schema::all_fields` to `flattened_fields`
# Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> ...
diff --git a/arrow-flight/tests/flight_sql_client_cli.rs b/arrow-flight/tests/flight_sql_client_cli.rs index 50a4ec0d8c66..317eb3900456 100644 --- a/arrow-flight/tests/flight_sql_client_cli.rs +++ b/arrow-flight/tests/flight_sql_client_cli.rs @@ -568,7 +568,7 @@ impl FlightSqlService for FlightSqlServiceImpl { ...
2
2
0
[{"id": "G0", "claim": "Add a doc example (a doctest) to `Schema::flattened_fields` so the documentation makes clear what the method returns.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The deprecation attribute should say `since = \"52.2.0\"` ...
null
apache__arrow-rs__6026
apache/arrow-rs
6,026
defect
8355823f74c3b2e1cd86118f8da8bc0305cd4b68
848243f5c5835a8ca06a4b90ed71d909ea4b863b
Add begin/end_transaction methods in FlightSqlServiceClient
# Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> ...
diff --git a/arrow-flight/src/sql/client.rs b/arrow-flight/src/sql/client.rs index df5c1767689a..91790898b1cb 100644 --- a/arrow-flight/src/sql/client.rs +++ b/arrow-flight/src/sql/client.rs @@ -28,15 +28,19 @@ use crate::decode::FlightRecordBatchStream; use crate::encode::FlightDataEncoderBuilder; use crate::error::...
1
1
1
[{"id": "G0", "claim": "Basic integration tests showing data flowing from the FlightSqlServiceClient to the server should be added for the new begin/end transaction methods.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__arrow-rs__6201
apache/arrow-rs
6,201
defect
a235b9b2950b7f93e0c4ff47cdfa25d4d0160a13
b48a06047f67e570f4ac3c39f08271756d58c7e0
Expose bulk ingest in flight sql client and server
# Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> ...
diff --git a/arrow-flight/examples/flight_sql_server.rs b/arrow-flight/examples/flight_sql_server.rs index d5168debc433..81afecf85625 100644 --- a/arrow-flight/examples/flight_sql_server.rs +++ b/arrow-flight/examples/flight_sql_server.rs @@ -46,9 +46,9 @@ use arrow_flight::sql::{ ActionEndTransactionRequest, Any,...
2
2
2
[{"id": "G0", "claim": "execute_ingest should accept a stream of RecordBatches like do_put instead of taking a Vec<RecordBatch>, which forces the client to buffer the entire dataset in memory and is inconsistent with the crate's other data-sending APIs.", "category": "design", "verdict": "supported", "priority": "P1", ...
null
apache__arrow-rs__6269
apache/arrow-rs
6,269
defect
27789d7c9abb50796a4042e7e193703efe3c95b3
950f1539470ed65d441d1ff9ba52f8a1f28f6150
parquet_derive: Match fields by name, support reading selected fields rather than all
# Which issue does this PR close? Closes #6268 . # Rationale for this change See details in the issue description. # What changes are included in this PR? Support reading selected fields from a parquet file. # Are there any user-facing changes? No API changes, but document needs to be updated: >...
diff --git a/parquet_derive/src/lib.rs b/parquet_derive/src/lib.rs index 16b6a6699e2d..95e4e8e8db6a 100644 --- a/parquet_derive/src/lib.rs +++ b/parquet_derive/src/lib.rs @@ -189,7 +189,6 @@ pub fn parquet_record_reader(input: proc_macro::TokenStream) -> proc_macro::Toke let field_names: Vec<_> = fields.iter().map...
2
2
1
[{"id": "G0", "claim": "The test struct should have kept its original name APartiallyOptionalRecord (and the reviewer questions the renamed fields, whose original names were more specific).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parq...
null
apache__arrow-rs__6290
apache/arrow-rs
6,290
defect
2795b94119dcce47afa71526625b229745300695
52bdce43ae816de32cdc7f257ad8a1a563a5c9a5
Parquet: Verify 32-bit CRC checksum when decoding pages
Closes #6289 Please let me know if we should expose this in the reader APIs instead of a crate feature
diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml index b97b2a571646..9a27ef4fcd83 100644 --- a/parquet/Cargo.toml +++ b/parquet/Cargo.toml @@ -96,7 +96,7 @@ zstd-sys = { version = ">=2.0.0, <2.0.14", default-features = false } all-features = true [features] -default = ["arrow", "snap", "brotli", "flate2", "lz4"...
6
5
4
[{"id": "G0", "claim": "The crc feature should not be enabled in the crate's default features.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Adding a Crc32Mismatch variant to the public ParquetError enum would be a breaking change; an existing variant s...
null
apache__arrow-rs__6295
apache/arrow-rs
6,295
defect
2795b94119dcce47afa71526625b229745300695
ed47787320296078c3a2e93a4458196d4f6ec99c
Err on `try_from_le_slice`
# Which issue does this PR close? fix #3577 # Rationale for this change Our parquet reader is panicing when hitting metadata that is either invalid or unexpected # What changes are included in this PR? Remove interval `from_le_slice` method, use `T::try_from_le_slice` instead. # Are there any user-fa...
diff --git a/parquet/src/encodings/rle.rs b/parquet/src/encodings/rle.rs index 581f14b3c99a..97a122941f17 100644 --- a/parquet/src/encodings/rle.rs +++ b/parquet/src/encodings/rle.rs @@ -20,7 +20,6 @@ use std::{cmp, mem::size_of}; use bytes::Bytes; use crate::errors::{ParquetError, Result}; -use crate::util::bit_ut...
4
1
1
[{"id": "G0", "claim": "Int96::from_le_bytes is the one place outside tests that still unwraps T::try_from_le_slice, and the author asks whether that is okay given the trait is marked unsafe.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The author...
null
apache__arrow-rs__6332
apache/arrow-rs
6,332
defect
2461a16c19ee5032531b1c05dd7e7192bc842e0f
f3457d21ed66444ef27785ee3bb8466875deb818
feat: add catalog/schema subcommands to flight_sql_client.
# Which issue does this PR close? Closes #6331 # Rationale for this change Adds the proposed solution from the issue. # What changes are included in this PR? # Are there any user-facing changes? Yes, the new subcommands on the CLI are documented, producing good help text within the CLI.
diff --git a/arrow-flight/src/bin/flight_sql_client.rs b/arrow-flight/src/bin/flight_sql_client.rs index 296efc1c308e..c334b95a9a96 100644 --- a/arrow-flight/src/bin/flight_sql_client.rs +++ b/arrow-flight/src/bin/flight_sql_client.rs @@ -20,7 +20,10 @@ use std::{sync::Arc, time::Duration}; use anyhow::{bail, Context,...
2
2
1
[{"id": "G0", "claim": "Tests are missing for the new catalog/schema (and tables/table-types) CLI commands and should be added following the existing pattern in arrow-flight/tests/flight_sql_client_cli.rs, though a simple smoke test suffices.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "...
null
apache__arrow-rs__6368
apache/arrow-rs
6,368
defect
0491294828a6480959ba3983355b415abbaf1174
1aa066ee038e41b8b1cef99774ac40f6d71860e6
Support StringViewArray interop with python: fix lingering C Data Interface issues for *ViewArray
# Which issue does this PR close? Closes #6366 # Rationale for this change Previously, StringViewArrays and BinaryViewArrays sent to PyArrow will panic. If you use the updated `test_to_pyarrow()` from this PR without the additional changes, it will fail. # What changes are included in this PR? The sp...
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 1937fafe3a62..41edc1bb194e 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -48,7 +48,6 @@ on: - arrow/** jobs: - integration: name: Archery test With other arrows run...
4
4
4
[{"id": "G0", "claim": "Please add a unit test for the variadic buffers() code, similar to round_trip_string_array, that round trips a StringViewArray in each of three cases: no variadic buffers, one variadic buffer, and two variadic buffers.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "...
null
apache__arrow-rs__7492
apache/arrow-rs
7,492
defect
2d8e0845ca1ed020086dc299bec8e1fa91ef7345
131e0baac9340b97b90b29ff5e32e7951b4b094d
Prevent FlightSQL server panics for `do_put` when stream is empty or 1st stream element is an Err
# Which issue does this PR close? Closes #7329 . # Rationale for this change When executing a `do_put` call, there are currently 2 cases that will cause the FlightSQL server to panic: - the request stream is empty - the first element of the request stream is an Err This change stops the FlightSQL server from...
diff --git a/arrow-flight/src/sql/server.rs b/arrow-flight/src/sql/server.rs index 8ab8a16dbb50..9251462b0d4e 100644 --- a/arrow-flight/src/sql/server.rs +++ b/arrow-flight/src/sql/server.rs @@ -710,10 +710,21 @@ where // we wrap this stream in a `Peekable` one, which allows us to peek at // the first...
3
3
2
[{"id": "G0", "claim": "When the client sends no command (empty stream), the server should not return an Ok response with 0 records affected but should invoke `do_put_fallback` (erroring by default, user-overridable) so the mistake is not masked.", "category": "design", "verdict": "supported", "priority": "P1", "scope"...
null
apache__arrow-rs__7574
apache/arrow-rs
7,574
defect
71b4b0ff66267b500de93cecd9434407015121c0
0623f2a9fb1cc75065e655d7f777a364f889e2c3
feat: add `row_group_is_[max/min]_value_exact` to StatisticsConverter
# Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> ...
diff --git a/parquet/src/arrow/arrow_reader/statistics.rs b/parquet/src/arrow/arrow_reader/statistics.rs index 09f8ec7cc274..769a3aece9ca 100644 --- a/parquet/src/arrow/arrow_reader/statistics.rs +++ b/parquet/src/arrow/arrow_reader/statistics.rs @@ -1403,6 +1403,48 @@ impl<'a> StatisticsConverter<'a> { max_st...
4
3
0
[{"id": "G0", "claim": "The doc comment on `row_group_is_max_value_exact` should link to `row_group_maxes` instead of `row_group_mins`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The truncated-statistics test should also cover row groups that ...
null
apache__arrow-rs__7653
apache/arrow-rs
7,653
defect
e32f545c75923a17cf5ab91d0040a72fbdc771a2
fecca4edead0b222ce3a1403d42dcf05400f5f72
Initial Builder API for Creating Variant Values
# Which issue does this PR close? - Closes #7424 - Part of https://github.com/apache/arrow-rs/issues/6736 # Rationale for this change This PR introduces a basic builder API for creating Variant values, building on the foundation laid by @mkarbo. The builder provides a user-friendly nested API while maintainin...
diff --git a/parquet-variant/src/builder.rs b/parquet-variant/src/builder.rs new file mode 100644 index 000000000000..eafa38d32010 --- /dev/null +++ b/parquet-variant/src/builder.rs @@ -0,0 +1,424 @@ +use crate::decoder::{VariantBasicType, VariantPrimitiveType}; +use crate::Variant; +use std::collections::HashMap; + +c...
13
10
2
[{"id": "G0", "claim": "The header-building helper functions (primitive_header, short_string_header, object_header) do not need to be `pub` - they are an implementation detail of the module.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Ideally...
null
apache__arrow-rs__7687
apache/arrow-rs
7,687
defect
639b5bb93e5a152a437b93a25ead8095a3866a9b
325d3354c962b0cea0e5c67e4d6a83bad90fa013
GH-7686: [Parquet] Fix int96 min/max stats
# Which issue does this PR close? - Closes #7686 # Rationale for this change int96 min/max statistics emitted by arrow-rs are incorrect. # What changes are included in this PR? 1. Fix the int96 stats 2. Add round-trip test to verify the behavior # Not included in this PR: 1. Read stats only from kn...
diff --git a/parquet/src/data_type.rs b/parquet/src/data_type.rs index 79ecbea45ebe..6b2098edd40a 100644 --- a/parquet/src/data_type.rs +++ b/parquet/src/data_type.rs @@ -33,7 +33,7 @@ use crate::util::bit_util::FromBytes; /// Rust representation for logical type INT96, value is backed by an array of `u32`. /// The...
6
4
1
[{"id": "G0", "claim": "Int96 should store days (i32) and nanos (i64) instead of [u32; 3] so that the rest of the code becomes a lot simpler.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Changing Int96's internal representation to days/nanos may change i...
null
apache__arrow-rs__7783
apache/arrow-rs
7,783
defect
10d9714ff04eb3ef329e2e7a6f7edae16aa4f8ae
339e880151bf2abdd3a1658a2a2b02fbc8a83f84
[VARIANT] Add support for the json_to_variant API
# Which issue does this PR close? - Closes #7425. # Rationale for this change Explained in the issue. # What changes are included in this PR? This PR includes a `json_to_variant` API to parse JSON strings as Variants. `json_to_variant` takes as argument the input JSON string and an object `builder` of ty...
diff --git a/parquet-variant/Cargo.toml b/parquet-variant/Cargo.toml index 51cec81b2ab6..189da1cfc4c3 100644 --- a/parquet-variant/Cargo.toml +++ b/parquet-variant/Cargo.toml @@ -35,7 +35,10 @@ rust-version = "1.83" [dependencies] arrow-schema = { workspace = true } chrono = { workspace = true } -serde_json = "1.0" ...
23
18
4
[{"id": "G0", "claim": "Use the VariantDecimalXX::MAX_PRECISION and VariantDecimalXX::MAX_UNSCALED_VALUE constants made available by PR #7776 instead of the locally redefined MAX_UNSCALED_DECIMAL_4/8 constants in decoder.rs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
apache__arrow-rs__7841
apache/arrow-rs
7,841
defect
af8564f076109e79329063fc6c8fbb672e35c32e
a90ab6f857cea1d204888daf054846e5a801d9d3
Add decimal32 and decimal64 support to Parquet, JSON and CSV readers and writers
# Which issue does this PR close? - Finishes remaining work and closes #6661. # What changes are included in this PR? This change adds `decimal32` and `decimal64` support to Parquet, JSON and CSV readers and writers. It does not change the current default behavior of the Parquet reader which (in the absence of...
diff --git a/arrow-cast/src/cast/dictionary.rs b/arrow-cast/src/cast/dictionary.rs index eae2f2167b39..43a67a7d9a2d 100644 --- a/arrow-cast/src/cast/dictionary.rs +++ b/arrow-cast/src/cast/dictionary.rs @@ -214,6 +214,20 @@ pub(crate) fn cast_to_dictionary<K: ArrowDictionaryKeyType>( UInt16 => pack_numeric_to_...
3
3
0
[{"id": "G0", "claim": "Fix the misspelling of \"precision\" as \"precicion\" in the comment of the test_decimal32 test.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the misspelling of \"precision\" as \"precicion\" in the comment of the tes...
null
apache__arrow-rs__8029
apache/arrow-rs
8,029
defect
876585c1cd986dbaee0c26d52b55a4186a2f68c8
3d93a49a60459f7401303c7acd8fc53a7f48737f
Support multi-threaded writing of Parquet files with modular encryption
- Closes #7359. - related to https://github.com/apache/arrow-rs/issues/8115 # Rationale for this change This is to enable concurrent column writing with encryption downstream (e.g. with datafusion). See #7359 for more. See https://github.com/apache/arrow-rs/pull/7111/files#r2015196618 # What changes are incl...
diff --git a/parquet/src/arrow/arrow_writer/mod.rs b/parquet/src/arrow/arrow_writer/mod.rs index 25046273d065..213507441820 100644 --- a/parquet/src/arrow/arrow_writer/mod.rs +++ b/parquet/src/arrow/arrow_writer/mod.rs @@ -236,10 +236,12 @@ impl<W: Write + Send> ArrowWriter<W> { let max_row_group_size = prop...
7
7
5
[{"id": "G0", "claim": "get_column_writers should not ignore errors from self.flush(); propagate them with `?`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "append_to_row_groups should not ignore errors from row_group_writer.close(); propagate the...
null
apache__arrow-rs__8071
apache/arrow-rs
8,071
defect
c25c5a74c1c70cee57558e81a66a2e44725a67a6
2dc2dff6cbc8391d9db72ae9fe696cca3b63dcf1
create PageIndexPolicy to allow optional indexes
# Which issue does this PR close? - Closes #8070. # Rationale for this change This change introduces a more flexible way to handle page indexes (column and offset indexes) in Parquet files. Previously, the reading of these indexes was controlled by boolean flags, which indicated read required or do not read. T...
diff --git a/parquet/src/file/metadata/mod.rs b/parquet/src/file/metadata/mod.rs index 04129c6aa482..c33198809297 100644 --- a/parquet/src/file/metadata/mod.rs +++ b/parquet/src/file/metadata/mod.rs @@ -120,7 +120,7 @@ use crate::schema::types::{ }; #[cfg(feature = "encryption")] use crate::thrift::{TCompactSliceInp...
4
4
1
[{"id": "G0", "claim": "When a column chunk has no offset index under the non-Required policy, inserting an empty/invalid OffsetIndexMetaData (empty page_locations) leaves the page index in an ambiguous, potentially unusable state without telling the user; the reviewers prefer invalidating the entire page index (settin...
null
apache__arrow-rs__8190
apache/arrow-rs
8,190
defect
8e5ea148058e70d2751d49bb5116ce0a4af2b11a
ff42e5a86bce951c287794748b55fce7f74dad51
[thrift-remodel] Add custom `PageLocation` decoder to speed up decoding of page indexes
# Which issue does this PR close? **Note: this targets a feature branch, not main** We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. - Part of #5854. # Rationale...
diff --git a/parquet/src/file/page_index/offset_index.rs b/parquet/src/file/page_index/offset_index.rs index d4c196a3ae8b..791f61d37eae 100644 --- a/parquet/src/file/page_index/offset_index.rs +++ b/parquet/src/file/page_index/offset_index.rs @@ -25,7 +25,7 @@ use crate::{ thrift_struct, }; -thrift_struct!( +/*...
1
1
1
[{"id": "G0", "claim": "When the hand-coded fast path meets a field it cannot handle (e.g. an out-of-order field), it should discard the work so far and fall back to the more general, slower decoder that handles it correctly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__arrow-rs__8237
apache/arrow-rs
8,237
defect
959677533878529a1790c3b9477848fa16a1fb73
c729d221369812fbaeab91221047526b1498a64b
[thrift-remodel] Add thrift write support
# Which issue does this PR close? **Note: this targets a feature branch, not main** - Part of #5854. # Rationale for this change Begins adding custom thrift write support. # What changes are included in this PR? Adds traits to aid in writing of thrift and modifies thrift macros to generate writing code....
diff --git a/parquet/src/basic.rs b/parquet/src/basic.rs index c325cf5dbf2b..5fd49043731e 100644 --- a/parquet/src/basic.rs +++ b/parquet/src/basic.rs @@ -20,11 +20,15 @@ //! Refer to [`parquet.thrift`](https://github.com/apache/parquet-format/blob/master/src/main/thrift/parquet.thrift) //! file to see raw definition...
3
2
0
[{"id": "G0", "claim": "The pull request adds a `// FIXME` comment in parquet/src/basic.rs that should be resolved or removed before merge.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It would be great to add more doc strings to the macros in...
null