ci(api-tests): install gaia-agent-email so email routes mount#1939
Conversation
The API Tests workflow installs the routing and code hub packages but not gaia-agent-email, so the email REST router never mounts and every /v1/email test in tests/test_api.py fails with 404 — red on main since the email agent moved to a standalone hub wheel. Install it alongside the other hub packages.
|
Proof: this PR's own "API Tests" run executes the fixed workflow and passes — the job that has been red on main (and every PR) since the email hub migration. Runs: skipped-as-draft → labeled |
|
Verdict: Approve This adds one One thing worth a quick double-check before you flip this out of draft: the email test classes guard their setup with 🔍 Technical details🟢 Verify the failure mode was 404, not skip (non-blocking) At the failing commit Scope check (clean): Strengths
|
|
Verdict: Approve ✅ This adds one 🔍 Technical detailsStrengths
No issues found. Nothing to change. |
The "API Tests" check has been red on every branch including main since the email agent moved to a standalone hub wheel: the workflow installs the routing and code hub packages into its venv but not
gaia-agent-email, so the email REST router never mounts and every/v1/emailtest intests/test_api.pyfails with404 {"detail":"Not Found"}. One install line fixes it.Test plan
Evidence
TestEmailTriageEndpoint::test_single_email_in_structured_out:assert 404 == 200.test_api.yml; the failures start with the hub-migration commits that followed.