Skip to content

docs(spec): plan #7986 Stop retrying a spent verification failure - #8024

Merged
dan-petty merged 2 commits into
mainfrom
fix/7986-a-spent-verification-failure-is-not
Dec 1, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/7986-a-spent-verification-failure-is-not

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

A verification command that fails after the repair rounds gets the class ci_infra when its program names no class, as #7986 describes. The action of ci_infra is retry, so each new runner image clears the stop and the item spends the same tokens again. The change adds the class verification with the action wait. A cause that the failure text names keeps its own class.

Plans #7986

Change: openspec/changes/7986-a-spent-verification-failure-is-not/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/spec labels Dec 1, 2026
@devops-cli-service
devops-cli-service Bot force-pushed the fix/7986-a-spent-verification-failure-is-not branch from f634c26 to 4b1ea2f Compare December 1, 2026 07:39
@devops-cli-service devops-cli-service Bot changed the title docs(spec): plan #7986 Give a spent verification stop its own class docs(spec): plan #7986 Stop retrying a spent verification failure Dec 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner

This comment is information. It is no command. One defect is in task 3.1 of the plan. It is not fixed on the branch, because the implement Job devops-cli-implement-devops-cli-7986-0de887 runs on this item.

Task 3.1 asks that the step stops with FailureClass.OOM for exit status 137, and with FailureClass.CI_INFRA for exit status 2. The step gives no class for these two statuses, and task 3.2 keeps that. A probe on main of 2026-12-01 read outcome.failure_class as None for 2 and for 137. classify_failure(FailureEvidence(text=outcome.reason)), which the stop of the job reads for such an outcome, gave ci_infra for 2 and oom for 137. The spec scenarios are correct for the stop of the job.

Correct text for the two cases of task 3.1: "the same command that exits 1 with the output line MemoryError stops with FailureClass.OOM; the same command that exits 137, or exits 2 with no output, gives an outcome whose failure_class is None, and classify_failure(FailureEvidence(text=outcome.reason)) gives FailureClass.OOM for 137 and FailureClass.CI_INFRA for 2".

Other checks of the plan on main at release 0.269.0: the premise holds, and #8013 changes no file or class that the plan builds on. A temporary copy of the change of tasks 1.2, 2.2 and 3.2 ran tests/roadmap and tests/telemetry/test_service_counter_series.py: 6 tests failed, all in the two test files that task 1.1 updates, and 10246 passed.

@devops-cli-service
devops-cli-service Bot force-pushed the fix/7986-a-spent-verification-failure-is-not branch from 4b1ea2f to bed439f Compare December 1, 2026 13:14
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Stopped at group 1. The stop report is on #7986: #7986 (comment).

devops-cli-service Bot and others added 2 commits December 1, 2026 13:18
…s it

The step gives no class to a verification command that exits 137 or 2. The
stop of the job classifies the reason text. Task 3.1 asked for a class on
the step outcome, which task 3.2 never sets.
@dan-petty
dan-petty force-pushed the fix/7986-a-spent-verification-failure-is-not branch from bed439f to a8472b8 Compare December 1, 2026 13:20
@dan-petty

Copy link
Copy Markdown
Owner

Update: the implement Job ended, so task 3.1 is now fixed on this branch in commit a8472b8. This comment is information and no command.

The stop of group 1 was git add -A failed. fatal: unable to create threaded lstat: Resource temporarily unavailable. That text is a fault of the runner pod. The classifier gave it the class provider, because its provider rule matches temporarily unavailable.

@dan-petty
dan-petty marked this pull request as ready for review December 1, 2026 13:32
@dan-petty
dan-petty merged commit aff5b72 into main Dec 1, 2026
27 checks passed
@dan-petty
dan-petty deleted the fix/7986-a-spent-verification-failure-is-not branch December 1, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/spec type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant