Skip to content

fix(k8s): the ConfigMap template names Sonnet for analysis #4208

Closed

Description

@dan-petty

Problem

On 2026-11-09 the owner decided to try claude-sonnet-5-5 in the analysis slot, because the stage job stages nothing with deepseek-v4.1-flash-1017 (#4204). The live ConfigMap devops-cli-config was changed by hand:

  • ai.tasks.analysis.model is now claude-sonnet-5-5 (was deepseek-v4.1-flash-1017).
  • ai.tasks.analysis.context_window is now 200000 (was 256000).

The template k8s/devops/configmap.example.yaml still names DeepSeek for analysis. A deploy-stack renders the template, so the next deploy puts DeepSeek back and ends the trial with no decision. The cluster is git (Argo CD and deploy-stack remove drift), so a hand change that the repository does not hold is lost.

These places also say that every slot names DeepSeek (found with git grep deepseek-v4.1-flash-1017 -- k8s docs openspec/specs tests):

  • openspec/specs/roadmap-service-deployment/spec.md, the requirement "Every chat model slot of the Service names one model" (line 60 and its scenario).
  • tests/k8s/test_k8s_configmap.py, the test test_every_chat_model_slot_of_the_rendered_template_names_one_hosted_group.
  • k8s/README.md (item 19 of the list, and the paragraph on hosted groups) and docs/roadmap/stage.md (the paragraph on the context window of the task stage, which says the window is 256,000 tokens).

Expected

  • The template names claude-sonnet-5-5 and context_window: 200000 for ai.tasks.analysis. A comment above the slot says:
  • The other slots (ai.model, verification, chat, triage, implement and the ladder) stay deepseek-v4.1-flash-1017. embedding stays qwen3-embedding:0.6b.
  • The OpenSpec spec roadmap-service-deployment, k8s/README.md and docs/roadmap/stage.md name the slots as they are: analysis is Sonnet with a window of 200,000 tokens and the other chat slots are DeepSeek.
  • No other file names the old state. git grep -n "256000\|256,000" -- k8s/README.md docs/roadmap/stage.md shows only the windows that still hold.

Acceptance criteria

  • A new test in tests/config/test_k8s_devops_runtime.py (in its style: it reads the template) asserts that the template names claude-sonnet-5-5 and 200000 for ai.tasks.analysis and DeepSeek for the other chat slots. It fails today, because analysis names deepseek-v4.1-flash-1017:
    uv run pytest tests/config/test_k8s_devops_runtime.py -k analysis
  • The test test_every_chat_model_slot_of_the_rendered_template_names_one_hosted_group in tests/k8s/test_k8s_configmap.py is changed to the new rule (one exception: analysis), and it passes:
    uv run pytest tests/k8s/test_k8s_configmap.py
  • uv run devops openspec validate roadmap-service-deployment --strict passes with the changed requirement.
  • uv run devops k8s shows no drift between the live ConfigMap and the rendered template for the key ai.tasks.analysis (use the read-only diff before any apply).

Existing tool considered

None needed. The change edits one YAML template, one spec, two documents and two tests. deploy-stack and Argo CD already apply the template.

Cost

About 10 lines of YAML and comment, 15 lines of test, and 4 short text edits. One round of review. The cost of not doing it: the next deploy reverts the trial and the Service stages nothing again (#4204).

Related

Activity

  1. added
    source/agent
    type/bug
    scope/k8s
    status/new
    value/medium
    effort/low
    on Nov 9, 2026
  2. dan-petty commented on Nov 9, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/bug. The fix prefix of the title gives the type.
    • Scope: scope/k8s. The (k8s) scope of the title gives the scope.
    • Priority: P2-Medium. The next deploy reverts the trial and the Service stages nothing, but this is a temporary owner decision, not a permanent outage.
    • Value: Medium. It preserves a working trial so the Service continues staging items.
    • Effort: Low. The change is about 10 lines of YAML, 15 lines of test, and 4 short text edits.
    • Related: feat(k8s): the Service uses one model for every chat slot #3874, which asks for a different change. Both set the model for k8s ConfigMap slots, but #3874 enforces one model for all slots while the candidate makes analysis an exception with Sonnet.
  3. added
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 9, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 9, 2026
  5. devops-cli-service commented on Nov 9, 2026

    @devops-cli-service
    Contributor
  6. devops-cli-service commented on Nov 9, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-09 10:07 UTC

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/k8ssource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions