Skip to content

Fix: preserve env vars when starting proxy#15

Merged
mslipper merged 2 commits into
mainfrom
mslipper/proxy-env-vars
Apr 7, 2026
Merged

Fix: preserve env vars when starting proxy#15
mslipper merged 2 commits into
mainfrom
mslipper/proxy-env-vars

Conversation

@mslipper

@mslipper mslipper commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

The proxy is started with sudo setsid bash -c '...' which strips the calling process's environment. This means users can't configure the proxy via environment variables (e.g. OTEL_* for OTLP export). Adding --preserve-env to the sudo call passes the GitHub Actions environment through to the proxy process.

mslipper added 2 commits April 6, 2026 23:03
Use sudo --preserve-env so that GitHub Actions environment variables
(e.g. OTEL_* for OTLP configuration) are passed through to the proxy
process.
@mslipper mslipper merged commit c0b0f45 into main Apr 7, 2026
4 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.

1 participant