rdev/internal
jordan 17240f4efd fix(rc-5): add Redis ACL persistence + cache reprovision endpoint
## Changes

### port.Deployer interface
- Add PatchProjectSecrets(ctx, projectName, patch) to merge key-value pairs
  into all K8s secrets labeled project={projectName}
- Add RestartAll(ctx, projectName) to trigger rolling restart of all deployments
  for a project, picking up fresh secrets without waiting for CI

### deployer adapter
- Implement PatchProjectSecrets: lists secrets by label, merges patch into Data,
  writes each secret back
- Implement RestartAll: lists deployments by label, sets restartedAt annotation

### domain/credential.go
- Add CredentialCategoryCache = "cache" constant
- Use constant in component_infra.go (was raw string "cache")

### handlers/cache.go (new)
- POST /projects/{projectID}/cache/reprovision
- Calls CreateProjectCache (which handles delete+recreate with new password)
- Updates credential store (REDIS_URL, REDIS_URL_STAGING, REDIS_PREFIX)
- Patches all K8s secrets for the project immediately
- Triggers RestartAll so pods pick up new credentials without waiting for deploy

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 20:22:31 -07:00
..
adapter fix(rc-5): add Redis ACL persistence + cache reprovision endpoint 2026-02-24 20:22:31 -07:00
auth feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
circuitbreaker chore: accumulated platform hardening and CI fixes 2026-02-10 23:16:56 -07:00
claudebox fix: resolve 7 root causes causing cookbook deployment failures 2026-02-24 18:49:09 -07:00
cmdlimit feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
db feat: add claude_id tracking and session improvements for interactive dev 2026-02-24 00:20:32 -07:00
domain fix(rc-5): add Redis ACL persistence + cache reprovision endpoint 2026-02-24 20:22:31 -07:00
envutil feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
handlers fix(rc-5): add Redis ACL persistence + cache reprovision endpoint 2026-02-24 20:22:31 -07:00
logging fix(logging): implement http.Flusher on responseWriter for SSE streaming 2026-02-09 13:23:42 -07:00
metrics feat(saga): implement enterprise-grade resilience architecture 2026-02-08 01:58:02 -07:00
middleware feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
port fix(rc-5): add Redis ACL persistence + cache reprovision endpoint 2026-02-24 20:22:31 -07:00
ratelimit feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
sanitize feat: Add claude-config API, security hardening, and testing infrastructure 2026-01-25 01:29:13 -07:00
sdlc refactor: add timeout constants for agent execution tiers 2026-02-11 10:48:24 -07:00
service fix(rc-5): add Redis ACL persistence + cache reprovision endpoint 2026-02-24 20:22:31 -07:00
telemetry fix: Use FQDN for k8s service hostnames and remove broken commonLabels 2026-01-31 20:46:04 -07:00
testutil feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
validate feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
webhook chore: accumulated platform hardening and CI fixes 2026-02-10 23:16:56 -07:00
worker fix: resolve 7 root causes causing cookbook deployment failures 2026-02-24 18:49:09 -07:00