Skip to content

Give the dashboard task MDredd's URL and API token - #229

Merged
pradhamk merged 1 commit into
mainfrom
mdredd-task-env
Oct 3, 2026
Merged

pradhamk merged 1 commit into
mainfrom
mdredd-task-env

Conversation

@pradhamk

@pradhamk pradhamk commented Oct 3, 2026

Copy link
Copy Markdown
Member

Summary

Judging (#228) needs two settings to reach MDredd:

  • MDREDD_API_URL=https://mdredd.mhacks.org, a plain environment value.
  • MDREDD_API_TOKEN, from /mhacks-secrets/MDREDD_API_TOKEN. That's the SSM parameter mhacks/infra#11 created for MDredd.

⚠️ Merge order

Don't merge until mhacks/infra#13 is applied. Until then, the dashboard's execution role can't read the MDredd token. ECS would fail to start the new task, and the deploy's circuit breaker would roll back.

Also deploy MDredd (mhacks/MDredd#27) first. Then check that https://mdredd.mhacks.org/health returns 200. If MDredd isn't up, the judging pages show "Could not reach the judging server" instead of failing.

Test plan

  • infra#13 applied
  • https://mdredd.mhacks.org/health returns 200
  • After CD, the dashboard task starts. /admin/teams/judging loads without the "not set up" message.

🤖 Generated with Claude Code

Judging (#228) needs MDREDD_API_URL and MDREDD_API_TOKEN to reach MDredd.
The token comes from the SSM parameter infra created for MDredd; the
dashboard's execution role can read it once mhacks/infra#13 is applied.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@pradhamk
pradhamk marked this pull request as ready for review October 3, 2026 20:59
@pradhamk
pradhamk merged commit cdf3717 into main Oct 3, 2026
1 check passed
@pradhamk
pradhamk deleted the mdredd-task-env branch October 3, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant