Skip to content

feat: Expose missing platform env vars via Actor.get_env()#984

Open
vdusek wants to merge 2 commits into
masterfrom
fix/expose-env-vars
Open

feat: Expose missing platform env vars via Actor.get_env()#984
vdusek wants to merge 2 commits into
masterfrom
fix/expose-env-vars

Conversation

@vdusek

@vdusek vdusek commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Part of the v4 major-release cleanup.

Configuration already reads ACTOR_STORAGES_JSON, ACTOR_TEST_PAY_PER_EVENT, APIFY_ACTOR_PRICING_INFO, and APIFY_CHARGED_ACTOR_EVENT_COUNTS, but Actor.get_env() silently omitted them because the matching members were missing from the vendored ActorEnvVars / ApifyEnvVars enums. This adds the four members so get_env() surfaces them.

@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Jun 12, 2026
@vdusek vdusek self-assigned this Jun 12, 2026
@github-actions github-actions Bot added this to the 142nd sprint - Tooling team milestone Jun 12, 2026
@github-actions github-actions Bot added the tested Temporary label used only programatically for some analytics. label Jun 12, 2026
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.95%. Comparing base (0daca28) to head (321fdea).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #984      +/-   ##
==========================================
+ Coverage   89.90%   89.95%   +0.04%     
==========================================
  Files          49       49              
  Lines        3091     3095       +4     
==========================================
+ Hits         2779     2784       +5     
+ Misses        312      311       -1     
Flag Coverage Δ
e2e 35.99% <100.00%> (+0.08%) ⬆️
integration 56.96% <100.00%> (+0.08%) ⬆️
unit 78.77% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vdusek vdusek changed the title fix: Expose missing platform env vars via Actor.get_env() feat: Expose missing platform env vars via Actor.get_env() Jun 12, 2026
@vdusek vdusek requested a review from Pijukatel June 12, 2026 16:39
@vdusek vdusek marked this pull request as ready for review June 12, 2026 16:39
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-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants