Skip to content

Add a Duplicate action to the Connections list - #75110

Merged
bbovenzi merged 1 commit into
apache:mainfrom
astronomer:add-duplicate-connection
Oct 19, 2026
Merged

bbovenzi merged 1 commit into
apache:mainfrom
astronomer:add-duplicate-connection

Conversation

@pierrejeambrun

@pierrejeambrun pierrejeambrun commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Setting up near-identical connections for dev, staging and production meant re-typing every field by hand. Airflow 2 could duplicate a connection, but the Airflow 3 UI dropped that action.

Each row in the Connections list now has a Duplicate action. It opens the add-connection form pre-filled from the selected connection, with an empty Connection ID.

The API returns secrets as ***, both the password and sensitive extra keys. When a connection is edited, the backend merges that placeholder back into the stored secret. A new connection has no stored secret to merge with, so copying the placeholder would save the literal *** as the new connection's secret. Redacted values are left empty instead: the password field is blank, sensitive extra keys are dropped, and provider fields show up empty. A note at the top of the form asks the user to fill them in.

closes: #74998

Before After

Duplicate form for a connection with a password and secret extra keys:

Redacted extra values, comparing the source connection's Edit form with the Duplicate form:

Edit (source connection) Duplicate
Extra Fields JSON
Provider fields (Alibaba Cloud)

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 5.5)

Generated-by: Claude Code (Opus 5.5) following the guidelines

Setting up near-identical connections for several environments meant
re-typing every field by hand; Airflow 2 offered duplication and the
Airflow 3 UI dropped it.

The API returns secrets as '***'. Editing merges that placeholder back
into the stored secret, but creating has nothing to merge with, so
copying it would save the placeholder itself as the new secret. Redacted
values are therefore left empty for the user to fill in.

closes: apache#74998
@boring-cyborg boring-cyborg Bot added area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default labels Oct 19, 2026
pierrejeambrun added a commit to astronomer/airflow that referenced this pull request Oct 19, 2026
pierrejeambrun added a commit to astronomer/airflow that referenced this pull request Oct 19, 2026
@pierrejeambrun
pierrejeambrun marked this pull request as ready for review October 19, 2026 16:41
@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 f20ff2c into apache:main Oct 19, 2026
150 checks passed
@bbovenzi
bbovenzi deleted the add-duplicate-connection branch October 19, 2026 21:15
@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

pierrejeambrun added a commit that referenced this pull request Oct 19, 2026
…75143)

Setting up near-identical connections for several environments meant
re-typing every field by hand; Airflow 2 offered duplication and the
Airflow 3 UI dropped it.

The API returns secrets as '***'. Editing merges that placeholder back
into the stored secret, but creating has nothing to merge with, so
copying it would save the placeholder itself as the new secret. Redacted
values are therefore left empty for the user to fill in.
(cherry picked from commit f20ff2c)


closes: #74998

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
vatsrahul1001 pushed a commit that referenced this pull request Oct 20, 2026
…75143)

Setting up near-identical connections for several environments meant
re-typing every field by hand; Airflow 2 offered duplication and the
Airflow 3 UI dropped it.

The API returns secrets as '***'. Editing merges that placeholder back
into the stored secret, but creating has nothing to merge with, so
copying it would save the placeholder itself as the new secret. Redacted
values are therefore left empty for the user to fill in.
(cherry picked from commit f20ff2c)


closes: #74998

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Title: Restore the ability to duplicate connections in the Airflow UI

2 participants