Skip to content

buck2_test: add an allowlist for env-vars in buckconfig#28

Open
lf- wants to merge 1 commit into
mercury-headfrom
jade/push-loxoosvvlnuy
Open

buck2_test: add an allowlist for env-vars in buckconfig#28
lf- wants to merge 1 commit into
mercury-headfrom
jade/push-loxoosvvlnuy

Conversation

@lf-

@lf- lf- commented Jul 24, 2026

Copy link
Copy Markdown

This allows consumers to allowlist environment variables without patching buck itself. Concretely, my motivation on this is propagating things like OpenTelemetry endpoints into test harnesses: at Mercury we have a fancy test harness which starts postgres and stuff around tests which we would like to have observability for.

We would like to not make that Facebook's problem, thus the buckconfig addition.

A bit :vibed:. The e2e tests are completely :vibed: since we can't run them outside fb so I haven't looked hard at them at all, so feel free to hack them up.

This allows consumers to allowlist environment variables without
patching buck itself. Concretely, my motivation on this is propagating
things like OpenTelemetry endpoints into test harnesses: at Mercury we
have a fancy test harness which starts postgres and stuff around tests
which we would like to have observability for.

We would like to *not* make that Facebook's problem, thus the
buckconfig addition.
@lf-
lf- requested review from a team, 9999years, dtpowl and parsonsmatt July 24, 2026 21:37
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