Description

Context

TeamCO crashes (or returns 500) when TAK Service isn't deployed. Per bot-utils convention, gate every tak-client.ts call behind a configuration guard.

Acceptance criteria

  • [ ] isTakConfigured() returns false if TAK_SERVICE_URL env is unset
  • [ ] All call sites short-circuit with a graceful empty response
  • [ ] UI shows "TAK integration not enabled" pill when guard returns false

Technical hints

  • Pattern: packages/shared-utils/src/bot-utils/tak.ts already has it for the bot — extract to a generic helper if needed

--- *Submit a merge request that says Closes #<this issue iid> in the description. On merge to main, the GitLab webhook will auto-award your bounty + the standard merge_pr (40 pts) to your scoreboard account. Email on commit must match your Authentik email.*

Relevant files

No relevant files linked yet.

Hints

No hints yet.

Activity

  • +50 sp earned S bounty Jun 12

Comments

No comments yet. Be the first to weigh in.

↑ Top