Skip to content

feat(roadmap): size the runner Job resources from the plan - #3848

Merged
dan-petty merged 2 commits into
mainfrom
feat/3193-size-the-runner-job-resources-from-the-plan
Nov 6, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/3193-size-the-runner-job-resources-from-the-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The runner Job had one size for every item: 2 CPU, 4 Gi requested, 8 Gi at most. The Service now counts the files that the tasks of the plan name and takes a row of a measured table: at most 10 files, 1 CPU and 2 Gi; more files, 4 CPU and 6 Gi. Each row cites its measured peak (#2806).

  • PYTEST_XDIST_AUTO_NUM_WORKERS and the CPU limit come from the same row, so they are equal.
  • The memory limit is the new setting roadmap.implement.max_memory_limit (default 8Gi, not below 6Gi).
  • The admission policy roadmap-service-jobs admits only the rows of the table. The template keeps 2 CPU and 4Gi for manual runs.

Closes #3193

Change: openspec/changes/archive/2026-11-06-3193-size-the-runner-job-resources/

@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 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Local full devops ci under the shared lock, before the archive commit:

  • Pass: lint, format, typecheck, audit, security, actionlint, zizmor, docs, uv-check, lockfile, build, outdated, deps, constructs, devcontainer, openspec, git, test-settings, k8s (103 cases), test-tree, startup-imports, swallowed-failures.
  • Test row: 20063 passed. Known host failures, also on origin/main: tests/commands/test_devcontainer_install_tools_dry_run.py, tests/ai/test_tool_executor_contract.py (fix(ci): host state fails four tests and one case #3585). The test row took 5m 11s, over the 5 minute budget (fix(ci): the pytest step of devops ci exceeds the 5-minute budget #3593). The coverage row did not run its floor because of those failures.
  • New tests: tests/roadmap/test_roadmap_implement_size.py (23), four cases in tests/roadmap/test_roadmap_implement_submit.py, two in tests/k8s/test_k8s_cluster_job_api.py, and the policy checks in tests/gate/k8s_checks/job_admission_policy.py, which hold that the policy admits exactly the rows of the table. They fail on the base, because the module implement_size and the resources argument do not exist there.

Pending a person: let Argo CD sync the policy with the new Service image. The new rule refuses the template size, so an old Service image has its Job refused until the new image runs. No cluster change was made.

@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 20:52
@dan-petty
dan-petty merged commit 32328b1 into main Nov 6, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3193-size-the-runner-job-resources-from-the-plan branch November 6, 2026 21:39
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.73.0](v0.72.1...v0.73.0)
(2026-11-06)


### Features

* **pr:** check-readiness blocks a body that breaks the form
([#3849](#3849))
([6c973a5](6c973a5)),
closes [#3259](#3259)
* **roadmap:** Allow read pipes to a table of allowed programs
([#3838](#3838))
([89daf41](89daf41)),
closes [#3520](#3520)
* **roadmap:** size the runner Job resources from the plan
([#3848](#3848))
([32328b1](32328b1))


### Bug Fixes

* **ai:** fix MCP ai_benchmark models description
([#3840](#3840))
([26a0ef4](26a0ef4))
* **review:** catch findings.json validation errors
([#3841](#3841))
([bc5f241](bc5f241))
* **security:** Refuse Go, Yarn and uv env keys
([#3845](#3845))
([235a807](235a807))


### Performance Improvements

* **k8s:** use tag_digest HEAD for image pins
([#3843](#3843))
([a61d671](a61d671))


### Code Refactoring

* **roadmap:** the in-memory store leaves src
([#3839](#3839))
([558c5e0](558c5e0))

---
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): size the runner Job resources from the plan

1 participant