You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "pierrejeambrun (via GitHub)" <gi...@apache.org> on 2026/04/14 12:56:51 UTC
[PR] UI: Show deactivated state for stale DAGs [airflow]
pierrejeambrun opened a new pull request, #65214:
URL: https://github.com/apache/airflow/pull/65214
Re-opening of #64374 (closed unexpectedly by original contributor). Formatting issue fixed.
## Summary
When a DAG becomes stale or deactivated, the UI still shows active-oriented controls like the pause toggle, parse action, and next-run information. This change makes the deactivated state explicit by showing a badge and hiding controls that imply the DAG is still schedulable.
## Changes
- **`DagDeactivatedBadge.tsx`** — reusable badge component for stale/deactivated DAGs
- **`Header.tsx`** — shows deactivated badge for stale DAGs, hides next-run stat and parse action
- **`DagBreadcrumb.tsx`** — shows deactivated badge instead of pause toggle for stale DAGs
- **`DetailsLayout.tsx`** — removes unnecessary generic type annotations on `useLocalStorage`
- **`dag.json`** — adds the "Deactivated" i18n label
- **`Header.test.tsx`** — regression test for stale DAG header behavior
Fixes #63800
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Cursor (Claude Opus 4)
Generated-by: Cursor (Claude Opus 4) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] UI: Show deactivated state for stale DAGs [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun merged PR #65214:
URL: https://github.com/apache/airflow/pull/65214
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] UI: Show deactivated state for stale DAGs [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on PR #65214:
URL: https://github.com/apache/airflow/pull/65214#issuecomment-4244617707
<img width="1471" height="768" alt="Screenshot 2026-04-14 at 16 20 03" src="https://github.com/user-attachments/assets/6e44668b-4a18-494b-90de-89822656f0bb" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] UI: Show deactivated state for stale DAGs [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #65214:
URL: https://github.com/apache/airflow/pull/65214#issuecomment-4244631646
### Backport successfully created: v3-2-test
Note: As of [Merging PRs targeted for Airflow 3.X](https://github.com/apache/airflow/blob/main/dev/README_AIRFLOW3_DEV.md#merging-prs-targeted-for-airflow-3x)
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.
In matter of doubt please ask in [#release-management](https://apache-airflow.slack.com/archives/C03G9H97MM2) Slack channel.
<table>
<tr>
<th>Status</th>
<th>Branch</th>
<th>Result</th>
</tr>
<tr>
<td>✅</td>
<td>v3-2-test</td>
<td><a href="https://github.com/apache/airflow/pull/65218"><img src="https://img.shields.io/badge/PR-65218-blue" alt="PR Link"></a></td>
</tr>
</table>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org