Skip to content

feat(examples): read MOBILERUN_API_KEY first - #5

Merged
lutz-grex merged 1 commit into
mainfrom
feat/api-key-env-name
Nov 12, 2026
Merged

lutz-grex merged 1 commit into
mainfrom
feat/api-key-env-name

Conversation

@lutz-grex

Copy link
Copy Markdown
Contributor

Summary

The examples read the API key from MOBILERUN_API_KEY, the name the Mobilerun SDKs use. They still accept the older MOBILERUN_CLOUD_API_KEY when the new name is unset or empty, so existing .env files keep working.

Changes

  • webhook-file-receiver (Python) and task-runner (TypeScript) read MOBILERUN_API_KEY first and pass the key to the SDK explicitly.
  • .env.example files and READMEs show MOBILERUN_API_KEY; error messages name it.

Testing

  • webhook-file-receiver: pytest 14 passed.
  • task-runner: bun test 18 passed, bun run typecheck clean.

Runtime

n/a (examples only).

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@lutz-grex
lutz-grex requested a review from RasulOs November 12, 2026 18:10
@lutz-grex
lutz-grex merged commit bf95db2 into main Nov 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants