Repository navigation
Description
Problem or Motivation
A Job of the implement job can end with no result: an eviction, an out-of-memory kill or a restart. Then the item goes to Blocked with implement.stopped=job. Only a person's implement: retry or a new image digest clears that stop (stop_clear.py). So one lost Job stops the item until a person looks at it.
This is the continuation part of #3062. Two other parts of #3062 already exist: the liveness signal (#3063, implement_deadline.py) and the checkpoint of each task (#3054, wip: pushes). The checkpoint of each group conflicts with recorded requirements (#2910, #3043, the false-premise return) and needs an owner decision. It stays in #3062.
Proposed Solution & Architectural Design
The Service starts a new Job when a Job ended with no result:
- A new rule
continueinstop_clear.py. It applies toimplement.stopped=jobwith a failure class whose action isretry. It runs before the ruledigestand spends no digest clear. - A new setting
roadmap.implement.continuations_per_item. The default is 2, and 0 turns it off. - A new record key
implement.continuations. The record holds a count only, so it holds no secret. - The comment says "continuation n of N", and "No continuation is left" at the limit. Then the item stays Blocked as before.
- Work that is on origin through
wip:pushes (a group with many tasks) continues. A group with one task restarts, until the checkpoint of each group exists.
A local draft exists. 131 tests of test_roadmap_stop_clear.py pass, and the settings tests pass. The 13 tests of test_roadmap_implement_submit.py and test_roadmap_implement_deadline.py that assume a failed Job stays Blocked need continuations_per_item=0, and the rounds need new tests. The docs need an update: k8s/README.md step 16, docs/ROADMAP_WORKFLOW.md, docs/roadmap/implement.md, and the generated CONFIGURATION and ENV_VARS.
Target Subsystem
SDLC, Git & PR Governance.
Existing Tool Considered
- Temporal: rejected by ADR 0008. It needs a new Postgres and 3 to 6 pods.
- Argo Workflows
retryStrategy: it re-runs a step and keeps no checkpoint. The runner is not on Argo yet (feat(k8s): the argo workflows controller runs in its own namespace under argo cd and deploy-stack, and a --version workflow measures start-up and api-server load for the go/no-go on moving the roadmap jobs onto it #1535). - Kubernetes:
activeDeadlineSecondshas precedence overbackoffLimit, and a Failed Job is never restarted. The runner template setsbackoffLimit: 0on purpose. So a continuation must be a new Job, started by the Service.
Evidence of the premise check is in the evidence comment on #3062, which returned that item to New.
Activity
dan-petty commentedon Nov 6, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.It reduces human intervention for transient Job failures but is one part of a larger umbrella and has no security or data-loss impact.It removes a manual step when a Job is evicted or OOM-killed, saving operator time.A local draft exists with 131 passing tests, but test updates and four doc files remain.Both address a Job ending with no result, but #3062 is the umbrella covering checkpoints, heartbeats, and continuation, while the candidate delivers only the continuation rule and setting.devops-cli-service commentedon Nov 6, 2026
Released in v0.65.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.65.0
devops-cli-service commentedon Nov 6, 2026
Live since 2026-11-06 05:30 UTC