Repository navigation
Update supported runtimes and test Functions HTTP startup - #75
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The six-language HTTP startup tests and PowerShell base-image selection still need real AMD64/ARM64 container CI results, since the reported mocks do not establish worker compatibility or successful invocation.
No open issues 🎉
What changed in this PR
This PR refreshes runtime choices in the Azure Functions dev container templates and expands CI from tool checks to local HTTP function integration tests.
Changes:
- Updates runtime defaults and proposals, adds Core Tools 4.16.0, and documents support deadlines and hosting restrictions.
- Selects .NET 8 or .NET 10 base images for PowerShell 7.4 and 7.6, respectively.
- Tests every proposed runtime on AMD64 and ARM64, with runtime verification, HTTP invocation, bounded host startup, failure logs, and cleanup.
| File | Description |
|---|---|
test/test-utils/test-utils.sh |
Makes the check label local to prevent overwriting caller state. |
test/test-utils/run-template-checks.sh |
Adds selected-runtime verification and HTTP integration checks. |
test/test-utils/functions-http-test.sh |
Generates and invokes language-specific HTTP functions with startup limits and cleanup. |
src/azure-functions-python/devcontainer-template.json |
Removes Python 3.10, adds Core Tools 4.16.0, and bumps the template version. |
src/azure-functions-powershell/README.md |
Documents PowerShell 7.6 as the default. |
src/azure-functions-powershell/devcontainer-template.json |
Defaults to PowerShell 7.6, adds Core Tools 4.16.0, and bumps the version. |
src/azure-functions-node/devcontainer-template.json |
Removes Node.js 20, adds Core Tools 4.16.0, and bumps the version. |
src/azure-functions-java/devcontainer-template.json |
Adds Core Tools 4.16.0 and bumps the version. |
src/azure-functions-go/README.md |
Documents Go 1.27 as the default. |
src/azure-functions-go/devcontainer-template.json |
Updates Go choices to 1.26/1.27, defaults to 1.27, and adds Core Tools 4.16.0. |
src/azure-functions-dotnet/devcontainer-template.json |
Adds Core Tools 4.16.0 and bumps the version. |
README.md |
Updates runtime availability and documents support deadlines, hosting limits, and CI validation. |
prebuild/azure-functions-powershell/.devcontainer/Dockerfile |
Selects the .NET base image by PowerShell version. |
prebuild/azure-functions-powershell/.devcontainer/devcontainer.json |
Passes the runtime version into the Docker build. |
.github/workflows/test-pr.yml |
Generates runtime-by-architecture test combinations with job timeouts. |
.github/actions/smoke-test/test.sh |
Passes the expected runtime into tests and adds exit-trap cleanup. |
.github/actions/smoke-test/build.sh |
Accepts, validates, and applies the selected runtime version. |
.github/actions/smoke-test/action.yml |
Exposes the runtime-version input to build and test steps. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the templates to default to Go 1.27 and PowerShell 7.6, remove end-of-life Go 1.24/1.25, Node.js 20, and Python 3.10 proposals, and add Core Tools 4.16.0 as an explicit option. PowerShell 7.6 uses a .NET 10 base, while 7.4 retains its .NET 8 base. Keep .NET 8/9 and PowerShell 7.4 available until their November 10, 2026 support deadline, and document that deadline and Azure hosting-plan restrictions.
Expand pull request CI to cover every proposed runtime on AMD64 and ARM64 (36 combinations when all templates change). Verify the selected runtime and invoke a generated language-specific HTTP function against the local Functions host with Azurite. Include bounded startup, failure logs, and cleanup.
Validation:
Python ARM64 follow-up: the initial CI passed 32 runtime/architecture combinations and failed all four Python ARM64 combinations with worker import errors. This matches confirmed upstream issue 4.16.0 linux-arm64: Python workers missing source files Azure/azure-functions-core-tools#5772: Linux ARM64 Python worker sources are missing from Core Tools 4.14.0–4.16.0. The Python template now defaults to the last known working 4.13.0 on both architectures, with the upstream issue and unpinning condition documented in NOTES.md and the READMEs. All eight Python runtime/architecture tests remain enabled.