Skip to content

[v3-1-test] Fix connection test API to restore masked password/extra from existin… - #60873

Merged
pierrejeambrun merged 1 commit into
apache:v3-1-testfrom
astronomer:backport-59643
Jan 21, 2026
Merged

[v3-1-test] Fix connection test API to restore masked password/extra from existin…#60873
pierrejeambrun merged 1 commit into
apache:v3-1-testfrom
astronomer:backport-59643

Conversation

@pierrejeambrun

Copy link
Copy Markdown
Member

…g connections (#59643)

  • Fix connection test API to restore masked password/extra from existing connections

  • Use get_connection_from_secrets in test endpoint

  • Remove unused session parameter

  • Add use_existing_credentials flag to test connections

  • fix api-gen description

  • Standardize docstring format

  • Add use_existing_credentials flag to test connections

  • Refactor connection test logic using update_orm_from_pydantic

  • Remove useExistingCredentials flag from TestConnectionButton mutation

  • Add proper assertions for test connection merge tests

  • Small test adjustment


(cherry picked from commit efb27dc)


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

  • 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 or {issue_number}.significant.rst, in airflow-core/newsfragments.

…g connections (apache#59643)
* Fix connection test API to restore masked password/extra from existing connections
* Use get_connection_from_secrets in test endpoint
* Remove unused session parameter
* Add use_existing_credentials flag to test connections
* fix api-gen description
* Standardize docstring format
* Add use_existing_credentials flag to test connections
* Refactor connection test logic using update_orm_from_pydantic
* Remove useExistingCredentials flag from TestConnectionButton mutation
* Add proper assertions for test connection merge tests
* Small test adjustment
---------
Co-authored-by: pierrejeambrun <pierrejbrun@gmail.com>
(cherry picked from commit efb27dc)
@boring-cyborgboring-cyborgBot added the area:API Airflow's REST/HTTP API label Jan 21, 2026
@pierrejeambrun
pierrejeambrun merged commit 656a5be into apache:v3-1-testJan 21, 2026
87 checks passed
@pierrejeambrun
pierrejeambrun deleted the backport-59643 branch January 21, 2026 15:48
@ephraimbuddyephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Jan 27, 2026
@ephraimbuddyephraimbuddy added this to the Airflow 3.1.7 milestone Jan 28, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:APIAirflow's REST/HTTP APItype:bug-fixChangelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pierrejeambrun@ephraimbuddy@choo121600