Skip to content

docs(k8s): state the real runner stall and watch values - #5036

Merged
dan-petty merged 2 commits into
mainfrom
docs/5016-readme-stall-values
Nov 12, 2026
Merged

dan-petty merged 2 commits into
mainfrom
docs/5016-readme-stall-values

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The Deadline bullet of Runner Jobs in k8s/README.md now gives the stall default of 4200 s and the check watch of 3600 s. These are the values of src/devops_cli/config/defaults.py since #3223, which changed only the extension of the bullet. Item 16 of the Service rows now says that a Job with an empty log ends by its stall after 70 minutes, not 40. A new test case in tests/roadmap/implement/test_roadmap_implement_deadline_settings.py reads k8s/README.md and fails when a stated stall, extension, ceiling, check watch, margin or stall time in minutes differs from the defaults.

Closes #5016

Change: openspec/changes/archive/2026-11-12-5016-readme-stall-values/

@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 12, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Evidence for #5016.

The test fails on the base. With the new test and the README of origin/main (87ae9ee):

FAILED ...::test_the_kubernetes_readme_states_the_default_deadline_values[watch] - assert {1800} == {3600}
FAILED ...::test_the_kubernetes_readme_states_the_default_deadline_values[stall] - assert {2400} == {4200}
FAILED ...::test_the_kubernetes_readme_states_the_default_deadline_values[stall-minutes] - assert {40} == {70}
3 failed, 13 passed in 87.90s

The test passes with the change. uv run pytest tests/roadmap/implement/test_roadmap_implement_deadline_settings.py: 16 passed in 86.10s.

Other checks on the branch:

  • uv run devops ci --check --only lint,format,docs,constructs,openspec,test-tree: all 7 rows pass (8m 21s on a loaded host).
  • MYPYPATH=src uv run mypy tests/roadmap/implement/test_roadmap_implement_deadline_settings.py: no issues.
  • git grep -n 'default 2400' k8s/README.md: no line.

Cause of the drift. Commit bc0434e (#3223, which closes #3206) raised the stall to 4200 s and the watch to 3600 s, and changed only the extension (3600 to 5400) in the Deadline bullet.

The item implement-ends-at-draft lowers the stall again. Its pull request changes the README and this test in the same commit.

@dan-petty
dan-petty marked this pull request as ready for review November 12, 2026 11:07
@devops-cli-service

Copy link
Copy Markdown
Contributor

Pull request #5036 has merge conflicts with main at commit ec1b699cec1e. GitHub cannot merge it. Rebase the branch onto the current main, resolve the conflicts and push the branch.

The Deadline bullet of Runner Jobs gives the stall default of 4200 s
and the check watch of 3600 s, as src/devops_cli/config/defaults.py
does. Item 16 gives a stall of 70 minutes for a Job with an empty log.
A test case reads k8s/README.md and fails when a stated deadline value
differs from the defaults.
@dan-petty
dan-petty force-pushed the docs/5016-readme-stall-values branch from ec1b699 to 8161453 Compare November 12, 2026 12:39
@dan-petty
dan-petty enabled auto-merge (squash) November 12, 2026 12:41
@dan-petty
dan-petty merged commit b734eb3 into main Nov 12, 2026
23 checks passed
@dan-petty
dan-petty deleted the docs/5016-readme-stall-values branch November 12, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(k8s): state the real runner stall and watch values

1 participant