feat(tests): add onboarding test script#150
Merged
Merged
Conversation
…and OPENAI_API_KEY to match remote env vars from secret manager
…and add usage notes
…les are set, especially in the coder environment
…clarify API key handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns proxy credential env vars with the bootcamp secret manager (
PROXY_*→OPENAI_*), adds a repo-root onboarding integration test suite for live credential verification, and updates setup docs/notebooks to explain the Coder vs local credential model and theonboardCLI workflow.Clickup Ticket(s): Link(s) if applicable.
Type of Change
Changes Made
PROXY_BASE_URL/PROXY_API_KEY→OPENAI_BASE_URL/OPENAI_API_KEYacross the library (AgentConfig,LLMPredictorConfig), implementations, playground scripts, and docs — matching names injected byaieng-platform-onboardfrom the secret managertests/test_integration.pywith live checks for Vector proxy LLM inference, Langfuse auth, and E2B code execution; shared helpers intests/conftest.py;integration_testpytest marker registered inpyproject.tomlonboardcommands;.env.exampleclarifies which keys are shell-injected vs.env-local;00_environment_check.ipynbupdated with setup instructions and the new env var names;planning-docs/vector-llm-proxy.mdupdatedaieng-platform-onboard>=0.7.2in root dev deps;aieng-agents[code-interpreter]minimum bumped to>=0.3.1Testing
uv run pytest tests/)uv run mypy <src_dir>)uv run ruff check src_dir/)Manual testing details:
eval "$(onboard --bootcamp-name agentic-forecasting --test-script tests/test_integration.py)"passes all three integration checksuv run pytest tests/test_integration.py -vpasses with onboard-injected keys00_environment_check.ipynbruns top-to-bottom on Coder and locallyuv run pytest -m "not integration_test" tests implementations/testsScreenshots/Recordings
N/A
Related Issues
Deployment Notes
Breaking change for local setups: rename
PROXY_BASE_URL/PROXY_API_KEYtoOPENAI_BASE_URL/OPENAI_API_KEYin any existing.envfiles. Code that passedproxy_base_url/proxy_api_keytoAgentConfigorLLMPredictorConfigmust useopenai_base_url/openai_api_keyinstead.On Coder workspaces, bootcamp keys are injected into the shell by onboarding. Only personal keys (e.g.
FRED_API_KEY) belong in.env.Checklist