Fix backfill API session handling for SQLite#67411
Closed
bobu-putheeckal wants to merge 1 commit into
Closed
Conversation
Member
|
PR template hasn't been followed on any of your PRs. As such I am closing all your PRs since I see little to no evidence of actual testing and mass PRs to Airflow & other repos. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_create_backfillwhen creating backfills_create_backfillcreate its own session when one is not suppliedFixes #66726
Testing
uv run --no-dev --package apache-airflow-core --with 'apache-airflow-devel-common[basic]' ruff check airflow-core/src/airflow/models/backfill.py airflow-core/src/airflow/api_fastapi/core_api/routes/public/backfills.py airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_backfills.pyPYTHONPATH="airflow-core/src:airflow-core/tests:devel-common/src:providers/git/src:providers/standard/src:providers/fab/src:shared/configuration/src:shared/dagnode/src:shared/listeners/src:shared/logging/src:shared/module_loading/src:shared/observability/src:shared/plugins_manager/src:shared/providers_discovery/src:shared/secrets_backend/src:shared/secrets_masker/src:shared/serialization/src:shared/state/src:shared/template_rendering/src:shared/timezones/src" uv run --python 3.12 --no-dev --package apache-airflow-core --with-editable ./devel-common --with 'apache-airflow-devel-common[basic]' --with-editable ./providers/git --with-editable ./providers/standard --with-editable ./providers/fab python -m pytest airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_backfills.py::TestCreateBackfill -qWas generative AI tooling used to co-author this PR?
Generated-by: OpenAI Codex following the guidelines in contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions