Skip to content

Report full Python runtime version in worker metadata - #1957

Open
Tsuyoshi Ushio (TsuyoshiUshio) wants to merge 1 commit into
Azure:devfrom
TsuyoshiUshio:tsuyoshiushio-python-worker-full-runtime-version
Open

Tsuyoshi Ushio (TsuyoshiUshio) wants to merge 1 commit into
Azure:devfrom
TsuyoshiUshio:tsuyoshiushio-python-worker-full-runtime-version

Conversation

@TsuyoshiUshio

Copy link
Copy Markdown

Description

Report the full Python runtime version, including patch and prerelease versions, in worker metadata. The host can expose this in its status response: Azure/azure-functions-host#12213.

Discussion: external telemetry consumers may rely on the current major.minor format.

Fixes: N/A


Pull Request Checklist

Host-Worker Contract

  • Does this PR impact the host-worker contract (e.g., gRPC messages, shared interfaces)?
    • If yes, have the changes been applied to:
      • azure_functions_worker (Python <= 3.12)
      • proxy_worker (Python 3.13-3.14)
      • r2p2 (Python >= 3.15)
    • If no, please explain why:

The existing metadata field now contains the full version. Proxy worker and R2P2 forward the value from runtimes/v1 and runtimes/v2; no protobuf schema change is needed.

Worker Execution Logic

  • Does this PR affect worker execution logic (e.g., function invocation, bindings, lifecycle)?
    If yes, please answer the following:

No; this changes reported metadata only.

Python Version Coverage

  • Does this change apply to all supported worker models?
  • If yes, have the changes been made to:
    • azure_functions_worker (Python <= 3.12)
    • proxy_worker (Python 3.13-3.14)
    • r2p2 (Python >= 3.15)
    • runtimes/v1 / runtimes/v2 (Python >= 3.13)
  • If no, please explain why:

Programming Model Compatibility (proxy_worker and r2p2)

  • Does this change apply to both:
    • V1 programming model (runtimes/v1)?
    • V2 programming model (runtimes/v2)?
  • Explanation (if limited to one model):

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

This branch has not been deployed

No deployments
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