Skip to content

Allow DBDagBag TTL cache eviction without a size cap#69774

Open
aeroyorch wants to merge 2 commits into
apache:mainfrom
aeroyorch:dbdagbag-ttl-only-cache
Open

Allow DBDagBag TTL cache eviction without a size cap#69774
aeroyorch wants to merge 2 commits into
apache:mainfrom
aeroyorch:dbdagbag-ttl-only-cache

Conversation

@aeroyorch

@aeroyorch aeroyorch commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Allow DBDagBag TTL cache eviction without a size cap (i.e. cache_size=0, cache_ttl>0).

Related to #69001 and #69007

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Claude Opus 4.8 to analyze the impact of this change in terms of docs/code.


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@aeroyorch aeroyorch requested review from XD-DENG and ashb as code owners July 12, 2026 12:04
@aeroyorch aeroyorch force-pushed the dbdagbag-ttl-only-cache branch from dc1b483 to 379aa9e Compare July 12, 2026 12:07
@aeroyorch aeroyorch force-pushed the dbdagbag-ttl-only-cache branch from 379aa9e to a112469 Compare July 12, 2026 12:12
@aeroyorch aeroyorch changed the title Allow DBDagBag TTL cache eviction without a size cap Allow DBDagBag TTL cache eviction without a size cap Jul 12, 2026

@SameerMesiah97 SameerMesiah97 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one nit. Looks good otherwise.

Comment thread airflow-core/src/airflow/models/dagbag.py Outdated
@aeroyorch

Copy link
Copy Markdown
Contributor Author

Just one nit. Looks good otherwise.

Thanks for the review! Changes already implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants