From ab714d0814ae3538ccaa800391bfd35749be0749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Nesveda?= Date: Wed, 11 Dec 2024 11:45:36 +0100 Subject: [PATCH] feat: Add `ACTOR_FULL_NAME` and `ACTOR_BUILD_TAGS` environment variables (#1320) New environment variables are being added to the Actor runtime, better have them documented. --- .../development/programming_interface/environment_variables.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/platform/actors/development/programming_interface/environment_variables.md b/sources/platform/actors/development/programming_interface/environment_variables.md index 81ed60088..a25fb9ce9 100644 --- a/sources/platform/actors/development/programming_interface/environment_variables.md +++ b/sources/platform/actors/development/programming_interface/environment_variables.md @@ -23,9 +23,11 @@ Here's a table of key system environment variables: | Environment Variable | Description | |----------------------|-------------| | `ACTOR_ID` | ID of the Actor. | +| `ACTOR_FULL_NAME` | Full technical name of the Actor, in the format `owner-username/actor-name`. | | `ACTOR_RUN_ID` | ID of the Actor run. | | `ACTOR_BUILD_ID` | ID of the Actor build used in the run. | | `ACTOR_BUILD_NUMBER` | Build number of the Actor build used in the run. | +| `ACTOR_BUILD_TAGS` | A comma-separated list of tags of the Actor build used in the run. Note that this environment variable is assigned at the time of start of the Actor and doesn't change over time, even if the assigned build tags change. | | `ACTOR_TASK_ID` | ID of the Actor task. Empty if Actor is run outside of any task, e.g. directly using the API. | | `ACTOR_EVENTS_WEBSOCKET_URL` | Websocket URL where Actor may listen for [events](/platform/actors/development/programming-interface/system-events) from Actor platform. | | `ACTOR_DEFAULT_DATASET_ID` | Unique identifier for the default dataset associated with the current Actor run. |