diff --git a/docs/LAB.md b/docs/LAB.md index 783c6a1b..f5b7104b 100644 --- a/docs/LAB.md +++ b/docs/LAB.md @@ -191,7 +191,8 @@ real data when it is there shows it. ## Run the lab tests ```powershell -pwsh infra/lab/lab.ps1 test # lab integration tests + the real-auth UI E2E, wired to the lab ports +pwsh infra/lab/lab.ps1 test # lab integration tests + the real-auth UI E2E, wired to the lab ports (Web, Api :6080, + # Keycloak, MailHog, Postgres) with a 20-min live-run budget for the Workflow test ``` Without `RUN_AGENTOS_LAB=true` (CI, other machines) every lab test skips with a precise reason. Each test diff --git a/infra/lab/lab.ps1 b/infra/lab/lab.ps1 index bbc0cf69..3d78ef2e 100644 --- a/infra/lab/lab.ps1 +++ b/infra/lab/lab.ps1 @@ -227,6 +227,10 @@ switch ($Command) { $env:AGENTOS_REAL_URL = $WebUrl $env:MAILHOG_URL = 'http://localhost:9025' $env:AGENTOS_KC_URL = 'https://localhost:9080' # Keycloak admin API, for tests that clean up users they create + # The lab's Api (the API-token test otherwise defaults to the dev Api on :5080 and is refused), and a live-run + # budget for the Workflow test: a real 5-agent pipeline on the paired runner takes minutes, not the 90 s default. + $env:AGENTOS_API_URL = 'https://localhost:6080' + if (-not $env:AGENTOS_E2E_RUN_TIMEOUT_SECONDS) { $env:AGENTOS_E2E_RUN_TIMEOUT_SECONDS = '1200' } if ($pgPort) { $env:AGENTOS_PG_CONN = "Host=localhost;Port=$pgPort;Database=agentos;Username=postgres;Password=postgres" } Write-Host '== Lab integration tests (real GitHub / Azure DevOps)' # Tests run from the lab worktree: same code as the running lab, own build output (no dev-checkout locks).