Skip to content

fix(roadmap): Name the failed refine form check to the model - #6507

Merged
dan-petty merged 11 commits into
mainfrom
fix/6327-name-the-failed-refine-form-check
Nov 20, 2026
Merged

dan-petty merged 11 commits into
mainfrom
fix/6327-name-the-failed-refine-form-check

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Refine graded 37 of 52 runs as a success in the 6 hours to 2026-11-18 20:30 UTC, and 15 runs failed with class none (#6327). The record of a form-check failure names no criterion and no part, the next round gives the model no failure, and the result line names no cause, so each try repeats the same request and the item stops at failed.

Closes #6327

Change: openspec/changes/archive/2026-11-20-6327-name-the-failed-refine-form-check/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 20, 2026
@devops-cli-service
devops-cli-service Bot force-pushed the fix/6327-name-the-failed-refine-form-check branch from 81b4d45 to 902e5c4 Compare November 20, 2026 10:05
@devops-cli-service devops-cli-service Bot changed the title docs(openspec): plan #6327 Name the failed refine form check to the model fix(roadmap): Name the failed refine form check to the model Nov 20, 2026
@devops-cli-service devops-cli-service Bot 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 and removed type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 20, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Step Status Attempts Tokens in/out Last failing command
group 1 done 2 5521422/22559 pytest on base: tests/roadmap/refine/test_roadmap_refine_job_failure.py
group 2 done 1 3147553/12200 pytest on base: tests/roadmap/refine/test_roadmap_refine_job_failure.py, tests/roadmap/test_roadmap_limit_classes.py
group 3 done 1 2582524/13624 pytest on base: tests/roadmap/refine/test_roadmap_refine_job_failure.py
group 4 done 2 12770985/33780 pytest on base: tests/roadmap/refine/test_roadmap_refine_job_result.py, tests/roadmap/test_roadmap_failure.py, tests/roadmap/test_roadmap_faults.py
group 5 done 1 1287664/5772 -
fix done 2 3996196/16363 pre-commit pre-commit
  • tools: run_command 160, read_file 94, grep 69, edit_file 62, list_files 1, create_directory 1, write_file 1
  • scoped check pre-push: passed, 9 s
  • scoped check static: passed, 29 s
  • scoped check tests: passed, 49 s
  • scoped check strength: failed, 0 s
  • scoped check pre-push: passed, 7 s
  • scoped check static: passed, 30 s
  • scoped check tests: passed, 48 s
  • scoped check strength: passed, 0 s
  • scoped check tests: the changed files select more than 30 test modules, so only the changed test modules ran. The required checks of CI run the others
  • group 5: skipped, group 5: kind other
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.roadmap.refine.test_roadmap_refine_job_failure::test_a_proposal_that_fails_a_form_check_makes_no_person_wait_and_counts_the_try, tests.roadmap.refine.test_roadmap_refine_job_failure::test_a_form_check_failure_names_the_criterion_and_part.
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.roadmap.test_roadmap_limit_classes::test_every_numeric_limit_of_the_roadmap_jobs_has_a_class, tests.roadmap.refine.test_roadmap_refine_job_failure::test_no_character_cap_cuts_a_refine_failure, tests.roadmap.refine.test_roadmap_refine_job_failure::test_a_long_open_question_does_not_cut_the_searches_from_the_failure.
  • fail-to-pass of group 3: fails on the base commit. Tests that fail on the base commit: tests.roadmap.refine.test_roadmap_refine_job_failure::test_the_next_request_carries_a_failure_longer_than_2000_characters, tests.roadmap.refine.test_roadmap_refine_job_failure::test_an_empty_then_reaches_the_record_and_the_next_request.
  • fail-to-pass of group 4: fails on the base commit. Tests that fail on the base commit: tests.roadmap.test_roadmap_faults::test_every_failure_class_has_a_fault_case, tests.roadmap.refine.test_roadmap_refine_job_result::test_a_form_check_beside_an_open_question_writes_the_class_form_check, tests.roadmap.refine.test_roadmap_refine_job_result::test_a_form_check_failure_writes_its_class_and_its_parts_on_the_result_line.
  • verify of group 5: uv run devops ci docs exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-6327
\u2713 All documentation files are up to date.
Bytecode compiled 23345 files in 554ms
Bytecode compiled 23345 files in 589ms
  • verify of group 0: uv run devops ci test tests/roadmap/refine/test_roadmap_refine_job_failure.py exits 0.
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.10, pytest-9.2.0, pluggy-1.7.0
rootdir: /home/devops/.data/agent/worktrees/w-6327
configfile: pyproject.toml
plugins: xdist-3.8.0, hypothesis-6.170.16, cov-7.1.0, asyncio-1.4.1.post1, platformdirs-4.14.7, time-machine-3.6.0, mock-3.17.0, anyio-4.16.0, syrupy-7.0.2, timeout-2.4.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 22 items

tests/roadmap/refine/test_roadmap_refine_job_failure.py ......................                                                                                                                                                                     [100%]

=================================================================================================================== 22 passed in 5.48s ===================================================================================================================
Bytecode compiled 23345 files in 671ms
Bytecode compiled 23345 files in 662ms
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
  • verify of group 0: uv run devops ci test tests/roadmap/refine/test_roadmap_refine_job_failure.py tests/roadmap/test_roadmap_limit_classes.py exits 0.
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
  • verify of group 0: uv run devops ci test tests/roadmap/test_roadmap_failure.py tests/roadmap/refine/test_roadmap_refine_job_result.py tests/roadmap/test_roadmap_faults.py exits 0.
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/home/devops/.data/agent/worktrees/w-6327/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
  • verify of group 0: uv run devops ci docs exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-6327
\u2713 All documentation files are up to date.
Bytecode compiled 23345 files in 580ms
Bytecode compiled 23345 files in 549ms

@devops-cli-service

Copy link
Copy Markdown
Contributor Author

Check results

Head commit: ab405863279166882f1f35140b89aef790f1c80b

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Trivy success run
Plan Check skipped run
CodeQL success run
Test Job Duration skipped run
Dependency Freshness skipped run
Tests on Main skipped run
Runner Image success run
Tests & Coverage (shard 2 of 5) success run
Tests & Coverage (shard 4 of 5) success run
Tests & Coverage (shard 3 of 5) success run
Fail-to-Pass Check success run
Tests & Coverage (shard 5 of 5) success run
Tests & Coverage (shard 1 of 5) success run
Design Tokens success run
Static Analysis success run
MCP Server Image success run
Changed-Test Independence success run
Docs Site Build success run
Analyze (actions) success run
Service Image success run
Analyze (python) success run
Semantic PR title success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/44727188004/job/136257466260

Skipped check: Plan Check
Skipped check: Test Job Duration
Skipped check: Dependency Freshness
Skipped check: Tests on Main

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 20, 2026 11:30
devops-cli-service Bot and others added 9 commits November 20, 2026 15:28
…ions (#6327)

The class table of docs/ROADMAP_WORKFLOW.md and the requirement 'One default action for each class' left out the new class form_check. The table gets its row and the paragraph of the classes that a site passes names it. The requirement gives form_check retry and plan_unreadable wait, moves conflict to repair as the code has it, and counts 23 classes. design.md states why the class goes to the result line and not to the job record: refine.failed_class sets the wait of retry_after.
@dan-petty
dan-petty force-pushed the fix/6327-name-the-failed-refine-form-check branch from ab40586 to d567f35 Compare November 20, 2026 15:30
@dan-petty

Copy link
Copy Markdown
Owner

An agent fixed the findings of the independent review of ab40586 on this branch. The branch is rebased on main (cbf4fcd), and the new head is d567f35.

Finding Fix
Minor: form_check is not in the class table of docs/ROADMAP_WORKFLOW.md and not in the requirement "One default action for each class" The table has the row form_check / retry, and the paragraph of the classes that a site passes says that the refine round gives form_check. In roadmap-failure-taxonomy, the requirement gives form_check the action retry and plan_unreadable the action wait, and its scenario counts 23 classes. The requirement also gave conflict the action wait, but ACTION_BY_CLASS gives repair (#5019), so I moved conflict to repair. The archived delta holds the same requirement.
Minor: the refined criterion "the record holds failure class form_check" is not built I did not build it, and design.md now says why. refine.failed_class is the class of a failed model call, and retry_after reads it to set the wait of the next round, so form_check there would set a wait that no model call caused. A second key refine.failure_class would hold two classes of one round under two near-equal names. The class is on the result line, which the grade reads, and the record keeps the failed parts in refine.failed_check and refine.failure. A comment on #6327 asks the owner to accept or refuse this deviation.

No behavior changed, so no test is new. Checks on d567f35 in the devcontainer: devops ci test on the refine job failure and job result tests and the failure, faults and limit class tests (204 passed), devops ci docs and devops openspec check pass.

@dan-petty
dan-petty enabled auto-merge (squash) November 20, 2026 15:54
The merge of main kept CONST_ROADMAP_REFINE_FAILURE_MAX_CHARS and CONST_ROADMAP_REFINE_JUDGE_FINDINGS_MAX_CHARS, which this change removes. The form_check row names only the empty parts that the schema allows; a field the schema refuses is parser.
@dan-petty
dan-petty merged commit 582ad22 into main Nov 20, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/6327-name-the-failed-refine-form-check branch November 20, 2026 16:10
dan-petty pushed a commit that referenced this pull request Nov 20, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.183.1](v0.183.0...v0.183.1)
(2026-11-20)


### Bug Fixes

* **k8s:** load only the needed Secret keys in runner Jobs
([#6520](#6520))
([a656f4b](a656f4b)),
closes [#6518](#6518)
* **roadmap:** Name the failed refine form check to the model
([#6507](#6507))
([582ad22](582ad22))

---
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): Name the failed refine form check to the model

1 participant