Azure / Azure/azure-functions-python-worker

[Bug] Function App will not work when deployed using Github Actions.

未关闭
#1,722 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:python-functions bug deployment-related
主要语言
Python
星标
357
派生
116
平均合并
32 分钟
30 天内合并 PR
1

描述

### Expected Behavior

I have been trying for days to get this to work.
I can deploy my function app from the VS Code extension and it works fine.
I am deploying using Github Actions, the exact script that is generated for me by Azure.
All my tests are passing in my Github Actions pipeline.
There are no errors in the pipeline.
It says deployment was successful. After deployment my function cannot be found.

It is SO frustrating to me that I can easily deploy using a click from VS Code, but the EXACT SAME CODE, pushed in the exact way that Azure recommends, does not work.

### Actual Behavior

_No response_

### Steps to Reproduce

_No response_

### Relevant code being tried

```shell

```

### Relevant log output

```shell

```

### requirements.txt file

```shell

```

### Where are you facing this problem?

Local - Core Tools

### Function app name

_No response_

### Additional Information

_No response_

贡献指南

打开贡献指南

调研方向

首先比较成功的 VS Code 部署与 Azure 生成的 GitHub Actions 工作流。需要提供可复现的部署步骤、工作流、requirements.txt 和部署日志,然后才能隔离故障。完成标准是:部署后可以发现该函数,并且该函数能够通过 GitHub Actions 正常工作。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, github-actions, python
领域
backend, ci-cd, cloud
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。