#24 · Award scoreboard points when a transport run completes
Last checked with GitLab: . Status comes from GitLab using a 2-minute cache. Merge events clear affected cached statuses. An already-open page does not update itself. Refresh page.
An MR completes this bounty when it is merged into main with Closes #24 and GitLab closes the issue. A mention or an updated timestamp is not completion. Awarded points appear in Activity.
cp .dev.vars.example .dev.vars && pnpm dev, after rebasing on main) and fully test your change before opening the MR.
Description
Decision needed before coding: agree which verified actor receives the existing action/tier and how undelivered awards are reconciled. Run completion must not fail because Scoreboard is down, but a fire-and-forget HTTP attempt alone is not delivery proof. Preserve immutable run/user identity and idempotency; use the existing award helper and verify the actual recorded event.
Earlier scope (historical; current qualification above takes precedence)
Context
TeamCO has playbooks and transport runs but no scoreboard integration. Completing a run or coordinating a workspace is high-value community contribution and should earn points like every other action.
Acceptance criteria
- [ ] On
run.statustransition tocompleted, fire-and-forget POST to scoreboard/api/bot/awardwith actioncomplete_task_mediumandsource_id=run:<id> - [ ] Scoreboard idempotency prevents double-award on retries
- [ ] TeamCO admin can configure point tier per run type (
light,medium,heavy) in app settings - [ ] Failure to reach scoreboard logs a warning but doesn't fail the run completion
Technical hints
- Mirror
apps/event-service/orapps/career-board/scoreboard hook pattern (grep forBOT_API_KEYusage) - Add
BOT_API_KEYtoapps/teamco/wrangler.toml(as secret, not var)
--- *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.*
<!-- bounty-reconciled:2026-10 -->
Relevant files
No relevant files linked yet.
Hints
No hints yet.
Activity
No points have been awarded for this bounty yet.
Comments
Sign in to join the discussion.
No comments yet. Be the first to weigh in.