The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
ci(e2e): reload the stack config every 7s so the harness propagation budget holds, and only mask credential-named values
Yuneng Jiang1c4e46f17e81
diff --git a/.github/e2e-stack/secrets_to_env.py b/.github/e2e-stack/secrets_to_env.pyindex 65022931d81..d2d6675d690 100644--- a/.github/e2e-stack/secrets_to_env.py+++ b/.github/e2e-stack/secrets_to_env.py@@ -1,9 +1,12 @@+import reimport sysfrom pathlib import Path+from typing import Finalfrom pydantic import TypeAdaptersecrets_adapter: TypeAdapter[dict[str, str]] = TypeAdapter(dict[str, str])+SECRET_NAME: Final = re.compile(r"KEY|SECRET|TOKEN|PASS|CREDENTIAL|LICENSE|AUTH")def main() -> int:@@ -18,8 +21,8 @@ def main() -> int:lines = tuple(f"{key}='{value}'" for key, value in secrets.items() if value)with env_path.open("a") as handle:_ = handle.write("\n".join(lines) + "\n")- for value in secrets.values():- if value:+ for key, value in secrets.items():+ if value and SECRET_NAME.search(key):_ = sys.stdout.write(f"::add-mask::{value}\n")return 0diff --git a/tests/e2e/gateway/stage_mirror_ci_config.yml b/tests/e2e/gateway/stage_mirror_ci_config.ymlindex 57a92fd47fb..21664c2d0a1 100644--- a/tests/e2e/gateway/stage_mirror_ci_config.yml+++ b/tests/e2e/gateway/stage_mirror_ci_config.yml@@ -1,4 +1,5 @@general_settings:+ proxy_config_reload_interval_seconds: 7store_prompts_in_spend_logs: truedatabase_connection_pool_limit: 10forward_client_headers_to_llm_api: false