Repository navigation
Closed
Labels
priority/p0-criticalPriority P0: a release blocker or a critical defectscope/securitySecurity linters (trivy, bandit, gitleaks, kubeconform) and Vaulttype/securityType security: a vulnerability or a leak
Milestone
Description
Problem
The Copilot review of release PR #1089 left two threads. The release can't merge with unresolved threads.
- Loki admits every pod in
otel(k8s/logging/networkpolicy.yaml:24, threadPRRT_kwDOThbRVc6oq3os). The ingress rule for port 3100 uses a namespace-only peer, so any workload inotel, not only theotel-collectorrelease, can push logs to Loki or query it.auth_enabledis false. Copilot suggests combining the namespace selector with the collector's pod label, as the Traefik policies do. Elsewhere ink8s/, a combined namespace-and-pod peer withportsis noted as refused by this cluster's kube-router (k8s/cloudflared/networkpolicy.yaml:44-48), so the fix must be shown to work live. - Persona exemplars can come from the wrong project (
src/devops_cli/ai/review/classification.py:50, threadPRRT_kwDOThbRVc6oq3oy)._persona_system_prompt's target is optional, and the fallback path atrunner.py:1188calls it without one. When a review's target differs from the working directory,render_negative_exemplars(Path.cwd())loads the judged claims of the working directory's project. A claim disproved in another repository can then enter the prompt and suppress a valid finding (fix(review): the review learns only from a person's verdicts, and every reader of the feedback dataset is honest #950).
Acceptance criteria
- Loki's ingress from
oteladmits only the collector's pods on 3100. The rule shape is proven on homelab-k3s in a throwaway namespace pair (allowed pod connects, other pod in the same namespace refused), and the throwaway objects are deleted. If kube-router refuses the combined peer, the item records the evidence and uses the narrowest shape that works. - A policy test pins the peer. The applied policy matches the file (
kubectl diffempty after apply). -
_persona_system_promptandrender_negative_exemplarstake the review target as a required argument, and every caller, the fallback atrunner.py:1188included, passes the review's target. A test with a target outside the working directory shows exemplars come from the target's project only, and fails on the old code. -
uv run devops cipasses, with a changelog fragment and the task file. - Both threads on feat(release): v0.2.25 #1089 are answered in-thread and resolved, and
devops pr wait 1089exits 0.
Key questions
- Fix now or after the release? Proposed: now. Both are in code this release ships, and the release gate needs 0 unresolved threads.
Strategic alignment
- Milestone v0.2.25, P0: it blocks merging the release PR.
- Related: feat(release): v0.2.25 #1089, fix(review): the review learns only from a person's verdicts, and every reader of the feedback dataset is honest #950, Alerts fire into nothing: no Alertmanager, and k3s false positives #549, Metrics and logs are kept for two hours #550.
Metadata
Metadata
Assignees
Labels
priority/p0-criticalPriority P0: a release blocker or a critical defectscope/securitySecurity linters (trivy, bandit, gitleaks, kubeconform) and Vaulttype/securityType security: a vulnerability or a leak
Type
Projects
- StatusShow more project fieldsDone
Activity
fix(security): Loki admits only the OpenTelemetry collector from otel…
dan-petty commentedon Oct 3, 2026
Closed by #1101, merged into
release/v0.2.25.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.chore(release): cut v0.2.25: collect the late #1100 changelog fragmen…
feat(release): v0.2.25 (#1089)