-
Notifications
You must be signed in to change notification settings - Fork 16.6k
Description
Apache Airflow version
main (development)
If "Other Airflow 3 version" selected, which one?
No response
What happened?
The Connection Add page takes ~10 seconds to load on first access.
GET /ui/connections/hook_metaimports all Hook classes and their form definitions, which loads every provider and its dependencies.
With 100+ connection types, this causes significant delay before users can interact with the form.
I understand the slowdown is more noticeable because the main branch has all providers installed by default.
Nevertheless, in my opinion, it would be good if this could be improved.
Screen.Recording.2026-02-12.at.9.34.40.PM.mov
What you think should happen instead?
It's not a critical issue, but for better user experience, the Add Connection form should be usable within about 1 second. To achieve this, connection types should load first, then metadata only when the user selects a type.
| Step | Current | Proposed |
|---|---|---|
| Add button click | Load all types + metadata | Load types only |
| Connection type dropdown | — | Populated from types API |
| User selects type | — | Load metadata for that type only |
| Form fields | — | Rendered from detail API |
Proposed API changes:
-
GET /ui/connections/connection_types(new, lightweight)- Returns only connection type identifiers
-
GET /ui/connections/hook_meta/{connection_type}(new, on-demand)- Returns full metadata (standard_fields, extra_fields) for the selected type only
-
GET /ui/connections/hook_meta(existing)- Kept unchanged for backward compatibility
How to reproduce
- Install Airflow with many providers
- Go to Connections page.
- Click Add button.
- This reproduces when the cache is cold (first load or after restart): the page takes ~10 seconds before the connection type dropdown is usable.
Operating System
macOS
Versions of Apache Airflow Providers
No response
Deployment
Other Docker-based deployment
Deployment details
No response
Anything else?
If the committers agree with this approach, I would like to implement it.
If you approve, I would appreciate it if you could assign this issue to me.
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct