Closes #904 - Add Lakehouse Shortcuts Smart Publishing Feature#916
Open
bckstrm wants to merge 1 commit intomicrosoft:mainfrom
Open
Closes #904 - Add Lakehouse Shortcuts Smart Publishing Feature#916bckstrm wants to merge 1 commit intomicrosoft:mainfrom
bckstrm wants to merge 1 commit intomicrosoft:mainfrom
Conversation
Contributor
Author
|
@microsoft-github-policy-service agree |
858e832 to
9dc4339
Compare
9dc4339 to
e53b160
Compare
7 tasks
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.
This PR implements new feature flag
ENABLE_SHORTCUT_SMART_DIFFwhich optimizesShortcutPublisher.publish_all()in_lakehouse.pyby avoiding unnecessary republishes of shortcuts that are already deployed and whose definitions have not changed.Previously,
publish_all()republished every shortcut on each run, even when the deployed shortcut already matched the desired state. In environments with many shortcuts, this led to unnecessary API calls and longer deployment times.With this change, the workflow compares the local shortcut definition against
deployed_shortcutsand only republishes shortcuts when a change is detected.Linked Issue (REQUIRED)
#904