Skip to content

feat(roadmap): use the two-container template for the resolve unit #7280

Backlog

Description

@devops-cli-service

Split from #4805.

Problem: the owner decision of 2026-11-13 requires the resolve unit to use the two-container template after #5506 merges. Why deferred: #5506 gives the model container of a unit no credential, so the template cannot be built or tested now. The resolver can be built and tested without it. Acceptance criteria: After #5506 merges, the resolve unit uses the two-container template. A person runs uv run devops ci --check --only k8s and the check passes with no error for the resolve unit.

Proposed design

Problem statement

The resolve unit must use the two-container template, and the gate is #5506. The owner decision of 2026-11-13 requires the template: one model container and one resolver container in one pod. The model container has a credential until #5506 merges, so the template cannot be built or tested before that merge. The change edits the manifest of the resolve unit and builds no code.

Acceptance criteria

Requirement: Two-container resolve unit

The resolve unit SHALL use the two-container template with a model container and a resolver container in one pod.

Scenario: The Kubernetes manifests pass the k8s check

  • WHEN A developer runs uv run devops ci --check --only k8s on the branch.
  • THEN The check passes and reports no error for the resolve unit.

Requirement: Pending a person after the merge

A person SHALL run uv run devops ci --check --only k8s on main after the merge.

Scenario: The live check on the merged branch

  • WHEN A person runs uv run devops ci --check --only k8s after the pull request merges.
  • THEN The check passes and reports no error for the resolve unit.

Existing Tool Considered

No alternatives check has run. Kubernetes covers the need: one pod holds the model container and the resolver container in its spec.containers list. The repository needs no new tool or library, and the change builds no code. docs/SERVICE_PATTERNS.md holds the service pattern, and k8s/README.md tells how to change a manifest. The Kubernetes pod documentation gives the same answer.

Key questions

  • Which template must the resolve unit use?: The two-container template. One pod holds a model container and a resolver container. The owner decision of 2026-11-13, which the issue body cites, requires it. (best practice) [sources: docs/SERVICE_PATTERNS.md, CONTEXT.md]
    • Chosen: Two-container template. The owner decision of 2026-11-13 requires it and the issue body records it.
    • Rejected: One container that runs the model and the resolver. It gives the resolver container the model credential and contradicts the owner decision.
    • Rejected: Two pods, one for the model and one for the resolver. It adds a second workload and a network hop, and it is not the template that the owner decision names.
  • What must merge before this change can be built?: feat(roadmap): the model container of a unit holds no credential #5506. It gives the model container of a unit no credential. Until it merges, the model container needs a credential, so the template cannot be built or tested. The wait is a dependency, not a block. [sources: CONTEXT.md]
  • Where does the repository keep the manifest that this change edits?: The repository ships the product base k8s/devops, and a unit of work runs as a cluster Job from CronJob devops-cli-runner. k8s/README.md tells how to change a manifest, and the k8s check validates it. [sources: CONTEXT.md, AGENTS.md]
  • Which command proves the manifest change?: uv run devops ci --check --only k8s. It validates the Kubernetes manifests of the product base. [sources: AGENTS.md, docs/CLI_REFERENCE.md]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

#5506

Activity

  1. added
    type/feature
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/low
    priority/p2-medium
    on Nov 26, 2026
  2. devops-cli-service commented on Nov 28, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies in the section Proposed design of the body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/roadmapsource/agentstatus/newtype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions