Skip to content

Add capabilities and worker_metadata in env reload response. #90

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

Merged
merged 3 commits into from
Dec 21, 2022
Merged

Conversation

kshyju
Copy link
Member

@kshyju kshyju commented Dec 21, 2022

Add capabilities and worker metadata in env reload response. This is to support changes needed for Azure/azure-functions-host#8983

Currently worker metadata and capabilities are sent in the worker init response. But this is not valid for placeholder & specialization use case. When in placeholder mode, this information is not available. It is available only after specialization (env reload request). So we need to include this information in the env reload response.

I added 1 and 2 as the order for these new props as the existing result property(the only property existed in this type) was using 3. I looked at this history of this and found that PR #20 added this type and status property. This type never had a property with order value 1 and 2. So I am guessing this will not break anything.

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.

5 participants