Add experimental core framework to replace existing API call execution.#1318
Merged
renaudhartert-db merged 6 commits intomainfrom Nov 7, 2025
Merged
Add experimental core framework to replace existing API call execution.#1318renaudhartert-db merged 6 commits intomainfrom
renaudhartert-db merged 6 commits intomainfrom
Conversation
parthban-db
reviewed
Nov 5, 2025
…tabricks/databricks-sdk-go into sdk-mod-code
parthban-db
approved these changes
Nov 5, 2025
Contributor
parthban-db
left a comment
There was a problem hiding this comment.
LGTM modulo small nits. I removed the auto-merge so that you can address these comments.
|
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 13, 2025
## 🥞 Stacked PR Use this [link](https://github.com/databricks/databricks-sdk-go/pull/1329/files) to review incremental changes. - [**stack/update-changelog**](#1329) [[Files changed](https://github.com/databricks/databricks-sdk-go/pull/1329/files)] --------- ## What changes are proposed in this pull request? Update Changelog for changes in #1318. This changelog was not part of the original PR. ## How is this tested? N/A
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are proposed in this pull request?
This PR introduces a new experimental API framework that abstracts the transport layer from API calls through a composable, interface-based design. The core changes include:
Callabstraction: Defines API calls as simple functions (func(context.Context) error) that are transport-agnostic.Executefunction orchestrates API calls with pluggable retry, rate limiting, and timeout behaviors.Retrierinterface with configurableBackoffPolicysupporting jitter and exponential growth.WithRetrier,WithTimeout,WithLimiter) for clean, composable configuration.This change is foundational to rewriting the SDK from the ground up with a transport-agnostic approach. The current SDK was designed with multiple code paths and minimal code generation, making it tightly coupled to HTTP transport. This new framework enables:
How is this tested?
The PR includes comprehensive unit tests covering.
NO_CHANGELOG=true