I have a Python Function App on the Flex Consumption plan whose deployed package (released-package.zip) is repeatedly being overwritten with an outdated version approximately every 20-40 minutes, with no corresponding deployment event anywhere I can find.
Environment:
- Function App:
analytics-ingest (Linux, Python 3.11, Flex Consumption)
- Deployment storage:
defaultresourcegrou990e / container app-package-analytics-ingest-d0bd37e
- Deployed via GitHub Actions using
Azure/functions-action@v1
Symptom: A specific file inside my deployed function (function.json, containing a timer trigger schedule) keeps reverting from my intended hourly schedule back to an old daily schedule. I've confirmed this by checking the Last Modified timestamp on released-package.zip directly via az storage blob show, and it changes repeatedly without any new GitHub Actions run in my repo's history.
What I've ruled out:
- No new GitHub Actions workflow run occurs when the revert happens (confirmed via Actions history)
- Not caused by any local script/cron/LaunchAgent on my own machine (checked directly)
- Not related to Azure Cloud Shell (confirmed ephemeral, doesn't retain state between sessions)
- Removing
remote-build: true from the deployment workflow did not stop it (reverted again 12 minutes after a clean redeploy without that flag)
- No Automation Accounts or Logic Apps exist in this subscription
Evidence gathered: I enabled StorageWrite diagnostic logging on the storage account and confirmed writes to this container are made using the Function App's own managed identity (App ID f511c258-d644-492f-9de3-6de829abf656), from internal Azure IP addresses (172.24.x.x range), with kudu as the user agent — but I haven't yet captured the exact write event that causes the revert (only the writes from my own manual redeployments so far).
Question: Is there any known Flex Consumption platform behavior — related to rolling updates, instance specialization, or package caching — that could cause the deployed package to periodically revert to a previous version without an explicit deployment? Or is this indicative of something else I should be looking for?I have a Python Function App on the Flex Consumption plan whose deployed package (released-package.zip) is repeatedly being overwritten with an outdated version approximately every 20-40 minutes, with no corresponding deployment event anywhere I can find.
Environment:
- Function App:
analytics-ingest (Linux, Python 3.11, Flex Consumption)
- Deployment storage:
defaultresourcegrou990e / container app-package-analytics-ingest-d0bd37e
- Deployed via GitHub Actions using
Azure/functions-action@v1
Symptom: A specific file inside my deployed function (function.json, containing a timer trigger schedule) keeps reverting from my intended hourly schedule back to an old daily schedule. I've confirmed this by checking the Last Modified timestamp on released-package.zip directly via az storage blob show, and it changes repeatedly without any new GitHub Actions run in my repo's history.
What I've ruled out:
- No new GitHub Actions workflow run occurs when the revert happens (confirmed via Actions history)
- Not caused by any local script/cron/LaunchAgent on my own machine (checked directly)
- Not related to Azure Cloud Shell (confirmed ephemeral, doesn't retain state between sessions)
- Removing
remote-build: true from the deployment workflow did not stop it (reverted again 12 minutes after a clean redeploy without that flag)
- No Automation Accounts or Logic Apps exist in this subscription
Evidence gathered: I enabled StorageWrite diagnostic logging on the storage account and confirmed writes to this container are made using the Function App's own managed identity (App ID f511c258-d644-492f-9de3-6de829abf656), from internal Azure IP addresses (172.24.x.x range), with kudu as the user agent — but I haven't yet captured the exact write event that causes the revert (only the writes from my own manual redeployments so far).
Question: Is there any known Flex Consumption platform behavior — related to rolling updates, instance specialization, or package caching — that could cause the deployed package to periodically revert to a previous version without an explicit deployment? Or is this indicative of something else I should be looking for?