diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 0b643ceb7..7336393a0 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -11366,10 +11366,12 @@ "RUNTIME_TYPE_DOTNET_FRAMEWORK", "RUNTIME_TYPE_DOTNET_CORE", "RUNTIME_TYPE_NATIVE", - "RUNTIME_TYPE_ROADRUNNER" + "RUNTIME_TYPE_ROADRUNNER", + "RUNTIME_TYPE_GRAAL_AOT", + "RUNTIME_TYPE_KOTLIN" ], "default": "RUNTIME_TYPE_UNSPECIFIED", - "description": " - RUNTIME_TYPE_UNSPECIFIED: Should never actually be set, exists to follow convention of having a default.\nSDKs should just leave `runtimes` empty if none can be determined." + "description": " - RUNTIME_TYPE_UNSPECIFIED: Should never actually be set, exists to follow convention of having a default.\nSDKs should just leave `runtimes` empty if none can be determined.\n - RUNTIME_TYPE_GRAAL_AOT: Report when the application is compiled ahead-of-time as a GraalVM native image.\n - RUNTIME_TYPE_KOTLIN: Report when any registered Workflow or Activity implementation is a Kotlin class." }, "UpdateTaskQueueConfigRequestRateLimitUpdate": { "type": "object", diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 2aa7c45bf..ad03541a4 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -12320,6 +12320,8 @@ components: - RUNTIME_TYPE_DOTNET_CORE - RUNTIME_TYPE_NATIVE - RUNTIME_TYPE_ROADRUNNER + - RUNTIME_TYPE_GRAAL_AOT + - RUNTIME_TYPE_KOTLIN type: string description: The type of the runtime. format: enum diff --git a/temporal/api/worker/v1/message.proto b/temporal/api/worker/v1/message.proto index 05c9e5b45..acbbe05ed 100644 --- a/temporal/api/worker/v1/message.proto +++ b/temporal/api/worker/v1/message.proto @@ -213,6 +213,10 @@ message EnvironmentInfo { RUNTIME_TYPE_DOTNET_CORE = 8; RUNTIME_TYPE_NATIVE = 9; RUNTIME_TYPE_ROADRUNNER = 10; + // Report when the application is compiled ahead-of-time as a GraalVM native image. + RUNTIME_TYPE_GRAAL_AOT = 11; + // Report when any registered Workflow or Activity implementation is a Kotlin class. + RUNTIME_TYPE_KOTLIN = 12; } // The type of the runtime. RuntimeType type = 1;