Rolled service refused for its dependency container_name #99

Closed
opened 2026-10-10 06:02:54 +00:00 by ahmad · 0 comments
Owner

Context

deploy-vps refuses a rolled service that sets container_name. It checks with docker compose config <service>, but that command also prints the services the rolled one depends on. So a rolled api that depends on a fixed-name migrate is refused, although the api itself has no fixed name. This blocked rihla deploy run 887 (suhba/rihla#417), which failed before touching any container.

Scope

  • In: look for container_name only inside the rolled service's own block of the rendered config.
  • Out: everything else in the swap.

Acceptance criteria

  • Given a rolled service without container_name that depends on a service with one, when deploying, then the swap proceeds.
  • Given a rolled service with container_name, when deploying, then it is still refused, naming the service.
### Context deploy-vps refuses a rolled service that sets `container_name`. It checks with `docker compose config <service>`, but that command also prints the services the rolled one depends on. So a rolled api that depends on a fixed-name `migrate` is refused, although the api itself has no fixed name. This blocked rihla deploy run 887 (suhba/rihla#417), which failed before touching any container. ### Scope - In: look for `container_name` only inside the rolled service's own block of the rendered config. - Out: everything else in the swap. ### Acceptance criteria - [ ] Given a rolled service without `container_name` that depends on a service with one, when deploying, then the swap proceeds. - [ ] Given a rolled service with `container_name`, when deploying, then it is still refused, naming the service.
ahmad self-assigned this 2026-10-10 06:02:54 +00:00
ahmad 2026-10-10 06:11:04 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
amtronics/platform-actions#99
No description provided.