Skip to content

Closes #904 - Add Lakehouse Shortcuts Smart Publishing Feature#916

Open
bckstrm wants to merge 1 commit intomicrosoft:mainfrom
bckstrm:shortcut_smart_diff
Open

Closes #904 - Add Lakehouse Shortcuts Smart Publishing Feature#916
bckstrm wants to merge 1 commit intomicrosoft:mainfrom
bckstrm:shortcut_smart_diff

Conversation

@bckstrm
Copy link
Copy Markdown
Contributor

@bckstrm bckstrm commented Apr 1, 2026

This PR implements new feature flag ENABLE_SHORTCUT_SMART_DIFF which optimizes ShortcutPublisher.publish_all() in _lakehouse.py by 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_shortcuts and only republishes shortcuts when a change is detected.

Linked Issue (REQUIRED)

#904

@bckstrm
Copy link
Copy Markdown
Contributor Author

bckstrm commented Apr 1, 2026

@microsoft-github-policy-service agree

@bckstrm bckstrm force-pushed the shortcut_smart_diff branch from 858e832 to 9dc4339 Compare April 1, 2026 11:38
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.

1 participant