Skip to content

Conversation

@pradeepsrikakolapu
Copy link
Contributor

This pull request updates the Azure Synapse dbt adapter to improve credential handling, update dependencies, and make several test-related adjustments. The most significant changes include adding support for configurable login timeouts on Azure credentials, updating dependency versions, and skipping unsupported incremental model tests.

Credential Handling Improvements:

  • Updated get_cli_access_token, get_auto_access_token, and get_environment_access_token functions in synapse_connection_manager.py to support a configurable login_timeout parameter from credentials, improving robustness for slow authentication scenarios. [1] [2] [3]

Dependency Updates:

  • Bumped adapter version in __version__.py from 1.8.2 to 1.8.4.
  • Restricted dbt-fabric dependency in setup.py to <1.9.6 (was <1.10.0) for compatibility.
  • Updated Python version in .python-version to 3.11.9.

Test Suite Adjustments:

  • Skipped all incremental model grant tests in test_grants.py because incremental models are not supported.
  • Added authentication to test profile configuration in conftest.py for improved test flexibility.
  • Temporarily skipped source tests and fixed naming/identifier issues in test_sources.py for consistency and to address test flakiness. [1] [2]

@pradeepsrikakolapu
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Microsoft"

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This is a version release pull request that updates the Azure Synapse dbt adapter to version 1.8.4, focusing on credential handling improvements, dependency updates, and test suite adjustments.

  • Added configurable login_timeout parameter support to Azure credential authentication methods
  • Updated dependency constraints and version numbers for compatibility
  • Skipped unsupported incremental model tests and temporarily disabled flaky source tests

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
dbt/adapters/synapse/version.py Updated version from 1.8.2 to 1.8.4
dbt/adapters/synapse/synapse_connection_manager.py Added login_timeout parameter support to credential methods
setup.py Restricted dbt-fabric dependency to <1.9.6 for compatibility
tests/functional/adapter/test_grants.py Skipped incremental model grant tests as they're not supported
tests/functional/adapter/test_sources.py Fixed source naming and temporarily skipped tests
tests/conftest.py Added authentication parameter to test profile
.python-version Updated Python version to 3.11.9

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@pradeepsrikakolapu
Copy link
Contributor Author

@colin-rogers-dbt , please approve and I will cut a release.

@pradeepsrikakolapu pradeepsrikakolapu merged commit 72ce1e1 into master Aug 19, 2025
1 of 2 checks passed
@pradeepsrikakolapu pradeepsrikakolapu deleted the v1.8.4 branch August 19, 2025 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants