rdev/internal/service
jordan 3247ce3ca0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: worker deployments and JWT_SECRET auto-provisioning
RC-1: Workers now get a Kubernetes Deployment on component creation.
NeedsPort() (port assignment) was incorrectly used to gate Deployment
creation - workers have no HTTP port but still need a Deployment so
CI `kubectl set image` can succeed. Added NeedsDeployment() returning
true for service/worker/app-react/app-astro/app-nextjs. AddIngressPath
is now guarded by port > 0 so workers don't attempt HTTP routing.

RC-2: JWT_SECRET is now auto-provisioned per-project when the first
code component is added. The skeleton service template fatally requires
JWT_SECRET at startup; previously fetchProjectCredentials() never fetched
it. ensureProjectJWTSecret() generates a cryptographically random 32-byte
secret, stores it as "{projectID}:JWT_SECRET", and JWT_SECRET is now
included in projectScopedKeys so it's injected into every deployment.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 03:42:53 -07:00
..
apikey_service_test.go feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
apikey_service.go feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
architect_service.go fix(architect): handle missing projects in repo, add cookbook hooks/validation 2026-02-11 02:25:40 -07:00
blueprint_service.go feat(foundary): implement complete backend for conversational project design 2026-02-09 00:50:46 -07:00
build_progress_test.go chore: prepare for composable monorepo template implementation 2026-01-31 11:39:28 -07:00
build_progress.go chore: prepare for composable monorepo template implementation 2026-01-31 11:39:28 -07:00
build_service_test.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
build_service.go refactor: add timeout constants for agent execution tiers 2026-02-11 10:48:24 -07:00
checkout_service.go feat(sessions): add command execution endpoint and activity tracking 2026-02-13 08:41:05 -07:00
component_batch.go fix: go.work race condition with batch components and idempotent provisioning 2026-02-05 12:31:40 -07:00
component_deploy.go fix: worker deployments and JWT_SECRET auto-provisioning 2026-02-23 03:42:53 -07:00
component_infra.go fix(templates): upgrade Go to 1.25 and fix Woodpecker syntax 2026-02-08 23:57:38 -07:00
component_listing.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
component_test.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
component_updates_test.go fix(templates): harden component CI steps and compile regexes 2026-02-09 19:36:23 -07:00
component_updates.go fix(templates): harden component CI steps and compile regexes 2026-02-09 19:36:23 -07:00
component.go fix: worker deployments and JWT_SECRET auto-provisioning 2026-02-23 03:42:53 -07:00
conversation_service.go feat(foundary): implement complete backend for conversational project design 2026-02-09 00:50:46 -07:00
diagnostics_service_test.go feat(saga): implement enterprise-grade resilience architecture 2026-02-08 01:58:02 -07:00
diagnostics_service.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
mock_test.go fix: wire workService to WorkersHandler and add /work/tasks endpoint 2026-02-06 10:35:39 -07:00
operation_service.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
project_infra_crud.go feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
project_infra_domains.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
project_infra.go feat: hook in notify service for per-project email delivery 2026-02-21 00:30:32 -07:00
project_service_agent.go fix: go.work race condition with batch components and idempotent provisioning 2026-02-05 12:31:40 -07:00
project_service_commands.go fix: go.work race condition with batch components and idempotent provisioning 2026-02-05 12:31:40 -07:00
project_service_queue.go feat: Add multi-provider code agent interface with Claude Code and OpenCode adapters 2026-01-27 09:25:51 -07:00
project_service_test.go feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
project_service.go feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
question_service.go feat(foundary): implement complete backend for conversational project design 2026-02-09 00:50:46 -07:00
saga_executor.go feat(saga): implement enterprise-grade resilience architecture 2026-02-08 01:58:02 -07:00
sdlc_callback_test.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
sdlc_callback.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
sdlc_generate_test.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
sdlc_generate.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
sdlc_orchestrator_test.go refactor: add timeout constants for agent execution tiers 2026-02-11 10:48:24 -07:00
sdlc_orchestrator.go refactor: add timeout constants for agent execution tiers 2026-02-11 10:48:24 -07:00
sdlc_service_test.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
sdlc_service.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
session_service_test.go feat(sessions): add command execution endpoint and activity tracking 2026-02-13 08:41:05 -07:00
session_service.go feat(sessions): add command execution endpoint and activity tracking 2026-02-13 08:41:05 -07:00
verify_service.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
work_service_test.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
work_service.go fix: wire workService to WorkersHandler and add /work/tasks endpoint 2026-02-06 10:35:39 -07:00
worker_service_test.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
worker_service.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00