Remove dead exec-aide-reminder Lambda (INFRA-37) #54
No reviewers
Labels
No labels
app
bug
ci
compliance
dependencies
docs
documentation
duplicate
enhancement
good first issue
help wanted
infra
invalid
javascript
python
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: adam/exec-aide#54
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "INFRA-37-remove-dead-reminder-lambda"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Removes the
exec-aide-reminderLambda and all resources that exclusively supported it. The Lambda had 0 invocations in 90 days and no EventBridge rule or schedule targets it. Adam approved the deletion (INFRA-37).Resources removed:
exec-aide-reminderLambda function (EmailPipelineReminderAE2EAC7C)EmailPipeline/Reminder/ServiceRoleand its default policyexec-aide-reminder-schedulerIAM role (EmailPipeline/ReminderSchedulerRole) and its default policyLogRetentioncustom resource for the reminder Lambda log groupConversation Lambda updated:
REMINDER_FN_ARNandREMINDER_SCHEDULER_ROLE_ARNenv varsscheduler:CreateSchedule,scheduler:DeleteSchedule, andiam:PassRolegrants from conversation Lambda's policycreate_remindertool definition and_handle_create_reminderhandler fromconversation/tools.pyconversation/app.pysystem promptSource deleted:
src/reminder/directory (exclusively this Lambda's handler — confirmed by grep, nothing else imports it).Validation
npx tsc --noEmit: clean, no errorscdk synth: succeedscdk diff: shows only reminder-related resources destroyed ([-]for Lambda, ServiceRole, ServiceRole/DefaultPolicy, LogRetention, ReminderSchedulerRole, ReminderSchedulerRoleDefaultPolicy) and reminder env vars + policies removed from conversation Lambda. No other Lambda's configuration changed.Tests
No automated tests exist in this repo. The stack synthesizes cleanly and diff confirms the scope is correct.
Notes
Ready for deploy-then-merge per handbook workflow.
cdk deploywill be run before merging. This is a net removal of IAM roles and policies — lower-risk direction.