cleanup: remove SendGrid dependency — Gmail OAuth covers all email #146
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform!146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "122-remove-sendgrid-dependency-gmail-oauth-c"
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?
Closes #122
Summary
451 Maximum credits exceeded) and was never used in production.westsidebasketball@gmail.com).~/secrets/sendgrid/(local filesystem) and added audit trail to secrets registry.Changes
salt/pillar/secrets_registry.sls— Addedremovedsection withsendgrid_api_keyaudit entry documenting the removal date, reason, and issue reference~/secrets/sendgrid/api_key— Deleted from local filesystem (not tracked in this repo)Discovered Scope
~/secrets/README.mdstill references SendGrid — separate private repo, not this PR's concern.Terraform Changes
N/A — no Terraform files changed. Only Salt pillar metadata updated.
tofu fmtpassed (only gitignoredsecrets.auto.tfvarsflagged)tofu validatepassedREADME Impact
Test Plan
grep -ri sendgrid ~/pal-e-platform/returns zero matches in tracked filesgrep -ri sendgrid ~/pal-e-services/returns zero matchestofu validatepasses~/secrets/sendgrid/directory deletedReview Checklist
Related
Review: LGTM
Files reviewed:
salt/pillar/secrets_registry.sls(11 additions)Findings: Zero issues.
removedsection at correct indentation level undersecrets_registry:tofu validatepasses, no Terraform files changedClean review. Ready for user approval.
PR #146 Review
DOMAIN REVIEW
Tech stack: Salt pillar (YAML metadata). No Terraform, no application code, no container changes.
Scope verification: The diff adds 11 lines to
salt/pillar/secrets_registry.sls-- a newremovedsection undersecrets_registrywith asendgrid_api_keyaudit entry. No lines were deleted. No other files were changed.Completeness check: I searched the entire repo for remaining SendGrid references:
salt/pillar/secrets/-- zero matchesterraform/-- zero matches*.tffiles -- zero matchessendgridmatches are in the newly addedremovedaudit trail block itselfThis confirms SendGrid was never wired into Terraform or Salt secrets pillars in this repo -- the dependency was purely a local filesystem secret (
~/secrets/sendgrid/api_key) and external account. The cleanup is complete for this repo's scope.Salt pillar structure: The
removedsection is placed at the top level ofsecrets_registry, peer toplatform,services,forgejo,sops, andgpg. This is a sensible location for audit trail metadata. The YAML is syntactically valid.Audit trail quality: The entry includes
description,removed_date,removed_by, andreason-- all the fields needed for future traceability. Theremoved_byfield correctly referencesissue #122.BLOCKERS
None.
NITS
Discovered scope tracking: The PR body mentions two discovered scope items: (a)
~/secrets/README.mdstill references SendGrid, and (b) Keycloak SMTP admin console config needs clearing (deferred to #142). Neither has a dedicated Forgejo issue for the README cleanup. Perfeedback_discovered_scope_always_tracked.md, discovered scope always becomes a Forgejo issue + board item. The README cleanup should get its own issue, even if it lives in a private repo.PR body "Related" section: The Related section references
Forgejo issue: #122but does not reference the plan slugplan-pal-e-platform. This is a minor SOP gap.SOP COMPLIANCE
122-remove-sendgrid-dependency-gmail-oauth-cstarts with122plan-pal-e-platformtofu fmtandtofu validateconfirmed passing (N/A for Salt-only change, but PR body confirms)PROCESS OBSERVATIONS
removedsection, so even a YAML error here would have no runtime effect.removedsection with date, reason, issue reference) is a good precedent for future secret deprecations across the platform.VERDICT: APPROVED