Skip to content

fix: prevent modifying local input.json file#1042

Draft
l2ysho wants to merge 5 commits intomasterfrom
1035-dont-touch-my-inputjson-file-when-executing-apify-run-command
Draft

fix: prevent modifying local input.json file#1042
l2ysho wants to merge 5 commits intomasterfrom
1035-dont-touch-my-inputjson-file-when-executing-apify-run-command

Conversation

@l2ysho
Copy link
Copy Markdown
Contributor

@l2ysho l2ysho commented Mar 17, 2026

No description provided.

@l2ysho l2ysho self-assigned this Mar 17, 2026
@l2ysho l2ysho linked an issue Mar 17, 2026 that may be closed by this pull request
@github-actions github-actions bot added this to the 136th sprint - Tooling team milestone Mar 17, 2026
@github-actions github-actions bot added t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics. labels Mar 17, 2026
@l2ysho l2ysho marked this pull request as ready for review March 17, 2026 21:57
@l2ysho l2ysho requested a review from vladfrangu as a code owner March 17, 2026 21:57
@l2ysho l2ysho marked this pull request as draft March 18, 2026 08:57
l2ysho and others added 3 commits April 1, 2026 16:32
Instead of modifying the user's INPUT.json to inject schema defaults,
write merged defaults to a separate __CLI_INPUT.json temp file and
redirect the SDK via ACTOR_INPUT_KEY/APIFY_INPUT_KEY/CRAWLEE_INPUT_KEY
env vars. The temp file is cleaned up after the run completes.

Also extracts input key resolution into src/lib/input-key.ts module,
respects custom input keys from env vars (#960), and fixes env var
merge order so CLI-set vars take priority over process.env (#1035).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Don't touch my INPUT.json file when executing apify run command

2 participants