Skip to content

fix: pass env dict to setup_runtime_environment to preserve CI tokens#11

Merged
danielmeppiel merged 1 commit intomainfrom
fix/runtime-token-passing
Oct 28, 2025
Merged

fix: pass env dict to setup_runtime_environment to preserve CI tokens#11
danielmeppiel merged 1 commit intomainfrom
fix/runtime-token-passing

Conversation

@danielmeppiel
Copy link
Collaborator

The runtime manager was calling setup_runtime_environment() without passing the env dict, which caused it to create a new os.environ.copy() and lose any tokens set in the CI environment.

This fixes integration test failures where GITHUB_TOKEN and other secrets configured in GitHub Actions weren't reaching the runtime setup scripts, causing unauthenticated API requests and rate limiting.

Fixes integration test failures in PR #8 and similar CI environments.

The runtime manager was calling setup_runtime_environment() without
passing the env dict, which caused it to create a new os.environ.copy()
and lose any tokens set in the CI environment.

This fixes integration test failures where GITHUB_TOKEN and other
secrets configured in GitHub Actions weren't reaching the runtime
setup scripts, causing unauthenticated API requests and rate limiting.

Fixes integration test failures in PR #8 and similar CI environments.
@danielmeppiel danielmeppiel merged commit d2b27c3 into main Oct 28, 2025
15 checks passed
@danielmeppiel danielmeppiel deleted the fix/runtime-token-passing branch February 27, 2026 09:41
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.

1 participant