Skip to content

Preserves retry attempt metadata before recording TaskInstanceHistory - #65926

Closed
shaealh wants to merge 7 commits into
apache:mainfrom
shaealh:shaealh/65366
Closed

shaealh wants to merge 7 commits into
apache:mainfrom
shaealh:shaealh/65366

Conversation

@shaealh

@shaealh shaealh commented Apr 27, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #65366.

Preserves retry attempt metadata before recording TaskInstanceHistory so historical retry rows keep fields such as hostname, start_date, end_date, and duration.

Tests:

  • AIRFLOW_HOME=/tmp/airflow-tests-65366-api uv run pytest airflow-core/tests/unit/api_fastapi/execution_api/versions/head/test_task_instances.py --with-db-init
  • AIRFLOW_HOME=/tmp/airflow-tests-65366-models uv run pytest airflow-core/tests/unit/models/test_taskinstance.py -k history --with-db-init
  • AIRFLOW_HOME=/tmp/airflow-tests-65366-scheduler uv run pytest airflow-core/tests/unit/jobs/test_scheduler_job.py -k test_adopt_or_reset_resettable_tasks --with-db-init

Note

🛠️ Maintainer triage note for @shaealh · by @potiuk · 2026-06-18 21:56 UTC

Closing to keep the review queue clean — this draft was triaged ~9 days ago and there's been no update since:

Automated triage — may be imperfect; a maintainer takes the next look.

@shaealh shaealh changed the title Shaealh/65366 Preserves retry attempt metadata before recording TaskInstanceHistory Apr 27, 2026
@potiuk potiuk added the ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. label May 5, 2026
@potiuk potiuk removed the ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. label May 18, 2026
@potiuk
potiuk marked this pull request as draft May 18, 2026 10:48
@potiuk

potiuk commented May 18, 2026

Copy link
Copy Markdown
Member

@shaealh — Removing the ready for maintainer review label and converting back to draft. The branch now has merge conflicts with main that surfaced after the label was added.

The label's contract is that the PR is ready for maintainer review — a regression like this means the PR temporarily isn't. Rebase your branch onto the latest main, resolve conflicts, then mark "Ready for review" again to re-enter the queue.

git fetch upstream main && git rebase upstream/main, resolve, git push --force-with-lease. See the working-with-git docs.

No rush.


Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you.

@shaealh
shaealh marked this pull request as ready for review May 26, 2026 05:38
@shaealh

shaealh commented May 27, 2026

Copy link
Copy Markdown
Contributor Author

@potiuk After rebasing, CI is still failing only on docs spellcheck for generated "airflow-ctl/RELEASE_NOTES.rst" entries from other PRs: "pyyaml" and "newsfragments". Should I add these to the spelling allowlist, or would maintainers prefer to handle that separately?

@potiuk

potiuk commented Jun 1, 2026

Copy link
Copy Markdown
Member

@shaealh A few things need addressing before review — see our Pull Request quality criteria.

  • ❌ Build docs. See docs.

No rush.


Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you.

@potiuk

potiuk commented Jun 9, 2026

Copy link
Copy Markdown
Member

@shaealh Converting to draft — this PR does not yet meet our Pull Request quality criteria.

  • ❌ Merge conflicts with main. See docs.

See the linked criteria for how to fix each item, then mark the PR "Ready for review". This is not a rejection — just an invitation to bring the PR up to standard. No rush.

Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you.

@potiuk
potiuk marked this pull request as draft June 9, 2026 08:27
@potiuk

potiuk commented Jun 18, 2026

Copy link
Copy Markdown
Member

Closing as a stale triaged draft — no update in ~9 days since the triage note. No worries: reopen this or open a fresh PR whenever you're ready to continue. Thanks for the contribution!

@potiuk potiuk closed this Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants