microsoft / microsoft/vscode-azurestaticwebapps
SWA Create fails when branch has branch protections preventing commits
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 99
- Forks
- 39
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 2
Description
Does this occur consistently? Yes
Repro steps:
- Follow the steps here - https://docs.microsoft.com/en-us/azure/static-web-apps/getting-started?tabs=vanilla-javascript
- Complete steps in Wizard
- process fails and extension reports Server 500 error
Action: staticWebApps.createStaticWebApp
Error type: 500
Error Message: An error has occurred.
Version: 0.5.0
OS: win32
OS Release: 10.0.19042
Product: Visual Studio Code
Product Version: 1.53.2
Language: en
Call Stack
new RestError extension.bundle.js:48:64839
extension.bundle.js:48:1490514extension.bundle.js:48:1490514
processTicksAndRejections task_queues.js:97:5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure using the linked Azure Static Web Apps getting-started guide, with branch protections enabled, and the staticWebApps.createStaticWebApp action. Start by tracing the extension's handling of the reported Server 500 response; done means this scenario no longer fails with an opaque 500 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript, vscode
- Domain
- cloud, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100