Skip to content

fix(devcontainer): poll the Docker daemon through the clock - #4721

Merged
dan-petty merged 2 commits into
mainfrom
fix/4466-docker-poll-clock
Nov 11, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4466-docker-poll-clock

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

_wait_for_docker_daemon read time.monotonic() and called time.sleep() directly. The clock fixture could not answer these calls, so the unreachable-Docker test ran a CPU busy-spin for 45 real seconds. The poll now reads and waits through devops_cli.core.clock. The timeout stays 45 s. The warning test asserts the 23 recorded waits of 2 s, and a new test proves the default timeout.

Closes #4466

Change: openspec/changes/archive/2026-11-11-4466-bootstrap-k8s-test-waits-45-s/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/devcontainer The DevContainer, its image and its features labels Nov 11, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

fail-to-pass (uv run devops ci fail-to-pass --base origin/main): 2 tests failed on base, 113 passed, 0 errors, in tests/commands/test_devcontainer.py. The 2 failures are test_bootstrap_k8s_warns_when_docker_daemon_down and the new default-timeout test.

Measurement on the change: the full file runs 115 tests in 16.6 s; the slowest test takes 1.1 s. On base, the warning test took 45 s (issue #4466).

No live step is needed.

@dan-petty
dan-petty marked this pull request as ready for review November 11, 2026 18:03
@dan-petty
dan-petty merged commit be32268 into main Nov 11, 2026
32 checks passed
@dan-petty
dan-petty deleted the fix/4466-docker-poll-clock branch November 11, 2026 18:03
dan-petty pushed a commit that referenced this pull request Nov 11, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.112.3](v0.112.2...v0.112.3)
(2026-11-11)


### Bug Fixes

* **ai:** record the duration of each agent model request
([#4717](#4717))
([1930b71](1930b71))
* **devcontainer:** poll the Docker daemon through the clock
([#4721](#4721))
([be32268](be32268))
* **roadmap:** confine repair fix turns to the plan files
([#4689](#4689))
([d2e7597](d2e7597))
* **roadmap:** name the nearest test of a module
([#4696](#4696))
([b746c95](b746c95))
* **roadmap:** scoped intake reads a bounded page count
([#4740](#4740))
([f89ccc5](f89ccc5))
* **roadmap:** stage context reads runner facts from the package
([#4723](#4723))
([05e09dc](05e09dc))
* **roadmap:** stage holds an item where openspec is not set up
([#4749](#4749))
([45bd54a](45bd54a))
* **roadmap:** trace gate reads a tool call citation
([#4694](#4694))
([5c71ad4](5c71ad4))


### Performance Improvements

* **ci:** cancel superseded CodeQL runs and idle triggers
([#4763](#4763))
([c951368](c951368))


### Code Refactoring

* **ai:** delete orphan prompts and the prompt fallbacks
([#4710](#4710))
([38a1b13](38a1b13))

---
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/devcontainer The DevContainer, its image and its features 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(test): bootstrap-k8s test waits 45 s for the Docker poll

1 participant