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 "ACTOR_" env vars #398

Merged
merged 2 commits into from
Jul 2, 2023
Merged

feat: add "ACTOR_" env vars #398

merged 2 commits into from
Jul 2, 2023

Conversation

jirimoravcik
Copy link
Member

Some stuff to discuss:

  1. Is it better to create a separate dict ACTOR_ENV_VARS or should it just be placed inside ENV_VARS with some weird prefix? (since there are already variables like ACTOR_RUN_ID which points to APIFY_ACTOR_RUN_ID)
  2. ACTOR_MAX_PAID_DATASET_ITEMS is in the original ENV_VARS dict and it's the only one not prefixed with APIFY_, which is quite inconsistent. Should it be moved/duplicated? (and it's also missing from the actor spec)

@github-actions github-actions bot added this to the 66th sprint - Platform team milestone Jun 28, 2023
@github-actions github-actions bot added t-platform Issues with this label are in the ownership of the platform team. tested Temporary label used only programatically for some analytics. labels Jun 28, 2023
Copy link
Member

@fnesveda fnesveda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the naming will always be a mess here, I'm afraid. I think having a second dict is the best choice, and I would move the ACTOR_MAX_PAID_DATASET_ITEMS there (cc @mhamas).

Not sure how we'll deal with this on the SDK side though, consuming and merging these env vars will be a pain.

@mhamas
Copy link
Contributor

mhamas commented Jun 29, 2023

sounds good to me, just please work closely with delivery and tooling team so that actors are not broken.

@jirimoravcik jirimoravcik merged commit d87095e into master Jul 2, 2023
@jirimoravcik jirimoravcik deleted the feature/actor-env-vars branch July 2, 2023 14:27
@fnesveda fnesveda added the validated Issues that are resolved and their solutions fulfill the acceptance criteria. label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-platform Issues with this label are in the ownership of the platform team. tested Temporary label used only programatically for some analytics. 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.

4 participants