Skip to content

Conversation

hallvictoria
Copy link
Contributor

@hallvictoria hallvictoria commented Aug 14, 2025

Issue describing the changes in this PR

In worker.config, a new property called minimumSupportedRuntimeVersion will be added. This will be the oldest supported version for each language. Any version older is EOL. Example: Azure/azure-functions-python-worker#1740

This adds a new check when formatting the worker path to see if the language version used by the customer is older than the minimum supported version (aka, is EOL). If so, the host will log a warning message informing customers that their language version is old, and they should update.

This check will work for languages where the version is defined as major.minor (Python - 3.9) or major (Node - 20).

(aka.ms link to be created)

Pull request checklist

IMPORTANT: Currently, changes must be backported to the in-proc branch to be included in Core Tools and non-Flex deployments.

  • Backporting to the in-proc branch is not required
    • Otherwise: Link to backporting PR
  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • My changes do not require diagnostic events changes
    • Otherwise: I have added/updated all related diagnostic events and their documentation (Documentation issue linked to PR)
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Additional PR information

@@ -202,6 +208,22 @@ internal void FormatWorkerPathIfNeeded(ISystemRuntimeInformation systemRuntimeIn
DefaultRuntimeVersion = GetSanitizedRuntimeVersion(version);
}

if (!string.IsNullOrEmpty(MinimumSupportedRuntimeVersion) && !string.IsNullOrEmpty(DefaultRuntimeVersion))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I /think/ DefaultRuntimeVersion now holds the updated language version that's being used instead of version, but if that's incorrect please lmk!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant