Skip to content

fix(cli): Name the test-run timeout and drop the traceback - #6296

Merged
dan-petty merged 2 commits into
mainfrom
fix/4926-test-run-names-its-timeout-no-traceback
Nov 18, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4926-test-run-names-its-timeout-no-traceback

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A pytest run past its subprocess timeout printed a 480-line traceback and named neither the limit nor the option. run_test_cmd now catches subprocess.TimeoutExpired and raises a DevOpsCLIError that names the effective seconds and the new --timeout option, so one error line prints and the command exits 1. The default limit stays 1800 seconds, and a non-timeout pytest failure keeps its output and status.

Closes #4926

Change: openspec/changes/archive/2026-11-18-4926-test-run-names-its-timeout-no-traceback/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/cli Core CLI framework, Typer subcommands, options, and tables labels Nov 18, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 18, 2026 14:09
@dan-petty
dan-petty merged commit c49fd02 into main Nov 18, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/4926-test-run-names-its-timeout-no-traceback branch November 18, 2026 14:13
dan-petty pushed a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.177.0](v0.176.1...v0.177.0)
(2026-11-18)


### Features

* **research:** Map pins to OSV names and list rendered images
([#6285](#6285))
([475700d](475700d))
* **research:** Store fetched research pages in Qdrant
([#6301](#6301))
([22832c2](22832c2))


### Bug Fixes

* **cli:** Name the test-run timeout and drop the traceback
([#6296](#6296))
([c49fd02](c49fd02))
* **deps:** check the tools lock requirement files for advisories
([#6261](#6261))
([ff42fbe](ff42fbe))
* **github:** Fail closed when a poll reads no head commit
([#6300](#6300))
([79d5747](79d5747))
* **k8s:** Ignore the CNPG monitoring ConfigMap as an Argo CD orphan
([#6306](#6306))
([058ce30](058ce30))
* **k8s:** send direct embedding calls to embedding Service
([#6293](#6293))
([e0a7aad](e0a7aad))
* **roadmap:** do not create empty groups for whole-suite criteria
([#6303](#6303))
([43f67e0](43f67e0))
* **roadmap:** Name the gh command and the full title when a create
fails ([#6302](#6302))
([3f9e060](3f9e060))
* **roadmap:** sync delivery PR title and type with staged plan proposal
([#6297](#6297))
([9b73219](9b73219))
* **telemetry:** Use the delta_to_cumulative name of the collector
processor ([#6308](#6308))
([0083d3d](0083d3d))

---
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/cli Core CLI framework, Typer subcommands, options, and tables 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): test run names its timeout, no traceback

1 participant