Azure / Azure/azure-functions-core-tools
Unnecessary call to sync triggers during zip package deployment?
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 5d 4h
- Merged PRs (30d)
- 15
Description
`func azure functionapp publish` makes an explicit call to sync triggers as the last step of a run-from-zip deployment (`shouldSyncTriggers` is not set to `false` [here](https://github.com/Azure/azure-functions-core-tools/blob/dab8daca606d1a6f398b01b6f29ce8f081c34ec9/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs#L317-L321)).
Is this necessary? I was fairly sure that sync happened automatically as part of zip deployment, including for run-from-zip.
Contributor guide
Research direction
Start in src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs at lines 317-321 and trace the run-from-zip deployment flow. Verify whether zip deployment already syncs triggers automatically and whether the explicit final call is necessary. Done means the behavior is confirmed and the issue has a clear decision about retaining or removing the redundant sync.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100