Skip to content

[airflow-ctl/v0-1-test] Report missing and invalid fields in airflowctl connections import (#76090) - #76141

Merged
shahar1 merged 1 commit into
airflow-ctl/v0-1-testfrom
backport-2e8f6f9-airflow-ctl/v0-1-test
Oct 31, 2026
Merged

shahar1 merged 1 commit into
airflow-ctl/v0-1-testfrom
backport-2e8f6f9-airflow-ctl/v0-1-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

A connection entry without conn_type, or with a bad value such as a
non-numeric port, made the import fail with a raw pydantic dump. The
dump did not say which connection in the file was broken, and a missing
conn_type showed up as "Input should be a valid string", not as a
missing field. Generated commands got readable messages in #75177; the
hand-built import path did not.
(cherry picked from commit 2e8f6f9)

Co-authored-by: Shahar Epstein [email protected]

…tl connections import (#76090)

A connection entry without conn_type, or with a bad value such as a
non-numeric port, made the import fail with a raw pydantic dump. The
dump did not say which connection in the file was broken, and a missing
conn_type showed up as "Input should be a valid string", not as a
missing field. Generated commands got readable messages in #75177; the
hand-built import path did not.
(cherry picked from commit 2e8f6f9)

Co-authored-by: Shahar Epstein <[email protected]>
@shahar1
shahar1 merged commit d1ae40f into airflow-ctl/v0-1-test Oct 31, 2026
13 checks passed
@shahar1
shahar1 deleted the backport-2e8f6f9-airflow-ctl/v0-1-test branch October 31, 2026 14:22
shahar1 added a commit that referenced this pull request Nov 19, 2026
…tl connections import (#76090) (#76141)

A connection entry without conn_type, or with a bad value such as a
non-numeric port, made the import fail with a raw pydantic dump. The
dump did not say which connection in the file was broken, and a missing
conn_type showed up as "Input should be a valid string", not as a
missing field. Generated commands got readable messages in #75177; the
hand-built import path did not.
(cherry picked from commit 2e8f6f9)

Co-authored-by: Shahar Epstein <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant