Skip to content

feat(roadmap): set each runner Job memory limit to its request - #7432

Merged
dan-petty merged 4 commits into
mainfrom
feat/7422-runner-memory-limit-equals-request
Nov 27, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/7422-runner-memory-limit-equals-request

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Each runner Job of the Service now has a memory limit equal to its memory request. The rows of RUNNER_SIZES give both: 1 CPU with 5Gi, and 4 CPU with 11Gi. The scheduler places a pod by its request only. With the old limit of 16Gi, a Job could go to a node that could not hold it, and then take memory from the other pods of the node and from the k3s server. Each row holds the highest peak of its Jobs in the last 14 days at 80 % or less (T1 of the Kubernetes guideline).

The setting roadmap.implement.max_memory_limit and its variable are removed. The admission policy roadmap-service-jobs admits only the new rows, and refuses a memory limit that differs from the memory request. The section roadmap.implement ignores a key that it does not declare, so the live ConfigMap loads while it still holds the old key.

Closes #7422

Change: openspec/changes/archive/2026-11-27-7422-runner-memory-limit-equals-request/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 27, 2026
@dan-petty
dan-petty force-pushed the feat/7422-runner-memory-limit-equals-request branch from 0d42ab8 to 31b584f Compare November 27, 2026 16:16
@dan-petty
dan-petty force-pushed the feat/7422-runner-memory-limit-equals-request branch from 31b584f to ed55e79 Compare November 27, 2026 16:24
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: ed55e79aa9c5cd1f41682714fa53c1c761c2d92f

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Changed-Test Independence success run
Trivy neutral run
Plan Check skipped run
CodeQL success run
Test Job Duration skipped run
Fail-to-Pass Check skipped run
Dependency Freshness skipped run
Tests on Main skipped run
Changed-Test Independence (run 3 of 3) success run
Changed-Test Independence (run 1 of 3) success run
Runner Image success run
Tests & Coverage (shard 2 of 5) success run
Tests & Coverage (shard 1 of 5) success run
Static Analysis success run
Tests & Coverage (shard 3 of 5) success run
Design Tokens success run
Tests & Coverage (shard 4 of 5) success run
Tests & Coverage (shard 5 of 5) success run
Changed-Test Independence (run 2 of 3) success run
Image Pins success run
Service Image success run
Docs Site Build success run
Semantic PR title success run
Analyze (actions) success run
Analyze (python) success run

Skipped check: Trivy
Skipped check: Plan Check
Skipped check: Test Job Duration
Skipped check: Fail-to-Pass Check
Skipped check: Dependency Freshness
Skipped check: Tests on Main

@dan-petty
dan-petty marked this pull request as ready for review November 27, 2026 16:34
@dan-petty
dan-petty merged commit caf276a into main Nov 27, 2026
29 checks passed
@dan-petty
dan-petty deleted the feat/7422-runner-memory-limit-equals-request branch November 27, 2026 16:35
dan-petty-release Bot added a commit that referenced this pull request Nov 27, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.227.0](v0.226.1...v0.227.0)
(2026-11-27)


### Features

* **roadmap:** set each runner Job memory limit to its request
([#7432](#7432))
([caf276a](caf276a))


### Bug Fixes

* **deps:** update dan-petty/devtools Docker tag to v1.3.4
([#7440](#7440))
([4d9a499](4d9a499))

---
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/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): set each runner Job memory limit to its request

1 participant