Skip to content

feat(roadmap): the Service continues a Job that has no result - #3731

Merged
dan-petty merged 4 commits into
mainfrom
feat/3721-service-continues-a-job
Nov 6, 2026
Merged

dan-petty merged 4 commits into
mainfrom
feat/3721-service-continues-a-job

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A runner Job can end with no result: the kernel kills the pod, the Service ends a stalled Job, or the Job is gone. The item was then Blocked until a person commented implement: retry. The Service now clears such a stop with the new rule continue and starts a new Job on the same branch. This holds only for a failure class whose action is retry, and at most roadmap.implement.continuations_per_item times (default 2, 0 turns it off). The count is in implement.continuations. A continuation spends no clear by digest. Only a log sign gives the class oom; the issue #3727 plans a read of the pod status. Part of #3062, which keeps the checkpoint of each group.

Closes #3721

Change: openspec/changes/archive/2026-11-06-3721-service-continues-a-job/

The plan for #3721. The Service starts a new Job when a Job ended without a result, within a limit for each item.
A Job can end with no result: a pod that the kernel killed or evicted, a Job that the Service ended by its stall, or a Job that no longer exists. Only a comment of a person or a new runner image cleared that stop, so one lost Job stopped the item.

A new clear rule, continue, starts a new Job for a stop job whose failure class has the action retry. It runs before the rule digest and spends no clear by digest. The setting roadmap.implement.continuations_per_item bounds it (default 2, 0 turns it off), and the record implement.continuations holds the count. The comment says continuation n of N, and No continuation is left at the limit. Then the item stays Blocked until a retry comment.

ClearLimits replaces DigestLimits.
Use the config fixture in the setting tests, pin the clear by a new image at the
limit, say that only a log sign gives the class oom (#3727), and update the
documents that the continuation makes stale. Split long sentences.
@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

Test results for this pull request.

  • Full uv run devops ci on the final code: all checks pass except two host-state tests of the devcontainer (fix(ci): host state fails four tests and one case #3585): test_mark_only_commands_under_global_dry_run and test_the_direct_executor_refuses_a_network_profile_before_it_starts_the_tool[direct]. 19470 tests passed. The coverage check did not run because of those two tests. Before the archive commit, the diff-cover of the changed lines was 100%.
  • After the last rebase onto origin/main: 222 narrow tests pass (stop clear, submit, deadline, digest clears). devops docs check and devops openspec check pass.
  • Mutation runs: the setting default forced to 0 fails 4 round tests. The rule continue removed from _rule fails 10 tests (4 round tests, 6 stop-clear tests).
  • This is a feature, so CONTRIBUTING.md asks for no fail-to-pass run. The new tests were written first and failed on the base.

Review findings that were fixed: the config fixture replaces CONFIG_PATH patches; ROUTINE_TASKS, the diagram of ROADMAP_WORKFLOW and CONTEXT.md name the continuation; the setting description says "with the wip: commits that the run pushed"; the text no longer says "stays Blocked until a retry" (a new runner image still clears the stop by the rule digest, and a test pins it); the texts say that only a log sign gives the class oom (follow-up #3727); long sentences are split.

@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 04:55
@dan-petty
dan-petty merged commit 4a2d958 into main Nov 6, 2026
23 checks passed
@dan-petty
dan-petty deleted the feat/3721-service-continues-a-job branch November 6, 2026 04:56
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.65.0](v0.64.3...v0.65.0)
(2026-11-06)


### Features

* **roadmap:** compare a branch and name the gate in plan-recheck
([#3732](#3732))
([363ba6a](363ba6a))
* **roadmap:** the Service continues a Job that has no result
([#3731](#3731))
([4a2d958](4a2d958))

---
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): the Service continues a Job that has no result

1 participant