Skip to content

Update supported runtimes and test Functions HTTP startup - #75

Merged
shibayan merged 2 commits into
masterfrom
update/runtime-support-and-smoke-tests
Nov 2, 2026
Merged

shibayan merged 2 commits into
masterfrom
update/runtime-support-and-smoke-tests

Conversation

@shibayan

@shibayan shibayan commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

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:

  • Bash syntax checks and git diff whitespace checks passed.
  • Parsed all 18 JSON and 17 YAML files; verified defaults and generated README consistency.
  • Executed the CI matrix generator for all templates, no changes, and one changed template.
  • Mocked checks passed for six startup branches, HTTP and unsupported-language failures, seven version checks, and two version mismatch rejections.
  • Actual container builds and HTTP integration tests passed in CI on both architectures: all 36 runtime/architecture combinations succeeded after the Python Core Tools pin (run 41494183000). Docker is unavailable locally.
    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.

@shibayan shibayan self-assigned this Nov 2, 2026
@shibayan
shibayan requested a balanced review from Copilot November 2, 2026 17:38
@shibayan shibayan added the enhancement New feature or request label Nov 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 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

@shibayan
shibayan merged commit aec1372 into master Nov 2, 2026
37 checks passed
@shibayan
shibayan deleted the update/runtime-support-and-smoke-tests branch November 2, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants