Azure / Azure/azure-functions-host

Do not start host in "offline mode" if app is "read-only"

Open
#4,522 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

We start the host in "offline mode" if the host detects an `app_offline.htm` file. This relies on the host getting restarted whenever the app_offline.htm is removed. HOWEVER, if the app is initialized in read-only mode, it may never switch back to being online (related: https://github.com/Azure/azure-functions-host/issues/4387).

cc: @fabiocav

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; start by tracing how app_offline.htm detection interacts with read-only initialization, using related issue #4387 for context. Done means a read-only app does not remain in offline mode after app_offline.htm is removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.