rino0601 commented on issue #10867:
URL: https://github.com/apache/airflow/issues/10867#issuecomment-5352552625
Still reproducing on Airflow 3.3.0 (the report in #65784 was on 3.2.1), and
the surface is wider
than the UI now — the REST API and the CLI have the same gap.
GET /api/v2/connections, GET /api/v2/variables, and airflow connections list
all run a plain
select(Connection) / select(Variable), so they return metastore rows only.
Neither the response
nor the OpenAPI schema carries any hint that the list may be incomplete, so
generated clients can't
surface it either.
Two things make the confusion sharper than it was in 2020:
Single-item lookups disagree with the lists. airflow connections get <id>
resolves through
the backend chain, but GET /api/v2/connections/{id} returns 404 for that
same id. Someone
comparing the two has no signal that the difference is intentional.
It keeps getting filed as a bug. #65784 (reported on 3.2.1, April 2026) is
the most recent,
closed with "This is by design" and linking a Stack Overflow question about
the same confusion.
#24679 implemented exactly what this issue asks for — CLI warnings plus a
banner on the list views —
but was closed without being merged, so the gap is still open.
Would a banner on the Airflow 3 list views, plus a note in the CLI output
and in the REST API docs,
still be welcome here? Happy to pick it up if so.
--
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]