Skip to content

fix(roadmap): Set the runner memory limit in the template - #5708

Merged
dan-petty merged 5 commits into
mainfrom
fix/5484-a-deploy-resets-the-runner-memory
Nov 14, 2026
Merged

dan-petty merged 5 commits into
mainfrom
fix/5484-a-deploy-resets-the-runner-memory

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Each devops k8s deploy-stack --stack devops renders ConfigMap devops-cli-config from k8s/devops/configmap.example.yaml, and that template sets no roadmap.implement.max_memory_limit. The Service then reads the code default 8Gi, the limit at which the kernel killed two runner Jobs, and the 16Gi that a person set in the live ConfigMap is lost at the next deploy. Git holds no copy of the limit that works, so a deploy keeps the failure (#5484).

Closes #5484

Change: openspec/changes/archive/2026-11-14-5484-a-deploy-resets-the-runner-memory/

@devops-cli-service
devops-cli-service Bot force-pushed the fix/5484-a-deploy-resets-the-runner-memory branch from cdaed60 to 24ff568 Compare November 14, 2026 17:03
@devops-cli-service

devops-cli-service Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Stopped at checks.

Failure class: conflict.
Action taken: none.
Action left: wait: wait for a person.

Step Status Attempts Tokens in/out Last failing command
group 1 done 1 1112898/5578 -
group 2 done 1 1061038/6862 pytest on base: tests/roadmap/implement/test_roadmap_implement_size.py
group 3 done 1 315780/1860 -
group 4 done 1 1081463/7871 -
checks stopped 1 0/0 -

Reason:

The pull request has a merge conflict with the default branch.

Last message of the agent (a claim that no check verified): none.

The item is Blocked, and the job will not run it. Fix the cause. Then comment implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item allow it.
The push of the commits that passed failed too.
The rebase onto origin/main stopped.
git rebase origin/main failed: Rebasing (1/5) Rebasing (2/5) Rebasing (3/5) Rebasing (4/5) Rebasing (5/5) error: could not apply cb2f682... docs(openspec): archive the change (#5484) hint: Resolve all conflicts manually, mark them as resolved with hint: "git add/rm <conflicted_files>"
Conflicted files:

  • openspec/specs/roadmap-service-deployment/spec.md
Step Status Attempts Tokens in/out Last failing command
group 1 done 1 1112898/5578 -
group 2 done 1 1061038/6862 pytest on base: tests/roadmap/implement/test_roadmap_implement_size.py
group 3 done 1 315780/1860 -
group 4 done 1 1081463/7871 -
  • scoped check pre-push: passed, 19 s
  • scoped check static: passed, 98 s
  • scoped check tests: passed, 15 s
  • scoped check tests: the changed files select more than 30 test modules, so only the changed test modules ran. The required checks of CI run the others
  • verify of group 1: uv run devops ci test tests/k8s/test_k8s_configmap_keys.py exits 0.
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.10, pytest-9.2.0, pluggy-1.7.0
rootdir: /home/devops/.data/agent/worktrees/w-5484
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, asyncio-1.4.1.post1, hypothesis-6.170.15, syrupy-7.0.0, time-machine-3.6.0, mock-3.17.0, anyio-4.16.0, platformdirs-4.14.5, timeout-2.4.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 6 items

tests/k8s/test_k8s_configmap_keys.py ......                                                                                                                                                                                                        [100%]

=================================================================================================================== 6 passed in 0.63s ====================================================================================================================
Bytecode compiled 19311 files in 1.72s
Bytecode compiled 19311 files in 1.76s
/home/devops/.data/agent/worktrees/w-5484/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.roadmap.implement.test_roadmap_implement_size::test_the_description_names_the_smallest_node_that_can_run_a_runner_job.
  • verify of group 3: uv run devops docs check exits 0.
\u2713 All documentation files are up to date.
Bytecode compiled 19311 files in 1.77s
  • verify of group 3: uv run devops ci docs exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-5484
\u2713 All documentation files are up to date.
Bytecode compiled 19311 files in 1.74s
Bytecode compiled 19311 files in 1.83s
  • verify of group 4: uv run devops ci test tests/config/test_k8s_devops_runtime.py exits 0.
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.10, pytest-9.2.0, pluggy-1.7.0
rootdir: /home/devops/.data/agent/worktrees/w-5484
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, asyncio-1.4.1.post1, hypothesis-6.170.15, syrupy-7.0.0, time-machine-3.6.0, mock-3.17.0, anyio-4.16.0, platformdirs-4.14.5, timeout-2.4.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 19 items

tests/config/test_k8s_devops_runtime.py ...................                                                                                                                                                                                        [100%]

=================================================================================================================== 19 passed in 0.56s ===================================================================================================================
Bytecode compiled 19311 files in 1.87s
Bytecode compiled 19311 files in 1.85s
/home/devops/.data/agent/worktrees/w-5484/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
  • verify of group 4: uv run devops ci docs exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-5484
\u2713 All documentation files are up to date.
Bytecode compiled 19311 files in 1.80s
Bytecode compiled 19311 files in 1.90s

@devops-cli-service devops-cli-service Bot added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 14, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 14, 2026 17:18
@dan-petty
dan-petty self-requested a review as a code owner November 14, 2026 17:18
@dan-petty
dan-petty enabled auto-merge (squash) November 14, 2026 17:22
@dan-petty
dan-petty disabled auto-merge November 14, 2026 17:42
@dan-petty
dan-petty force-pushed the fix/5484-a-deploy-resets-the-runner-memory branch from cb2f682 to 3301311 Compare November 14, 2026 17:59
@dan-petty
dan-petty merged commit 2f657c5 into main Nov 14, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/5484-a-deploy-resets-the-runner-memory branch November 14, 2026 18:09
dan-petty pushed a commit that referenced this pull request Nov 14, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.141.0](v0.140.0...v0.141.0)
(2026-11-14)


### Features

* **roadmap:** check the repository webhook on onboarding
([#5706](#5706))
([eddffb1](eddffb1))


### Bug Fixes

* **ci:** Accept a repaired base test in fail-to-pass
([#5715](#5715))
([a0c2343](a0c2343))
* **monitoring:** use custom provider for grafana-llm-app litellm
gateway ([#5718](#5718))
([e71bc5f](e71bc5f))
* **roadmap:** Set the runner memory limit in the template
([#5708](#5708))
([2f657c5](2f657c5))

---
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/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them 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(roadmap): a deploy resets the runner memory limit to 8Gi

1 participant