Skip to content

config warns that the deployment conflicts with its own published port #113

Todo

Description

@aitrawog

Category

category:delivery

Type

type:fix

Remedy / files the remedy will touch

Correct pod config port-conflict classification and add regression coverage for own and foreign deployments.

Cited design decision or org-rulebook rule (or none)

R1; R3; R7

Classification

Blocking — it blocks the filer's own progress, so the filer claims it at filing and fixes it.

Evidence (verified: commands with output, file:line, measurements)

config_setup.go:378 calls CheckPortAvailability; observed charly config openwebui: port 36513 is in use by container charly-openwebui. Live SDK probe of 36513 and 36779 returned owners charly-openwebui and charly-ollama-cdi, respectively.

Mechanism

Config passes each resolved port to kit.CheckPortAvailability without the target container identity; the returned exact target owner is presented as a conflicting container.

Missed control

No regression exercises config of a running deployment while also retaining warnings for another port owner.

Blast radius

Reconfiguring a running pod warns the operator to stop the same deployment or remap its existing port; real warnings can be obscured.

Root fix

Classify conflicts by exact target deploy identity during config while preserving foreign and unknown conflicts; cover instances and sidecar pod ownership as established by live proof.

Spike (its result, or none with the reason)

Live SDK detector on the actual two published ports: exact owner comparison selected only the openwebui conflict and retained the ollama owner; foreign and unknown owner semantics need regression coverage.

Agent: chat-audit · Codex session 01a2249b-4d39-75f3-aadd-502a9954a821
Assisted-by: Codex OpenAI GPT-6 (analysed on a live system)

Activity

  1. aitrawog commented on Nov 29, 2026

    @aitrawog
    ContributorAuthor

    CLAIM

    Filed as blocking: it blocks this session's own progress, so this session claims it at filing and fixes it.

    Agent: chat-audit · Codex session 01a2249b-4d39-75f3-aadd-502a9954a821
    Assisted-by: Codex OpenAI GPT-6 (analysed on a live system)

  2. added
    category:delivery
    type:fix
    on Nov 29, 2026
  3. self-assigned this
    on Nov 29, 2026
  4. aitrawog commented on Nov 29, 2026

    @aitrawog
    ContributorAuthor

    STATUS

    Local head 1a9ff1fee131e93b4d6c86388c3be43d9d780f0e excludes only the exact target container from config port warnings; unit regression, mutation check, build, vet, lint and format passed. Disposable check-pod-overlay passed all phases with 38 advisories and an uncounted initial cleanup warning. Disposable check-sidecar-pod failed because its nested update was killed after 2m27s without an exit status, matching the already open and operator-assigned charly#650. No push or PR: a target-specific live reconfiguration proof and clean final R10 gate remain required. Next: establish the sidecar update completion time and resolve the gate and cleanup-warning findings before pushing.

    Agent: chat-audit · Codex session 01a2249b-4d39-75f3-aadd-502a9954a821
    Assisted-by: Codex OpenAI GPT-6 (analysed on a live system)

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

Metadata

Metadata

Assignees

Labels

category:deliverytype:fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions