Rebrand from Casera/MyCrib to honeyDue
Total rebrand across all Go API source files: - Go module path: casera-api -> honeydue-api - All imports updated (130+ files) - Docker: containers, images, networks renamed - Email templates: support email, noreply, icon URL - Domains: casera.app/mycrib.treytartt.com -> honeyDue.treytartt.com - Bundle IDs: com.tt.casera -> com.tt.honeyDue - IAP product IDs updated - Landing page, admin panel, config defaults - Seeds, CI workflows, Makefile, docs - Database table names preserved (no migration needed) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Go To Prod Plan
|
||||
|
||||
This document is a phased production-readiness plan for the Casera Go API repo.
|
||||
This document is a phased production-readiness plan for the honeyDue Go API repo.
|
||||
Execute phases in order. Do not skip exit criteria.
|
||||
|
||||
## How To Use This Plan
|
||||
@@ -15,12 +15,12 @@ Goal: eliminate known repo/config drift before hardening.
|
||||
|
||||
### Tasks
|
||||
|
||||
1. Fix stale admin build/run targets in [`Makefile`](/Users/treyt/Desktop/code/MyCribAPI_GO/Makefile) that reference `cmd/admin` (non-existent).
|
||||
2. Align worker env vars in [`docker-compose.yml`](/Users/treyt/Desktop/code/MyCribAPI_GO/docker-compose.yml) with Go config:
|
||||
1. Fix stale admin build/run targets in [`Makefile`](/Users/treyt/Desktop/code/HoneyDueAPI_GO/Makefile) that reference `cmd/admin` (non-existent).
|
||||
2. Align worker env vars in [`docker-compose.yml`](/Users/treyt/Desktop/code/HoneyDueAPI_GO/docker-compose.yml) with Go config:
|
||||
- use `TASK_REMINDER_HOUR`
|
||||
- use `OVERDUE_REMINDER_HOUR`
|
||||
- use `DAILY_DIGEST_HOUR`
|
||||
3. Align supported locales in [`internal/i18n/i18n.go`](/Users/treyt/Desktop/code/MyCribAPI_GO/internal/i18n/i18n.go) with translation files in [`internal/i18n/translations`](/Users/treyt/Desktop/code/MyCribAPI_GO/internal/i18n/translations).
|
||||
3. Align supported locales in [`internal/i18n/i18n.go`](/Users/treyt/Desktop/code/HoneyDueAPI_GO/internal/i18n/i18n.go) with translation files in [`internal/i18n/translations`](/Users/treyt/Desktop/code/HoneyDueAPI_GO/internal/i18n/translations).
|
||||
4. Remove any committed secrets/keys from repo and history; rotate immediately.
|
||||
|
||||
### Validation
|
||||
@@ -42,7 +42,7 @@ Goal: block regressions by policy.
|
||||
|
||||
### Tasks
|
||||
|
||||
1. Update [`/.github/workflows/backend-ci.yml`](/Users/treyt/Desktop/code/MyCribAPI_GO/.github/workflows/backend-ci.yml) with required jobs:
|
||||
1. Update [`/.github/workflows/backend-ci.yml`](/Users/treyt/Desktop/code/HoneyDueAPI_GO/.github/workflows/backend-ci.yml) with required jobs:
|
||||
- `lint` (`go vet ./...`, `gofmt -l .`)
|
||||
- `test` (`go test -race -count=1 ./...`)
|
||||
- `contract` (`go test -v -run "TestRouteSpecContract|TestKMPSpecContract" ./internal/integration/`)
|
||||
@@ -72,7 +72,7 @@ Goal: guarantee deploy safety for API behavior and schema changes.
|
||||
|
||||
### Tasks
|
||||
|
||||
1. Keep OpenAPI as source of truth in [`docs/openapi.yaml`](/Users/treyt/Desktop/code/MyCribAPI_GO/docs/openapi.yaml).
|
||||
1. Keep OpenAPI as source of truth in [`docs/openapi.yaml`](/Users/treyt/Desktop/code/HoneyDueAPI_GO/docs/openapi.yaml).
|
||||
2. Require route/schema updates in same PR as handler changes.
|
||||
3. Add migration checks in CI:
|
||||
- migrate up on clean DB
|
||||
@@ -166,7 +166,7 @@ Goal: make production behavior measurable and actionable.
|
||||
- queue depth/retry spikes
|
||||
- DB latency
|
||||
4. Add dead-letter queue review and replay procedure.
|
||||
5. Document incident runbooks in [`docs/`](/Users/treyt/Desktop/code/MyCribAPI_GO/docs):
|
||||
5. Document incident runbooks in [`docs/`](/Users/treyt/Desktop/code/HoneyDueAPI_GO/docs):
|
||||
- DB outage
|
||||
- Redis outage
|
||||
- push provider outage
|
||||
|
||||
Reference in New Issue
Block a user