-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Fix SQLite Lock error in TestTaskInstancesLog setup #50763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jason810496
merged 1 commit into
apache:main
from
jason810496:fix/AIP-84/fix-test-log-setup-attrs
May 19, 2025
Merged
Fix SQLite Lock error in TestTaskInstancesLog setup #50763
jason810496
merged 1 commit into
apache:main
from
jason810496:fix/AIP-84/fix-test-log-setup-attrs
May 19, 2025
Conversation
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
bugraoz93
approved these changes
May 19, 2025
github-actions bot
pushed a commit
that referenced
this pull request
May 19, 2025
(cherry picked from commit 6f40f99) Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com>
github-actions bot
pushed a commit
to aws-mwaa/upstream-to-airflow
that referenced
this pull request
May 19, 2025
oboki
added a commit
to oboki/airflow
that referenced
this pull request
May 19, 2025
Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com>
oboki
added a commit
to oboki/airflow
that referenced
this pull request
May 20, 2025
Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com>
jason810496
added a commit
that referenced
this pull request
May 20, 2025
…rker environments (#50175) * fix: resolve 404 log error for non-latest task tries in multi-host worker environments * refactor: extract TaskInstance and TaskInstanceHistory query logic from `get_log` endpoint function * test: add unit test for `get_task_instance_or_history_for_try_number` function * fix: resolve sqlite lock error #50763 Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> --------- Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com>
jason810496
added a commit
to jason810496/airflow
that referenced
this pull request
May 20, 2025
…rker environments (apache#50175) * fix: resolve 404 log error for non-latest task tries in multi-host worker environments * refactor: extract TaskInstance and TaskInstanceHistory query logic from `get_log` endpoint function * test: add unit test for `get_task_instance_or_history_for_try_number` function * fix: resolve sqlite lock error apache#50763 Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> --------- Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> (cherry picked from commit 0b0ff5d)
potiuk
pushed a commit
that referenced
this pull request
May 21, 2025
potiuk
pushed a commit
to jason810496/airflow
that referenced
this pull request
May 21, 2025
…rker environments (apache#50175) * fix: resolve 404 log error for non-latest task tries in multi-host worker environments * refactor: extract TaskInstance and TaskInstanceHistory query logic from `get_log` endpoint function * test: add unit test for `get_task_instance_or_history_for_try_number` function * fix: resolve sqlite lock error apache#50763 Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> --------- Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> (cherry picked from commit 0b0ff5d)
potiuk
pushed a commit
that referenced
this pull request
May 21, 2025
…rker environments (#50175) (#50833) * fix: resolve 404 log error for non-latest task tries in multi-host worker environments * refactor: extract TaskInstance and TaskInstanceHistory query logic from `get_log` endpoint function * test: add unit test for `get_task_instance_or_history_for_try_number` function * fix: resolve sqlite lock error #50763 --------- (cherry picked from commit 0b0ff5d) Co-authored-by: oboki <oboki@kakao.com>
dadonnelly316
pushed a commit
to dadonnelly316/airflow
that referenced
this pull request
May 26, 2025
dadonnelly316
pushed a commit
to dadonnelly316/airflow
that referenced
this pull request
May 26, 2025
…rker environments (apache#50175) * fix: resolve 404 log error for non-latest task tries in multi-host worker environments * refactor: extract TaskInstance and TaskInstanceHistory query logic from `get_log` endpoint function * test: add unit test for `get_task_instance_or_history_for_try_number` function * fix: resolve sqlite lock error apache#50763 Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> --------- Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com>
kaxil
pushed a commit
that referenced
this pull request
Jun 3, 2025
kaxil
pushed a commit
that referenced
this pull request
Jun 3, 2025
…rker environments (#50175) (#50833) * fix: resolve 404 log error for non-latest task tries in multi-host worker environments * refactor: extract TaskInstance and TaskInstanceHistory query logic from `get_log` endpoint function * test: add unit test for `get_task_instance_or_history_for_try_number` function * fix: resolve sqlite lock error #50763 --------- (cherry picked from commit 0b0ff5d) Co-authored-by: oboki <oboki@kakao.com>
sanederchik
pushed a commit
to sanederchik/airflow
that referenced
this pull request
Jun 7, 2025
sanederchik
pushed a commit
to sanederchik/airflow
that referenced
this pull request
Jun 7, 2025
…rker environments (apache#50175) * fix: resolve 404 log error for non-latest task tries in multi-host worker environments * refactor: extract TaskInstance and TaskInstanceHistory query logic from `get_log` endpoint function * test: add unit test for `get_task_instance_or_history_for_try_number` function * fix: resolve sqlite lock error apache#50763 Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> --------- Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:API
Airflow's REST/HTTP API
backport-to-v3-1-test
Mark PR with this label to backport to v3-1-test branch
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.
related: #50175
Why
The
TestTaskInstancesLog.setup_attrsmight causesqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database is lockederror.For example: https://github.com/apache/airflow/actions/runs/15097906931/job/42435158054?pr=50175