Repository navigation
feat(roadmap): run the runner Job as three containers - #6732
Conversation
f06fff8 to
ac8602e
Compare
ac8602e to
ca94037
Compare
|
Pull request #6732 has merge conflicts with |
ea350bd to
78d4f50
Compare
|
Merge precondition. Merge this PR only when the runner CronJob runs a runner image that holds #6745 (62bcc35). Argo CD applies the three-container template at merge. On the 0.193.0 runner code, State on 2026-11-22 at 13:10 UTC:
Check before the merge: Accepted window. The policy (wave -1) refuses a CREATE of the one-container runner shape. Argo CD applies the CronJob in wave 0. For the few seconds between the two waves, a Service round that makes a runner Job from the old CronJob gets 403. The round ends with an error, and the next round uses the new CronJob. If the wave-0 apply fails, Argo CD shows a failed sync, and each create stays refused until a sync applies the CronJob. Admitting the old shape on CREATE would close this window. It would also delay what #3700 enforces, so this PR keeps the window. After the merge: I run one implement Job and one fix-checks Job, and post the result on #3700. |
CronJob devops-cli-runner runs the init containers prepare and agent and the container publish, of one image. Only prepare and publish read the App key, only agent the model key. agent mounts no state volume, publish mounts run and state read-only, and each container has its own tmp and home. The admission policy reads one variable of all containers and pins the names, the key, the mounts, the args and the plain env of each. It refuses shareProcessNamespace, restart fields, probes and workingDir, admits the old shape only on an UPDATE, and syncs in wave -1 before the CronJob. Closes #3700
The log commands of a runner Job name the phase with -c or read each container with --all-containers --prefix. The code texts say that the runner template runs each phase in its own container, and the run folder of a runner Job is /run/roadmap. Four requirements name the container agent, the exit code of the containers, the git calls of prepare and publish, and each container of the runner template. Refs #3700
78d4f50 to
5c36b04
Compare
|
The merge precondition is met. The second attempt of Release run 45022530108 tagged the runner Head 5c36b04: the second commit changes only text. An AST check shows that the 9 Python files differ only in docstrings and comments. The archive replay on 077428d gives |
🤖 I have created a release *beep* *boop* --- ## [0.194.0](v0.193.1...v0.194.0) (2026-11-22) ### Features * **roadmap:** run the runner Job as three containers ([#6732](#6732)) ([97d6bc7](97d6bc7)), closes [#3700](#3700) ### Bug Fixes * **ai:** retry a Qdrant request after a 429, 502, 503 or 504 answer ([#6761](#6761)) ([a406980](a406980)) * **deps:** pin the devtools image in its run tag form ([#6763](#6763)) ([4735538](4735538)), closes [#6760](#6760) * **k8s:** Scrape the SearXNG engine metrics ([#6755](#6755)) ([80fc29d](80fc29d)) --- 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>
The runner Job runs
prepare,agentandpublishas three containers in turn, so the agent never shares one with the App key.prepareandagent, containerpublish. Onlyprepareandpublishread the App key, onlyagentthe model key.agentmounts nostate,publishmountsrunandstateread-only, and each container has its own tmp and home.shareProcessNamespace, restart fields, probes orworkingDir, the old shape only on UPDATE, wave -1.tokencontainer names its cluster and namespace.Closes #3700
Change:
openspec/changes/archive/2026-11-22-3700-three-container-job/