Some checks failed
Aegis CI / lint-and-test (push) Has been cancelled
Root causes found for Tempo worklogs never reaching Tempo: 1. Wrong API region: workspace is on api.eu.tempo.io/4 but code used api.tempo.io/4 → Tempo returned "User is invalid" (400) for all POST /worklogs 2. Trailing space in jira_account_id stored in DB (now stripped with .strip()) 3. tempo_synced field was never updated even on success (now set from Tempo response) Fix: add tempo.base_url system_config key (admin-configurable without redeploy), fall back to TEMPO_BASE_URL env-var, then global default. DB already updated with https://api.eu.tempo.io/4 for this workspace. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>