[Logic Apps Hybrid] File System connection save PATCHes the container app and drops/repoints the /home/site/wwwroot volume mount, app fails to start
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- azure, typescript
Direzione di ricerca
Inizia dal ramo hybrid di connectionCreationFunc in src/Extension/Client/React/Services/FileSystemConnectionCreationClient.ts, quindi confronta i file mirror indicati nell’issue. Traccia GET, la ricostruzione del template e il PATCH di corsFetch, verificando come vengono gestiti volumes e volumeMounts tra i container. Il lavoro è completato quando il salvataggio di una connessione File System conserva i mount esistenti /home/site/wwwroot e gli altri mount, e l’app continua ad avviarsi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Platform
Azure Logic Apps Hybrid (runtime hosted on Azure Container Apps via a connected/Arc environment + custom location). Confirmed by internal repro (ADO 38598433). A parallel non-hybrid (Logic Apps Standard on App Service) path exists in the same client and is noted below.
Summary
Saving/creating a File System connection issues a raw ARM PATCH on the container app in which the /home/site/wwwroot volume mount is removed and its mountPath is repointed to the file-share mount instead. The runtime then can't find /home/site/wwwroot (host.json, workflow content), and the app fails to come up.
Internal repro (ADO 38598433, "[LA Hybrid] – App setting update is corrupting the volume mount configuration"):
the portal is messing up the volume mount in the PATCH request (removing
/home/site/wwwrootand setting it to the fileshare name instead).
Where it happens (code)
FileSystemConnectionCreationClient.ts, hybrid branch:
- AzureUX-LogicAppsPortal (prod portal, ADO):
src/Extension/Client/React/Services/FileSystemConnectionCreationClient.ts—connectionCreationFunc,if (isHybrid)(~L167–247). A mirror also exists atsrc/Extension/Client/CodelessWorkflows/Services/FileSystemConnectionCreationClient.ts. - LogicAppsUX (OSS designer):
apps/Standalone/src/designer/app/AzureLogicAppsDesigner/Services/FileSystemConnectionCreationClient.ts.
The flow:
GETthe container app and reconstruct a partial payload — keeping onlylocation,extendedLocation,properties.environmentId, andproperties.template.{volumes, containers[].{name,image,volumeMounts,env}}(dropsproperties.configuration,workloadProfileName,managedEnvironmentId,tags,systemData, and any container fields beyond the four mapped) (~L176–190).- Prepend the new share to
volumes/volumeMounts(~L216–230). - Raw
PATCHthe reconstructed object back viacorsFetch(~L232–241).
Root cause (hypothesis, code-grounded)
The client reconstructs and re-sends the whole template from a client-side GET rather than sending a minimal, additive delta. Because the reconstructed template.volumes/volumeMounts become the source of truth on write-back, any staleness or drift in the fetched revision — or a sibling flow that also reconstructs the template (e.g. the app-settings update path in the ADO repro) — results in the reserved /home/site/wwwroot mount being dropped or repointed. Reconstruct-and-PATCH of template is inherently fragile for a resource whose volume mounts must be preserved exactly.
Suggested fix direction
- Do not reconstruct the container-app
template. Re-fetch the latest revision and send an additive change that preserves all existingvolumes/volumeMounts(and every othertemplate/configurationfield), keyed by a stable connector-specific volume name so the reserved/home/site/wwwrootmount is never touched. - Guard the reserved mount explicitly (never emit a
volumeMountwhosemountPathis/home/site/wwwrootfor a connector volume). - Handle all containers, not only
containers[0].
Impact
High — the app becomes unbootable after saving a File System connection (or, per the ADO repro, after an app-settings update on a hybrid app). Runtime is down until the mount is restored.
References
- Internal work item: https://msazure.visualstudio.com/Antares/_workitems/edit/38598433 ("[LA Hybrid] – App setting update is corrupting the volume mount configuration", State: Done — but the File System connector path exhibits the same reconstruct-and-PATCH fragility).
- Companion issue: #9439 (adding a new File System connector duplicates/overrides existing volume mount settings).
- Lingua principale
- TypeScript
- Stelle
- 114
- Fork
- 115
- Merge medio
- 1g 3h
- PR unite (30g)
- 40
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/LogicAppsUX
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
Azure/LogicAppsUX#9747 ·
I maintainer di solito rispondono entro 1 giorno
-
Invalid helplink referenceForse già presa @Prefix42 l’ha presa 4 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
Azure/LogicAppsUX#9734 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Azure/LogicAppsUX#9594 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Azure/LogicAppsUX#9590 ·
I maintainer di solito rispondono entro 1 giorno
-
[Portal] In the Quick Start blade on Consumption Logic apps, the Get Started links are all brokenApertabug Portal priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Azure/LogicAppsUX#9505 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/LogicAppsUX
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ardia-browser/ardia#4778 ·
I maintainer di solito rispondono entro 1 giorno
-
[M09] Silence parser misreads ffmpeg times in scientific notation (6.25e-05 → 6.25 s)Forse già presa @G-darshan-32 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
clipy-recorder/clipy#164 · 1 commento ·
-
bug from-app needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nightly-labs/openbot#18462 ·
I maintainer di solito rispondono entro 1 giorno
-
Fast and light shell approval "Always allow" button shows raw English backticks and scrambles commands in ArabicForse già presa @tylerbea l’ha presa oggi. Apertaagent-ui bug p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Windows: Ctrl+C / Ctrl+V not working in chat input boxForse già presa @PranavTJ-05 l’ha presa oggi. Apertacomp/desktop desktop/chat desktop/shell os/windows P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
NousResearch/hermes-agent#161023 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno