Skip to content

fix(ci): use fixed host probe and fail on timeout in bwrap row - #7650

Merged
dan-petty merged 1 commit into
mainfrom
fix/5119-bwrap-fixed-host-probe
Nov 28, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/5119-bwrap-fixed-host-probe

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Prevent the bwrap CI gate row from skipping when HostSandbox.build_bwrap_args is broken or when the host probe times out (#5119):

  • Update _sandbox_host_refusal() (src/devops_cli/commands/ci.py) to verify bwrap and prlimit via shutil.which and run the fixed probe bwrap --unshare-all --ro-bind / / -- true, instead of calling SandboxToolExecutor.host_refusal().
  • Propagate subprocess.TimeoutExpired from host_refusal() into _execute_check_async()'s timeout handler so a probe timeout fails the row with passed=False, skipped=None, and timed_out=True.
  • Add regression tests in tests/commands/test_ci_bwrap_row.py and update openspec/specs/ci-gate-rows/spec.md.

Closes #5119

Change: openspec/changes/archive/2026-11-28-5119-bwrap-fixed-host-probe/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners labels Nov 28, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 28, 2026 23:01
@dan-petty
dan-petty merged commit 916c3e0 into main Nov 28, 2026
27 checks passed
@dan-petty
dan-petty deleted the fix/5119-bwrap-fixed-host-probe branch November 28, 2026 23:22
dan-petty-release Bot added a commit that referenced this pull request Nov 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.241.0](v0.240.1...v0.241.0)
(2026-11-28)


### Features

* **docs:** check Markdown links and anchors with rumdl
([#7634](#7634))
([a8dab0f](a8dab0f)),
closes [#4899](#4899)
* **docs:** generated pages name their source and stay complete
([#7639](#7639))
([05b09f4](05b09f4))


### Bug Fixes

* **ai:** RAG chunks cover module code and use a token size
([#7642](#7642))
([3a13aba](3a13aba))
* **ci:** use fixed host probe and fail on timeout in bwrap row
([#7650](#7650))
([916c3e0](916c3e0))
* **ci:** validate product k8s renders with kubeconform
([#7647](#7647))
([05f827d](05f827d))
* **infra:** ignore Longhorn instance-manager PDB blocks in drain check
([#7648](#7648))
([9cdeeb6](9cdeeb6))
* **infra:** order disruptive hosts by play order
([#7657](#7657))
([d1b75ca](d1b75ca))
* **k8s:** name --from-file in multi-line push hints
([#7637](#7637))
([ac674ac](ac674ac))
* **k8s:** print planned fetches in image-pins dry run
([#7649](#7649))
([642eb8f](642eb8f))
* **k8s:** restart readers on the first push of a Secret
([#7641](#7641))
([dabe20e](dabe20e))
* **k8s:** select a Running pod instead of first pod
([#7646](#7646))
([665344d](665344d)),
closes [#7377](#7377)
* **k8s:** share render command builder with catalog dry run
([#7651](#7651))
([14caa79](14caa79))
* **repos:** derive template answers of existing repo
([#7638](#7638))
([0b8cf5f](0b8cf5f))
* **repos:** name differing ruleset keys in onboard row 10
([#7636](#7636))
([3d1dd3f](3d1dd3f))
* **roadmap:** accept a shell command as a scenario proof
([#7643](#7643))
([a3d2638](a3d2638)),
closes [#7401](#7401)
* **roadmap:** ignore cross-repo PR links in wait refs
([#7645](#7645))
([71a9687](71a9687))


### Code Refactoring

* delete dead code kept by
[#1910](#1910)
([#7653](#7653))
([3233959](3233959))

---
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/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners 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(ci): the bwrap row passes when the sandbox command fails

1 participant