Skip to content

feat(docs): Fail the docs check on a delivered issue - #7965

Merged
dan-petty merged 2 commits into
mainfrom
feat/4912-docs-check-finds-the-delivered-issue
Dec 1, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/4912-docs-check-finds-the-delivered-issue

Conversation

@devops-cli-service

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

Copy link
Copy Markdown
Contributor

A living document or an ADR in force can still name a delivered issue as open after the pull request of that issue merges, and no check stops that. This breaks AGENTS.md rule 8, which says that a pull request repairs a document that its change makes wrong. #4912 adds the rule that fails the docs row on such a line.

Closes #4912

Change: openspec/changes/archive/2026-11-30-4912-docs-check-finds-the-delivered-issue/

@devops-cli-service devops-cli-service Bot added scope/docs Documents, guides, ADRs and generated references type/feature Type feature: a new function labels Nov 30, 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 1 626087/1325 -
group 2 done 2 4200447/17393 -
group 3 done 1 18129008/20568 pytest on base: tests/docs/test_docs_stale_issue.py
group 4 done 1 1262514/1803 -
group 5 done 1 8451807/5360 pytest on base: tests/docs/test_docs.py, tests/docs/test_docs_knowledge_base_argv.py, tests/docs/test_docs_source_argv_collector.py, tests/docs/test_docs_stale_
group 6 done 1 2527825/1832 -
  • tools: run_command 64, read_file 42, grep 39, edit_file 18, write_file 3
  • scoped check pre-push: passed, 29 s
  • scoped check static: passed, 33 s
  • scoped check tests: passed, 78 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 1: skipped, group 1: kind other
  • group 4: skipped, group 4: kind other
  • group 6: skipped, group 6: kind other
  • verify of group 1: uv run devops ci test tests/roadmap/test_roadmap_planned.py exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
No coverage index found. Run `devops ci coverage --build-index` to build one.
  tests/roadmap/test_roadmap_planned.py \u2192 tests/roadmap/test_roadmap_planned.py
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.10, pytest-9.2.0, pluggy-1.7.0
rootdir: /run/roadmap/work/model-clone
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, hypothesis-6.170.27, platformdirs-4.14.9, time-machine-3.6.0, mock-3.17.0, anyio-4.16.0, asyncio-1.5.0, testmon-2.4.1, syrupy-7.0.3, timeout-2.4.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 5 items

tests/roadmap/test_roadmap_planned.py .....                                                                                                                                                                                                        [100%]

=================================================================================================================== 5 passed in 1.39s ====================================================================================================================
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.docs.test_docs_stale_issue::test_pending_cue_list_holds_the_seven_cues_of_the_issue, tests.docs.test_docs_stale_issue::test_change_folder_and_pending_cue_fails, tests.docs.test_docs_stale_issue::test_archived_change_folder_counts, tests.docs.test_docs_stale_issue::test_archived_change_folder_does_not_deliver_the_year, tests.docs.test_docs_stale_issue::test_record_and_superseded_adr_are_skipped, tests.docs.test_docs_stale_issue::test_another_issue_number_passes, tests.docs.test_docs_stale_issue::test_no_added_change_folder_reports_nothing, tests.docs.test_docs_stale_issue::test_line_with_no_pending_cue_passes, tests.docs.test_docs_stale_issue::test_generated_document_and_adr_in_force_are_scanned.
  • fail-to-pass of group 3: fails on the base commit. Tests that fail on the base commit: tests.docs.test_docs_stale_issue::test_no_request_to_github, tests.docs.test_docs_stale_issue::test_git_diff_failure_raises_git_operation_error.
  • verify of group 4: uv run devops ci test tests/docs/test_docs_stale_issue.py exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
No coverage index found. Run `devops ci coverage --build-index` to build one.
  tests/docs/test_docs_stale_issue.py \u2192 tests/docs/test_docs_stale_issue.py
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.10, pytest-9.2.0, pluggy-1.7.0
rootdir: /run/roadmap/work/model-clone
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, hypothesis-6.170.27, platformdirs-4.14.9, time-machine-3.6.0, mock-3.17.0, anyio-4.16.0, asyncio-1.5.0, testmon-2.4.1, syrupy-7.0.3, timeout-2.4.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 12 items

tests/docs/test_docs_stale_issue.py ............                                                                                                                                                                                                   [100%]

=================================================================================================================== 12 passed in 0.56s ===================================================================================================================
  • fail-to-pass of group 5: fails on the base commit. Tests that fail on the base commit: tests.docs.test_docs_stale_issue::test_check_docs_reports_the_stale_issue_cue.
  • verify of group 6: uv run devops ci --check --only docs exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
\u2139 Executing CI quality gates concurrently...
  \u2713 pass [python_version] python version check (3.14+) (4\xb5s)
\u2713 All documentation files are up to date.
rumdl-links: 2 cases, 0 failed
  \u2713 pass [docs] docs validation (28s)
            CI Summary            
 Check           Result  Duration 
 python_version  \u2713 pass  4\xb5s      
 docs            \u2713 pass  28s      
Total Elapsed: 28s (concurrent async execution)
  • verify of group 6: uv run devops ci docs exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
\u2713 All documentation files are up to date.

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 30, 2026 22:45
@dan-petty
dan-petty merged commit 6b17d20 into main Dec 1, 2026
41 checks passed
@dan-petty
dan-petty deleted the feat/4912-docs-check-finds-the-delivered-issue branch December 1, 2026 00:09
dan-petty-release Bot added a commit that referenced this pull request Dec 1, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.266.0](v0.265.4...v0.266.0)
(2026-12-01)


### Features

* **docs:** Fail the docs check on a delivered issue
([#7965](#7965))
([6b17d20](6b17d20))

---
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/docs Documents, guides, ADRs and generated references type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(docs): docs check finds the delivered issue named as open

1 participant