Skip to content

Block functionapp creation after runtime EOL and warn if within 6 months #26631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Francisco-Gamino opened this issue Nov 7, 2024 · 2 comments
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Functions

Comments

@Francisco-Gamino
Copy link
Contributor

Francisco-Gamino commented Nov 7, 2024

Description

The New-AzFunctionApp cmdlet pulls the function app runtime definitions from the Stacks API. Currently, only runtimes that have not reached EOL are available for function app creation. This issue is to update this code path and display a warning when the runtime version is approaching EOL within 6 months.

6 months before EOL:
Upgrade your app to <'Functions'/language runtime> <latest available functions/stack version> as <current functions/stack runtime version> will reach end-of-life on <EOL date> and will no longer be supported. Learn more: aka.ms/FunctionsStackUpgrade.

Example:
Upgrade your app to Node.js 22 as Node.js 18 will reach end-of-life on April 30 2025 and will no longer be supported. Learn more: aka.ms/FunctionsStackUpgrade.

After EOL:
Upgrade your app to <'Functions'/language runtime> <latest available functions/stack version> as <current functions/stack runtime version> has reached end-of-life on <EOL date> and is no longer supported. Learn more: aka.ms/FunctionsStackUpgrade.

Issue script & Debug output

N/A

Environment data

N/A

Module versions

N/A

Error output

N/A

@Francisco-Gamino Francisco-Gamino added bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Nov 7, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Nov 7, 2024
@Francisco-Gamino Francisco-Gamino self-assigned this Nov 7, 2024
@Francisco-Gamino Francisco-Gamino changed the title Write a warning when the user creates a function app with a version that will reach EOL within 12 months. Write a warning when the user creates a function app with a version that will reach EOL within 6 months. Dec 5, 2024
@MadhuraBharadwaj-MSFT
Copy link

Action Condition Behavior Error/warning message
Creating a New Function App      
  No Functions version and/or stack version is provided Default to Functions v4 and the latest stack version N/A
  Provided Functions version and/or stack version is out of support Block creation with an error message. "Use Functions/Stack version as <stack/functions runtime version> has reached end-of-life on and is no longer supported. Learn more: aka.ms/FunctionsStackUpgrade"
  Provided Functions version and/or stack version will be out of support in less than 6 months Allow creation with warning message. "Use Functions/Stack version as <stack/functions runtime version> will reach end-of-life on and will no longer be supported. Learn more: aka.ms/FunctionsStackUpgrade"
Updating an Existing Function App      
  Functions version and/or stack version is out of support Allow update with warning message. "Upgrade to Functions/Stack version as <stack/functions runtime version> has reached end-of-life on and is no longer supported. Learn more: aka.ms/FunctionsStackUpgrade"
  Functions version and/or stack version will be out of support in less than 6 months Allow update with warning message. "Use Functions/Stack version as <stack/functions runtime version> will reach end-of-life on and will no longer be supported. Learn more: aka.ms/FunctionsStackUpgrade"
Deploying to an Existing Function App      
  Functions version and/or stack version is out of support Allow deployment with warning message. "Upgrade to Functions/Stack version as <stack/functions runtime version> has reached end-of-life on and is no longer supported. Learn more: aka.ms/FunctionsStackUpgrade"
  Functions version and/or stack version will be out of support in less than 6 months Allow deployment with warning message. "Use Functions/Stack version as <stack/functions runtime version> will reach end-of-life on and will no longer be supported. Learn more: aka.ms/FunctionsStackUpgrade"

@Francisco-Gamino Francisco-Gamino changed the title Write a warning when the user creates a function app with a version that will reach EOL within 6 months. Block function app creation after runtime EOL and warn if within 6 months May 10, 2025
@Francisco-Gamino
Copy link
Contributor Author

/cc @amamounelsayed

@Francisco-Gamino Francisco-Gamino changed the title Block function app creation after runtime EOL and warn if within 6 months Block functionapp creation after runtime EOL and warn if within 6 months May 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Functions
Projects
None yet
Development

No branches or pull requests

3 participants