rdev/internal/service
jordan 2612de8446
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: inject SERVICE_NAME/SERVICE_PORT for app components in batch path
AddComponentBatch was missing the SERVICE_NAME injection that AddComponent
has. When an app-react component (e.g. creator-ui) was rendered via the
batch endpoint alongside a service component, {{SERVICE_NAME}} in App.tsx.tmpl
was never substituted — rendering the literal string into the repo.

Fix: scan the batch's own code requests for a service component first
(since the service isn't in the DB yet during batch processing), then
fall back to findFirstServiceComponent from DB.

This is the same AddComponent vs AddComponentBatch parity gap that caused
the JWT_SECRET issue (RC-2). The auth API URL in every app-react project
was broken when deployed via the batch endpoint.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 11:52:03 -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: inject SERVICE_NAME/SERVICE_PORT for app components in batch path 2026-02-23 11:52:03 -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: handle missing Redis credentials and redis.Nil in provisioner 2026-02-23 05:19:00 -07:00
component_listing.go feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
component_test.go fix: handle missing Redis credentials and redis.Nil in provisioner 2026-02-23 05:19:00 -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