roykoand opened a new pull request, #72958:
URL: https://github.com/apache/airflow/pull/72958
`airflow variables import` counted and printed per-key failures (e.g. a key
exceeding the 250-char limit enforced by Postgres/MySQL, unlike SQLite) but
never caused the command to exit non-zero. A caller chaining `airflow variables
import vars.json && next_step` would proceed as if the import had fully
succeeded.
This mirrors the existing behavior of the sibling `pools import` command,
which already does `raise SystemExit(...)` when any pool fails to import.
Also fixes a small grammar issue ("already exists" -> "already exist") in
the two messages that describe multiple keys.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Sonnet 5)
Generated-by: Claude Code (Sonnet 5) following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]