Skip to content

Keep DAG folder selection distinct across bundle names - #75080

Merged
bbovenzi merged 1 commit into
apache:mainfrom
himanshuchawla0807-gif:fix/dag-folder-node-identifiers
Oct 19, 2026
Merged

bbovenzi merged 1 commit into
apache:mainfrom
himanshuchawla0807-gif:fix/dag-folder-node-identifiers

Conversation

@himanshuchawla0807-gif

Copy link
Copy Markdown
Contributor

Folder node values join the bundle name and folder path with a colon. Bundle a / folder b:c and bundle a:b / folder c therefore share folder:a:b:c. Clicking c under a:b returns the other bundle and folder through onSelectFolder.

Encode the bundle component of the internal node value so the separator remains unambiguous. Keep the original bundle name and folder path in the selection callback. The regression drives the actual tree click and fails with the wrong callback before the fix. No layout or styling changes.

Validation:

  • Baseline: new regression fails; 26 existing folder tests pass. With the fix: 27 folder tests pass.
  • Full UI suite: 1,961 tests pass across 239 files with pnpm test --maxWorkers=2 --testTimeout=30000.
  • Scoped ESLint, TypeScript and commit hooks pass.
  • Required regular/manual checks pass, including both UI production builds; simple-auth UI test passes.

Was generative AI tooling used to co-author this PR?
  • Yes — OpenAI Codex

Generated-by: OpenAI Codex following the guidelines

@bbovenzi bbovenzi added the backport-to-v3-4-test Backport to v3-4-test label Oct 19, 2026
@bbovenzi bbovenzi added this to the Airflow 3.4.0 milestone Oct 19, 2026
@bbovenzi
bbovenzi merged commit c581c18 into apache:main Oct 19, 2026
78 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-4-test

Note: As of Merging PRs targeted for Airflow 3.X
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 Slack channel.

Status Branch Result
✅ v3-4-test PR Link

vatsrahul1001 added a commit that referenced this pull request Oct 20, 2026
…75080) (#75146)

* [v3-4-test] Keep DAG folder selection distinct across bundle names (#75080)
(cherry picked from commit c581c18)

Co-authored-by: Himanshu Chawla <himanshuchawla0807@gmail.com>
Co-authored-by: Himanshu Chawla <241715894+himanshuchawla0807-gif@users.noreply.github.com>

* Import waitFor in DagFolderTree test

The cherry-picked colons test uses `await waitFor(...)`, but v3-4-test's
base test file never imported waitFor (main's did), so the React UI test
failed with "ReferenceError: waitFor is not defined". Add it to the
@testing-library/react import, matching main.

---------

Co-authored-by: Himanshu Chawla <himanshuchawla0807@gmail.com>
Co-authored-by: Himanshu Chawla <241715894+himanshuchawla0807-gif@users.noreply.github.com>
Co-authored-by: Rahul Vats <43964496+vatsrahul1001@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. backport-to-v3-4-test Backport to v3-4-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants