You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #180 covers deadline reminder email behavior. We need a deployed scheduling mechanism that runs CMP reminder logic without tying it to web requests.
We do not need Lambda for this. EventBridge should start a one-off ECS task using the CMP image.
Current environment note: CMP deploys to dev via CI/CD, and Datamailer currently has only a sandbox deployment. There is no Datamailer production environment for this work.
Desired runtime
EventBridge schedule -> ECS RunTask with CMP image -> uv run python manage.py send_deadline_reminders -> Datamailer enqueue/list-send API -> exit
The scheduled command should be quick. It should compute eligible reminder windows, create/trigger Datamailer work, and exit. Datamailer handles slow per-recipient sending asynchronously.
Repo-side implementation and documentation are in place. The remaining step is external AWS IAM/scheduler state: grant the CI deploy user the documented permissions, or provide an existing Scheduler role ARN, then rerun the Configure Deadline Reminders workflow and verify the EventBridge schedule exists.
Context
Issue #180 covers deadline reminder email behavior. We need a deployed scheduling mechanism that runs CMP reminder logic without tying it to web requests.
We do not need Lambda for this. EventBridge should start a one-off ECS task using the CMP image.
Current environment note: CMP deploys to dev via CI/CD, and Datamailer currently has only a sandbox deployment. There is no Datamailer production environment for this work.
Desired runtime
The scheduled command should be quick. It should compute eligible reminder windows, create/trigger Datamailer work, and exit. Datamailer handles slow per-recipient sending asynchronously.
Desired behavior
send_deadline_remindersmanagement command if not already implemented by Add deadline reminder emails for homework, projects, and peer reviews #180.--enqueue-onlyor equivalent mode if needed so the command never waits for delivery.Acceptance criteria
uv run python manage.py send_deadline_reminders.Related: #180
Current blocker
Repo-side implementation and documentation are in place. The remaining step is external AWS IAM/scheduler state: grant the CI deploy user the documented permissions, or provide an existing Scheduler role ARN, then rerun the
Configure Deadline Remindersworkflow and verify the EventBridge schedule exists.