Skip to content

fix(roadmap): retry a stage Job on a provider timeout - #5724

Merged
dan-petty merged 1 commit into
mainfrom
fix/5562-a-stage-job-retries-a-provider
Nov 14, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/5562-a-stage-job-retries-a-provider

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The stage Job of #5562 exits 1 for an attempt that a provider timeout ends, and the pod failure policy of CronJob roadmap-stage fails the Job on exit 1, so Kubernetes runs no new pod and the item waits for the next round of the Service. The change gives that end the one retry code of the Job, so the Job controller runs the pod again at once and the next pod plans the same item.

Closes #5562

Change: openspec/changes/archive/2026-11-14-5562-a-stage-job-retries-a-provider/

A stage Job whose model call ended in a provider timeout failed for good with exit 1 (#5562). The pod failure policy retries only exit 75, and the Job path wrote no result line with the infrastructure class that the Service in-pod path kept.

This change makes the stage Job exit 75 for a failure whose class has the default action retry, writes the attempt result line with its class and infra=true, keeps the check-out and the claim for the retried pod, and updates the failure wait and recovery to prevent blocking or duplicate result lines.

Closes #5562

Change: `openspec/changes/archive/2026-11-14-5562-a-stage-job-retries-a-provider/`
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 14, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 14, 2026 18:51
@dan-petty
dan-petty merged commit f88d279 into main Nov 14, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/5562-a-stage-job-retries-a-provider branch November 14, 2026 18:54
dan-petty pushed a commit that referenced this pull request Nov 14, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.142.0](v0.141.0...v0.142.0)
(2026-11-14)


### Features

* **monitoring:** enable dev sandbox and mcp server in grafana-llm-app
([#5723](#5723))
([b6bc49a](b6bc49a))


### Bug Fixes

* **roadmap:** keep the label when a finding line is unread
([#5719](#5719))
([5f438d0](5f438d0))
* **roadmap:** retry a stage Job on a provider timeout
([#5724](#5724))
([f88d279](f88d279))

---
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/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): a stage Job retries a provider timeout

1 participant