Skip to content

[Design] Ensuring Core Tools can be used to create and run functions offline#4763

Merged
liliankasem merged 4 commits intomainfrom
liliankasem/design/offline-mode
Jan 13, 2026
Merged

[Design] Ensuring Core Tools can be used to create and run functions offline#4763
liliankasem merged 4 commits intomainfrom
liliankasem/design/offline-mode

Conversation

@liliankasem
Copy link
Copy Markdown
Member

Design proposal for offline support in Core Tools.

One of the major issues is that today we require internet connectivity to download extension bundles from cdn.functions.azure.com during func start, causing local development to fail in offline. This design proposes making the tool fully functional offline by implementing cache-first fallbacks for all network operations while maintaining optimal online performance.

@liliankasem liliankasem marked this pull request as ready for review January 9, 2026 00:22
@liliankasem liliankasem requested a review from a team as a code owner January 9, 2026 00:22
@liliankasem liliankasem changed the title [Proposal] Ensuring Core Tools can be used to create and run functions offline [Design] Ensuring Core Tools can be used to create and run functions offline Jan 12, 2026
@liliankasem liliankasem merged commit 92f186c into main Jan 13, 2026
11 checks passed
@liliankasem liliankasem deleted the liliankasem/design/offline-mode branch January 13, 2026 00:23

1. We should disable the `EnsureLatest` bundles setting from the host. We should not need this if we
do the bundles management on the core tools side.
2. We should not download bundles for stacks that do not require it (e.g. dotnet apps)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

dotnet in-proc scripting apps will need bundle.

Another consideration, if user just has http or timer trigger functions in their function app, bundle is not required to run the app. This can only be determined for apps with host based indexing or customer's can remove it themselves.

Only need for bundle in such case would be templates

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