Proto commits in Azure/azure-functions-host

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:4e7af56
Author:Emma Dang
Committer:Shyju Krishnankutty

Parsing scenario file

Commit:eaaab6e
Author:sarah
Committer:GitHub

Update protobuf file to v1.10.0 (#9405)

The documentation is generated from this commit.

Commit:a088a33
Author:Sarah Vu

add clarifying comment for default strat, add examples

Commit:0ef1add
Author:Sarah Vu

update comment

Commit:f7a068b
Author:Sarah Vu

resolve comments

Commit:0e2e68a
Author:Sarah Vu

update comment

Commit:a775b01
Author:Sarah Vu

update strategies enum

Commit:c1bdc6c
Author:Sarah Vu

initial wip

Commit:d9f04cf
Author:sarah
Committer:GitHub

Updating protobuf file to v1.9.0-protofile (#9277) * Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.9.0-protofile

Commit:b87ac7b
Author:Sarah Vu

update protofile with retry options

Commit:38a2d10
Author:Shreyas Gopalakrishna
Committer:GitHub

Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.8.0-protofile. Commit: e6d025a4a9961e705c36c9aeda7bbb646209bdaa (#9057)

Commit:e6d025a
Author:Shreyas Gopalakrishna
Committer:GitHub

Add new message to support worker warmup (#84)

Commit:f0db459
Author:Shyju Krishnankutty
Committer:GitHub

Upgrading proto files to v1.7.1-protofile release. (#9023)

Commit:90ed69f
Author:Shyju Krishnankutty
Committer:GitHub

Add capabilities and worker_metadata in env reload response. (#90) * Add capabilities and worker_metadata in env reload response. * reordered the properties for better readability. * comments were associated with incorrect props. fixed.

Commit:4dbb76e
Author:Surgupta
Committer:GitHub

Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.7.0-protofile. Commit: e861ab8f08cf4e2c5dd25341b7fa8a62c5d02645 (#8946)

Commit:a86db18
Author:Surgupta
Committer:GitHub

Add new message to support collection of model-type bindings for OOP workers (#88)

Commit:d1f206f
Author:Naren Soni
Committer:GitHub

Capture the property bag from metadata request and pass it to Function load request (#8895)

Commit:47dc95e
Author:Naren Soni
Committer:GitHub

Updated case of RpcMetadata Properties (#85) (#86) Co-authored-by: Gavin Aguiar <gavin@GavinPC.localdomain> Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com> Co-authored-by: Gavin Aguiar <gavin@GavinPC.localdomain>

Commit:02674d7
Author:gavin-aguiar
Committer:GitHub

Updated case of RpcMetadata Properties (#85) Co-authored-by: Gavin Aguiar <gavin@GavinPC.localdomain>

Commit:29eb45a
Author:github-actions[bot]
Committer:GitHub

[v3.x] Bump protobuf version to v1.5.9-protofile Co-authored-by: Lilian Kasem <likasem@microsoft.com>

Commit:6bfbe19
Author:Lilian Kasem
Committer:GitHub

Bump protobuf version to v1.5.9-protofile (#8880)

Commit:27a28ca
Author:Lilian Kasem
Committer:GitHub

Add new message to support model-type bindings for OOP workers (#83)

Commit:60934a8
Author:kaibocai

update warmup proto

Commit:a92f1f1
Author:Shreyas Gopalakrishna

Add changes for FunctionWarmupRequest

Commit:5efcb0a
Author:Brett Samblanet

worker native telemetry

Commit:1b1a5a2
Author:Lilian Kasem

Sdk-type binding data support

Commit:b25e6ba
Author:Lilian Kasem
Committer:GitHub

[v3.x] Bump protobuf version to v1.5.8-protofile (#8564)

Commit:b0df82c
Author:Surgupta
Committer:GitHub

[v3.x] Updating V3 with protobuf and worker indexing changes (#8576) * Host to fall back on its own indexing if worker denies (#7980) * Added host fall back if worker denies indexing * Added Env in CanWorkerIndex * Calling host if flag useDefaultWorkerIndexing is set to true * Renaming workerFunctionMetadataProvider to AggregateFunctionMetadataProvider * Code cleanup and test fixing * code cleanup and resolving PR comments * Tests * Added tests * Fixing test failures * Code restructuring in AggregateFunctionMetadatProvider * Improved logging and exception * Added method to determine if worker denied indexing * corrected environment variable * Remvoing retry options and config source from proto file in host (#8070) * Sending single load request in case of multiple functions (#8054) * Sending single load request in case of multiple functions. Advertised via capabilities * Adding comment to explain disabled function flow (#8099) * Host to send load request correctly after fallback is requested by the worker (#8200) * fix for hostfallback bug * Added tests * Sending load request * Code refactoring * Added tests * Python sample app update for worker indexing * Refactoring in tests * Worker indexing tests refactoring * variable naming fix * Worker Indexing - Adding log to inform about mixed function app (#8201) * Adding logic to detect mixed app and log it * Added tests * Test logger string * added tests * Tests * Tests refactoring * passing scripthostoptions * Taking scriptpath from scriptJobHostoptions * Added list of legacy functions * Project stein - Adding additional logs and exception handling (#8231) * Added logs and exception handling * minox fixes * Minor improvements in CanWorkerIndex * Mixed app Loglevel setting based on Environment name * Added helper method and its test and link to document * Checking IsCoreTools for logging * Removing customer IsDev method * Adding ability to allow worker to send Function load responses in batch (#8363) * Adding FunctionLoadResponses to send single load response in case of multiple functions * Subscribed to LoadResponseCollection * Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.5.4-protofile. Commit: 576c9de * Removing redundant line * Added failure testcase for LoadRepsonseCollection * Moving event subscription under if else block * Send function outside else block * Tests * Renaming variable * Adding timeout * Cleaning up if-else * Updating protobuf to latest v1.5.8 * Updating logs * Protobuf update * Updating logs in tests

Commit:ad2af77
Author:Surgupta

Protobuf update

Commit:11e97b3
Author:Surgupta

Updating protobuf to latest v1.5.8

Commit:0f54fa8
Author:Surgupta
Committer:Surgupta

Remvoing retry options and config source from proto file in host (#8070)

Commit:bec9745
Author:Surgupta
Committer:Surgupta

Host to fall back on its own indexing if worker denies (#7980) * Added host fall back if worker denies indexing * Added Env in CanWorkerIndex * Calling host if flag useDefaultWorkerIndexing is set to true * Renaming workerFunctionMetadataProvider to AggregateFunctionMetadataProvider * Code cleanup and test fixing * code cleanup and resolving PR comments * Tests * Added tests * Fixing test failures * Code restructuring in AggregateFunctionMetadatProvider * Improved logging and exception * Added method to determine if worker denied indexing * corrected environment variable

Commit:9656fda
Author:Lilian Kasem
Committer:GitHub

Update FunctionRpc.proto

Commit:7586d92
Author:Emma Dang

Merge branch 'dev' into features/harness

Commit:b568b7f
Author:Lilian Kasem
Committer:GitHub

Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.5.8-protofile. Commit: 14b2ba5 (#8480)

Commit:a2d155d
Author:Lilian Kasem
Committer:GitHub

Update FunctionRpc.proto

Commit:c9bf11e
Author:Lilian Kasem
Committer:GitHub

Add back WorkerHeartbeat message to StreamingMessage It seems to have gotten lost in all the changes recently

Commit:d53d247
Author:Lilian Kasem
Committer:GitHub

Update FunctionRpc.proto

Commit:0ed99d7
Author:Emma Dang

Parsing scenario file

Commit:cf41695
Author:Lilian Kasem
Committer:GitHub

Merge branch 'dev' into liliankasem/worker-metadata

Commit:1a846b8
Author:Lilian Kasem
Committer:GitHub

Remove "optional" as properties are optional by default

Commit:68a2bf8
Author:Lilian Kasem

add worker metadata message

Commit:7465f80
Author:Lilian Kasem
Committer:GitHub

Merge pull request #75 from Azure/liliankasem/cleanup-heartbeat Protobuf cleanup

Commit:24fdb0c
Author:Lilian Kasem

cleanup

Commit:6acb129
Author:gavin-aguiar
Committer:GitHub

Added Properties message to RpcFunctionMetadata (#69) * Added RpcFunctionMetadataProperties * Modified metadata messages * Addressed comments * Added a comment for more context

Commit:50d5e24
Author:Maddie Gordon
Committer:GitHub

Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag:v1.5.7-protofile. Commit:6cccbbfbf84d3c21b21236ae34ec0590c032daad (#8432)

Commit:d73b877
Author:Maddie Gordon

revert first commit

Commit:19cfa1e
Author:Maddie Gordon

Revert "remove todo" This reverts commit 877700702026bdbfdbab1cb46632c5e88285c0fb.

Commit:9f7d992
Author:Maddie Gordon
Committer:GitHub

Merge pull request #70 from Azure/magordon/rpcexceptionprotobuf Added fields to RpcException message for surfacing in AppInsights

Commit:8e3a880
Author:Maddie Gordon

comment

Commit:bf43c46
Author:Maddie Gordon

clarify comment

Commit:74fad69
Author:Maddie Gordon

clarify comments

Commit:29411cf
Author:Lilian Kasem
Committer:GitHub

Merge pull request #71 from Azure/liliankasem/cleanup-heartbeat Remove WorkerHearbeat message and cleanup proto file

Commit:8777007
Author:Lilian Kasem

remove todo

Commit:b68606a
Author:Lilian Kasem

Remove heartbeat and cleanup proto

Commit:13722f7
Author:Maddie Gordon

shortened property name for clarity

Commit:cba08cc
Author:Maddie Gordon

added type name and bool for isUserException

Commit:8e6e393
Author:Eric Jizba
Committer:GitHub

Add function app dir to worker init request (#8144) Updated protobuf subtree to tag [v1.5.5-protofile](https://github.com/Azure/azure-functions-language-worker-protobuf/releases/tag/v1.5.5-protofile)

Commit:493e630
Author:Eric Jizba
Committer:GitHub

Add function app dir to worker init request (#67)

Commit:f04b61e
Author:Surgupta
Committer:GitHub

Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.5.4-protofile. Commit: 576c9de (#8106)

Commit:576c9de
Author:Surgupta
Committer:GitHub

Adding field FunctionLoadResponseCollection (#66)

Commit:6cc6dd7
Author:sarah
Committer:GitHub

Bump protobuf version to v1.5.3

Commit:41956da
Author:Sarah Vu

change field from camel case to underscores

Commit:2fecc8b
Author:Lilian Kasem
Committer:GitHub

Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.5.2-protofile. Commit: 0d3f104 (#8072)

Commit:00b0e86
Author:Surgupta
Committer:GitHub

Remvoing retry options and config source from proto file in host (#8070)

Commit:0d3f104
Author:Surgupta
Committer:GitHub

Adding new field to send a list of load requests in case of multiple functions (#63) * Adding field FunctionLoadRequests * Improved naming of new field to FunctionLoadRequestCollection

Commit:67ecc31
Author:Surgupta

Added fields to sync with host

Commit:e9407db
Author:Surgupta
Committer:GitHub

Host to fall back on its own indexing if worker denies (#7980) * Added host fall back if worker denies indexing * Added Env in CanWorkerIndex * Calling host if flag useDefaultWorkerIndexing is set to true * Renaming workerFunctionMetadataProvider to AggregateFunctionMetadataProvider * Code cleanup and test fixing * code cleanup and resolving PR comments * Tests * Added tests * Fixing test failures * Code restructuring in AggregateFunctionMetadatProvider * Improved logging and exception * Added method to determine if worker denied indexing * corrected environment variable

Commit:64be4d3
Author:Sarah Vu

edit streaming message types

Commit:e9d1381
Author:Surgupta

updating function_metadata_results

Commit:d399cb3
Author:Surgupta

updating FunctionMetadataResponse message

Commit:9519b45
Author:Surgupta

Adding useDefaultMetadataIndexing field to FunctionMetadataResponses

Commit:6110ca4
Author:Lilian Kasem
Committer:GitHub

Bump protobuf version v1.5.1-protofile (#7867)

Commit:2fc14be
Author:Lilian Kasem
Committer:GitHub

Merge pull request #58 from brandonh-msft/logmetric-support Adding RpcMetric type to FunctionRpc

Commit:7e52075
Author:Anjana Nandagopal
Committer:GitHub

Worker Indexing Changes (#7606) * Merge dev into branch containing all worker indexing code changes/additions. * Fix test failures by manually adding worker indexing environment variables/worker config variables to test cases. Add null checks to _workerRuntime and workerConfig code sections. * Fix test failures related to FunctionMetadataProviderFactory initialization. * Remove extra line of code in GrpcWorkerChannel and try something for integration tests * Remove unnecessary workerIndexing variable from FunctionMetadataManager * Remove experimental line * Fix build issue by removing unnecessary variable * Add experimental line to see if this fixes integration/non-integration tests * Removed _channels from RpcFunctionInvocationDispatcher, fixed boolean logic in FunctionMetadataProviderFactory * Renaming GRPC messages, fix validation and FinishInitialization * Renamed GrpcWorkerChannel worker indexing functions to match GRPC message names Fixed invocation troubles for worker indexed functions --> was just missing a few lines from ScriptHost * Removed WorkerCapabilities service * Adding utility function for checking worker indexing and also added lots of tests Replaced dispatcher.InitializeAsync(null) with new List<FunctionMetadata> as the parameter instead of null Renamed FunctionMetadataProviderTests as HostFunctionMetadataProviderTests * renaming a some methods and variables, changing some log messages * Removed the dispatcher from GetFunctionMetadata() method, removed the provider factory, updated the tests * Get the worker config based on runtime language * Updated Utility function, skip extension filtering if worker indexing is enabled * fixing tests * Fixed some Utility.CanWorkerIndex tests by adding env variable to testEnv Added new RawFunctionMetadata type Moved Binding parsing logic into WorkerFunctionMetadataProvider * Added retry options and configuration source to RpcFunctionMetadata and ValidateMetadata() validation logic Added simple HttpFunctionInvocationDispatcher implementation for worker indexing functions Cleaned ScriptHost worker indexing logic and WorkerFunctionMetadataProvider logic * Cleaning up some code after reviewing the diff comparison again * Add clarifying comments to new RpcFunctionMetadata attributes * Rename variable in protobuf * Add bundles test for bypassing filtering when worker is indexing Add detailed binding validation logic to WorkerFunctionMetadataProvider Add detailed comments to HTTP dispatcher * Add binding validation tests Throw NotSupportedException in HttpFunctionInvocationDispatcher for worker indexing-related functions * Sending runtime when invoking GetTestFunctionDispatcher * Making changes related to new proto file changes * Removing unnecessary imports * Removing blank line * Making forceRefresh as true in GetFunctionsMetadata Reinitializing functions array Setting env variable in test Removing env variable from tests debugging integration tests Integration tests Debugging integration tests Setting env variable for dotnet Env as node for test OnTimeoutException_OOP_HasExpectedLogs minor debug point minor Fixing test Validate_HostLogs Added extra logs for debugging tests Commenting extra log lines for test to pass * Making IFunctionMetadataProvider.GetFunctionMetadata() an async method (#7796) * Making IFunctionMetadataProvider.GetFunctionMetadata() an async method * Adding await Task.FromResult * Correcting the await operation * Removing duplicate GetFunctionMetadataAsync method * Minor fix * Worker Indexing - Moving common validate logic to utility (#7807) * Moving ValidateBinding to Utility * Moving ValidateFunction to utility and modifying tests to remove dupliation * Fixing PR comments * Removing proxy from message * Removing extra logs used for debugging * updating traces for appinsights node test * Adding comments * AppInsights tests correction * ApplicationInsights test fixing * using GetInitializedWorkerChannelsAsync instead of GetAllWorkerChannelsAsync Co-authored-by: soninaren <nasoni@microsoft.com> Co-authored-by: Surgupta <surgupta@microsoft.com>

Commit:155c7e2
Author:Sarah Vu

clarifying that function load request resultsare returned

Commit:40346d6
Author:Sarah Vu

typo fix

Commit:cfb70aa
Author:Sarah Vu

add suggested changes

Commit:3560519
Author:Brandon H
Committer:Brandon H

leaving properties as serialized string, making new propertiesMap on rpc log

Commit:c380c90
Author:Brandon H
Committer:Brandon H

Adding RpcMetric type to FunctionRpc * Changes RpcLog to use map<string, TypeData> for 'properties' property * Adds CustomMetric as RpcLog.LogCategory type Metrics are logged with name (string) & value (double) in the 'properties' content, and LogCategory == CustomMetric

Commit:746863e
Author:Anjana Nandagopal
Committer:GitHub

Add worker indexing message types to protobuf (#56) Added messages to handle worker indexing pipeline

Commit:cb93815
Author:Anjana Nandagopal
Committer:GitHub

Added new GRPC message types for worker indexing, along with relevant functions and tests (#7541) Added new GRPC message types for worker indexing. Added functions into GrpcWorkerChannel to handle sending requests and receiving responses form the worker. Added test to check functionality of new worker channel functions.

Commit:80d8e45
Author:Alexey Rodionov
Committer:Alexey Rodionov

Adding retry context properties to InvocationRequest

Commit:466445a
Author:Alexey Rodionov
Committer:GitHub

Adding RetryContext to InvocationRequest (Resolves #52)

Commit:325de5b
Author:Gohar Irfan Chaudhry
Committer:GitHub

Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: 1.4.0-protofile. Commit: b90500b151ed759c17cb94f57faeddab3901541c (#6896) Co-authored-by: pragnagopa <pgopa@microsoft.com>

Commit:b90500b
Author:Gohar Irfan Chaudhry
Committer:GitHub

Add support for Shared memory data (#51)

Commit:7c81c0d
Author:Marie Hoeger
Committer:GitHub

Add nullable http proto (#6585)

Commit:eb8abdb
Author:Marie Hoeger
Committer:GitHub

Add nullable properties (#50)

Commit:da6e114
Author:Pragna Gopa
Committer:GitHub

[V2]Add worker_directory to WorkerInitRequest (#6441) (#6467)

Commit:d244f5c
Author:Pragna Gopa
Committer:GitHub

Add worker_directory to WorkerInitRequest (#6441)

Commit:8db40c8
Author:Pragna Gopa
Committer:GitHub

Add worker_directory (#48)

Commit:e7a5851
Author:Marie Hoeger
Committer:Yogesh Jagadeesan

Add ability to set samesite=none in out of proc http cookies (#5757) * add ability to set samesite=none in out of proc http cookies * update test

Commit:7131fb4
Author:Marie Hoeger
Committer:GitHub

Add ability to set samesite=none in out of proc http cookies (#5757) * add ability to set samesite=none in out of proc http cookies * update test

Commit:b3f7851
Author:Marie Hoeger
Committer:GitHub

samesite none (#45)

Commit:025b68b
Author:Marie Hoeger
Committer:GitHub

Send function app directory at specialization (#5256) * Send function app directory at specialization * Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.3.6-protofile. Commit: 66534f077c9fe20fb774c2eee3d2a9af91fedfdd * update proto name and add tests * added test to be fixed later * disable flaky test

Commit:66534f0
Author:Marie Hoeger
Committer:GitHub

Add current directory to be able to reload that (#44) * Add current directory to be able to reload that * rename

Commit:48e2fb2
Author:Yogesh
Committer:Yogesh Jagadeesan

Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.3.5-protofile. Commit: a12f76345e2286ed3772ab4a9d8527af11899af2

Commit:a12f763
Author:Yogesh
Committer:Yogesh Jagadeesan

Revert "Update Python worker imports to use proper paths (#39)" This reverts commit e13f4a2f75ad00ac173335a04c1acd611e722587.

Commit:3d787ad
Author:Yogesh Jagadeesan
Committer:GitHub

Merge pull request #38 from yojagad/SystemLogData Add RpcLogCategory enum

Commit:8c00486
Author:Yogesh
Committer:Yogesh

Added RpcLogCategory