oe-integration-mode-smoke
Supabase connectivity (fastest signal)
-
Export required env vars:
export OE_INTEGRATION_MODE=supabaseexport OE_SUPABASE_URL=...export OE_SUPABASE_KEY=...export OE_TEAM_ID=...export OE_SYSTEM_USER_ID=...- (optional)
export OE_EMAIL_ACCOUNT_ID=...
-
Run the built-in connection validator:
python -m backend.workflows.io.integration.test_connection
Live OpenAI integration lane (only when explicitly needed)
-
Export integration test env vars:
export AGENT_MODE=openaiexport OPENAI_TEST_MODE=1export OPENAI_API_KEY=...
-
Run the integration tests:
pytest backend/tests_integration/ -v
If a test fails
- Prefer fixing the contract in the integration adapter layer first:
backend/workflows/io/integration/adapter.pybackend/workflows/io/integration/field_mapping.pybackend/workflows/io/integration/status_utils.py
Scan to join WeChat group