Azure / Azure/azure-functions-python-worker

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

オープン
#1,722 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:python-functions bug deployment-related
主要言語
Python
スター
357
フォーク
116
平均マージ
32分
マージ済み PR(30日)
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、デプロイログが issue に必要です。GitHub Actions によるデプロイ後に関数を検出でき、動作すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, github-actions, python
領域
backend, ci-cd, cloud
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。