Skip to content

fix(infra): report not found for missing pod in FakeCluster - #6997

Merged
dan-petty merged 1 commit into
mainfrom
fix/6994-missing-pod-fakecluster
Nov 24, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/6994-missing-pod-fakecluster

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

In tests/support/infra.py, FakeCluster._read_pod_single returns a synthetic pod on node-1 for unknown pods. When Service Image Tests runs in Docker, HOSTNAME holds the container name. current_pod_node reads HOSTNAME and queries kubectl get pod $HOSTNAME. FakeCluster falsely places this pod on node-1. In test_an_agent_stops_before_the_control_plane_node, _apply_alone sees that the host node matches the pod node and stops with node-1.example.com (node-1) is its pod node instead of checking the control plane. This defect causes Service Image Tests (shard 1 of 6) to fail on Renovate pull requests (#6986, #6987, #6989, #6991).

Closes #6994

Change: openspec/changes/archive/2026-11-24-6994-missing-pod-fakecluster/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/infra Docker container images, DevContainers, and infrastructure tooling labels Nov 24, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 24, 2026 14:38
@dan-petty
dan-petty force-pushed the fix/6994-missing-pod-fakecluster branch from 50bf2ac to 6acbd10 Compare November 24, 2026 14:39
@dan-petty
dan-petty merged commit 5e24aa9 into main Nov 24, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/6994-missing-pod-fakecluster branch November 24, 2026 15:05
dan-petty-release Bot added a commit that referenced this pull request Nov 24, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.209.2](v0.209.1...v0.209.2)
(2026-11-24)


### Bug Fixes

* **ai:** widen pydantic-ai knowledge base manual version patterns
([#6999](#6999))
([b7bc242](b7bc242))
* **infra:** report not found for missing pod in FakeCluster
([#6997](#6997))
([5e24aa9](5e24aa9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/infra Docker container images, DevContainers, and infrastructure tooling type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(infra): report not found for missing pod in FakeCluster

1 participant