{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/Azure-Functions/issues/585","repository_url":"https://api.github.com/repos/Azure/Azure-Functions","labels_url":"https://api.github.com/repos/Azure/Azure-Functions/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/Azure/Azure-Functions/issues/585/comments","events_url":"https://api.github.com/repos/Azure/Azure-Functions/issues/585/events","html_url":"https://github.com/Azure/Azure-Functions/issues/585","id":272995410,"node_id":"MDU6SXNzdWUyNzI5OTU0MTA=","number":585,"title":"Reprioritizing PowerShell support in the Azure Functions runtime","user":{"login":"KirkMunro","id":3515485,"node_id":"MDQ6VXNlcjM1MTU0ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/3515485?v=4","gravatar_id":"","url":"https://api.github.com/users/KirkMunro","html_url":"https://github.com/KirkMunro","followers_url":"https://api.github.com/users/KirkMunro/followers","following_url":"https://api.github.com/users/KirkMunro/following{/other_user}","gists_url":"https://api.github.com/users/KirkMunro/gists{/gist_id}","starred_url":"https://api.github.com/users/KirkMunro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KirkMunro/subscriptions","organizations_url":"https://api.github.com/users/KirkMunro/orgs","repos_url":"https://api.github.com/users/KirkMunro/repos","events_url":"https://api.github.com/users/KirkMunro/events{/privacy}","received_events_url":"https://api.github.com/users/KirkMunro/received_events","type":"User","site_admin":false},"labels":[{"id":486872920,"node_id":"MDU6TGFiZWw0ODY4NzI5MjA=","url":"https://api.github.com/repos/Azure/Azure-Functions/labels/lang-PowerShell","name":"lang-PowerShell","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Azure/Azure-Functions/milestones/2","html_url":"https://github.com/Azure/Azure-Functions/milestone/2","labels_url":"https://api.github.com/repos/Azure/Azure-Functions/milestones/2/labels","id":2492279,"node_id":"MDk6TWlsZXN0b25lMjQ5MjI3OQ==","number":2,"title":"Backlog","description":"","creator":{"login":"christopheranderson","id":2252976,"node_id":"MDQ6VXNlcjIyNTI5NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/2252976?v=4","gravatar_id":"","url":"https://api.github.com/users/christopheranderson","html_url":"https://github.com/christopheranderson","followers_url":"https://api.github.com/users/christopheranderson/followers","following_url":"https://api.github.com/users/christopheranderson/following{/other_user}","gists_url":"https://api.github.com/users/christopheranderson/gists{/gist_id}","starred_url":"https://api.github.com/users/christopheranderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopheranderson/subscriptions","organizations_url":"https://api.github.com/users/christopheranderson/orgs","repos_url":"https://api.github.com/users/christopheranderson/repos","events_url":"https://api.github.com/users/christopheranderson/events{/privacy}","received_events_url":"https://api.github.com/users/christopheranderson/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2017-05-01T18:45:34Z","updated_at":"2018-04-12T20:13:43Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2017-11-10T16:53:32Z","updated_at":"2018-06-21T16:29:56Z","closed_at":null,"author_association":"NONE","body":"The Azure Functions Team is going the wrong way when it comes to PowerShell support. Your wiki docs currently state the following:\r\n\r\n**For v1 of the AzFx Runtime**\r\n\r\n- PS support is experimental (aka not supported) using PowerShell 4.0, with no plans to upgrade to version 5 (not surprising given that you are using a custom Windows build behind the scenes, so upgrading is not trivial)\r\n- Azure Automation is recommended (full support for running PowerShell scripts, but overkill for many tasks compared to using Azure Functions)\r\n\r\n**For v2 of the AzFx Runtime (cross-platform support, currently in preview)**\r\n\r\n- you have chosen not to bring forward PowerShell support in the form that it is currently in (this is a good thing)\r\n- you have no clear plans for supporting PowerShell in v2, but this could happen at a later time (this, not so much)\r\n- generally you will not release any language support in v2 if it doesn't have an architecture that allows it to scale and to support advanced triggers\r\n\r\nThis paints a pretty poor picture for PowerShell use with Azure Functions, which is really a shame given how useful Azure Functions are and how powerful they can be with PowerShell support in them (although the \"support\" part can be worked around -- just write C# functions that invoke PowerShell cmdlets).\r\n\r\nWhat will it take to get you to reprioritize this, such that you work with the PowerShell Team to get PowerShell Core support in v2 of the AzFx runtime, hopefully designed and implemented in a much better way than how you implemented PowerShell experimental support in the v1 runtime?"},"comment":{"url":"https://api.github.com/repos/Azure/Azure-Functions/issues/comments/399164930","html_url":"https://github.com/Azure/Azure-Functions/issues/585#issuecomment-399164930","issue_url":"https://api.github.com/repos/Azure/Azure-Functions/issues/585","id":399164930,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTE2NDkzMA==","user":{"login":"KirkMunro","id":3515485,"node_id":"MDQ6VXNlcjM1MTU0ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/3515485?v=4","gravatar_id":"","url":"https://api.github.com/users/KirkMunro","html_url":"https://github.com/KirkMunro","followers_url":"https://api.github.com/users/KirkMunro/followers","following_url":"https://api.github.com/users/KirkMunro/following{/other_user}","gists_url":"https://api.github.com/users/KirkMunro/gists{/gist_id}","starred_url":"https://api.github.com/users/KirkMunro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KirkMunro/subscriptions","organizations_url":"https://api.github.com/users/KirkMunro/orgs","repos_url":"https://api.github.com/users/KirkMunro/repos","events_url":"https://api.github.com/users/KirkMunro/events{/privacy}","received_events_url":"https://api.github.com/users/KirkMunro/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T16:29:56Z","updated_at":"2018-06-21T16:29:56Z","author_association":"NONE","body":"Having worked with PowerShell in Azure Functions for a while now, the biggest problem I have is the Azure Function architecture, with multiple instances of functions run in a single process. It makes the whole notion of serverless go out the window when it comes to PowerShell, because there is no isolation from one Azure Function endpoint running PowerShell to the next if they are in the same Azure Function App. You have to think about whether or not different function instances use different versions of modules, or whether or not those modules do any caching, and if so, make sure they are in completely different function apps so that they are not run in the same worker processes, all of which is contrary to the notion of serverless where you shouldn't need to think about such details. I'm hoping that the Azure Function v2 runtime with container support and .NET core resolves this for me, such that individual invocations of Azure Functions are run isolated from one another in containers so that I don't need to think about any conflicts with modules or issues with caching performed by modules."}}
{"actor":{"display_login":"KirkMunro"}}