Skip to content
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

feat: add metaOrigin to Actor.config #320

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Conversation

fnesveda
Copy link
Member

We need to explain to devs how to detect that their Actor was started in Standby mode, and the way to detect it is via the APIFY_META_ORIGIN environment variable. I wanted to add it also to Actor.config, so that we can direct them to Actor.config instead of reading the plain environment variable.

We already have it in the Python SDK: https://github.com/apify/apify-sdk-python/blob/master/src/apify/config.py#L97

@fnesveda fnesveda added adhoc Ad-hoc unplanned task added during the sprint. t-platform Issues with this label are in the ownership of the platform team. labels Aug 14, 2024
@fnesveda fnesveda added this to the 96th sprint - Platform team milestone Aug 14, 2024
@fnesveda fnesveda requested review from B4nan and jirimoravcik August 14, 2024 09:43
@fnesveda fnesveda self-assigned this Aug 14, 2024
@fnesveda fnesveda merged commit 5a4d2eb into master Aug 14, 2024
9 checks passed
@fnesveda fnesveda deleted the feat/meta-origin-to-config branch August 14, 2024 10:03
fnesveda added a commit to apify/apify-docs that referenced this pull request Aug 19, 2024
There were some questions on Discord how to find out if an Actor is
started in Standby mode, or normally. This should answer them.

I've also added a tip about Standby in the Container web server docs.

This needs apify/apify-sdk-js#320 released.
@fnesveda fnesveda added the validated Issues that are resolved and their solutions fulfill the acceptance criteria. label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adhoc Ad-hoc unplanned task added during the sprint. t-platform Issues with this label are in the ownership of the platform team. validated Issues that are resolved and their solutions fulfill the acceptance criteria.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants