The GitHub Actions job "Tests" on airflow.git/snowflake-proxy-clean has failed.
Run started by GitHub user Arunodoy18 (triggered by potiuk).

Head commit for run:
560933a0c598b69653764a25b769198f2218e164 / Arunodoy18 <[email protected]>
Add proxy support for Snowflake connections (#59078)

This change enables users to configure proxy settings directly in Snowflake
connections via extra parameters instead of relying solely on system environment
variables, providing better isolation and control.

**What changes:**
- Add proxy_host, proxy_port, proxy_user, and proxy_password fields to
  SnowflakeHook connection configuration
- Proxy parameters are extracted from connection extras and passed to
  snowflake.connector.connect()
- UI fields added for proxy configuration in connection form
- Support for both modern field names and backcompat prefixes

**Why:**
- Enables team-specific proxy configurations without affecting system-wide 
settings
- Prevents unintended proxy usage from environment variables
- Provides more granular control over network routing per connection

**Tests:**
- test_get_conn_params_with_proxy_host_only
- test_get_conn_params_with_proxy_host_and_port
- test_get_conn_params_with_proxy_port_as_int
- test_get_conn_params_with_proxy_full_config
- test_get_conn_params_with_proxy_backcompat_prefix
- test_get_conn_with_proxy_should_call_connect
- And 4 additional comprehensive test cases

Closes: #59078

Report URL: https://github.com/apache/airflow/actions/runs/20010188280

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to