Skip to content

docs(openspec): fix plan #2167 test seams - #3033

Merged
dan-petty merged 2 commits into
mainfrom
docs/2167-fix-plan
Nov 1, 2026
Merged

dan-petty merged 2 commits into
mainfrom
docs/2167-fix-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

This change corrects the OpenSpec plan of #2167 in place. It changes only the folder openspec/changes/2167-the-49-test-files-that-no/. It changes no code and no test.

The first plan came from the Service (pull request #2982). An evaluation of 2026-11-01 found that it was not safe to build from. Most paths of the issue table were stale, the counts of the audit were old, and the groups did not match the code.

The corrected plan:

  • Uses the real mirror paths of the test files on main.
  • Covers 43 files, not 49, in 21 groups. Six files are clean already.
  • Gives the evidence for each premise in the Feasibility section.
  • Lists every user of each renamed name, including the tests and documents that the first plan missed.
  • Gives the IPv6 probe test its own loopback server, with a skip where the host has no IPv6 loopback.

Plans #2167

The first plan named 39 test paths that #2830 had moved, a fake module that does not exist, and one task template for 21 groups. This plan names the mirror paths, holds command evidence in its Feasibility section, lists 43 files (six are already clean), gives each group the product code it reads, uses repeatable scans in place of tests that cannot fail, and drops the spec delta and the stale follow-up section.
Add the three test files and the document that use the renamed review
functions. Fix the loopback server of the IPv6 probe case.
@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Evaluation of PR #2982 and the result.

Changes of the corrected plan (two commits on this branch):

  • First commit: new paths, evidence, counts and 21 groups.
  • Second commit (the three findings of the verification):
    • Group 15 now names the three test files that use the renamed review functions: tests/git/test_review_worktree_regression.py, tests/commands/test_review_removed_options.py and tests/review/test_review_group_analysis.py. They are in the verify command of 15.1 and 15.4. The base figures of 18.1 and 19.1 now describe the code after group 15.
    • Group 15 also names docs/SELF_IMPROVEMENT.md. The grep of 15.4 covers src tests docs k8s, and 15.4 runs uv run devops ci docs. Task 1.2 names k8s/README.md lines 21 and 886 and docs/SDLC.md line 295.
    • Task 5.2 builds its own loopback server in the test file. It binds ::1 for the IPv6 case and skips where the host has no IPv6 loopback.

Findings confirmed (re-checked at origin/main 1c20865):

  • Major: git grep -l -w of the five review function names over tests lists 17 files. The first plan named 14. The 3 missing files are the ones above.
  • Minor: docs/SELF_IMPROVEMENT.md line 39 names _execute_review_workflow. k8s/README.md line 886 names _HELM_RELEASES_BY_STACK.
  • Minor: http_server is a fixture local to tests/sandbox/test_sandbox_probe.py (line 167), and it binds 127.0.0.1.

Findings not confirmed: none.

I also ran a completeness check for all renamed names of all groups. Every file of tests/ that uses one is now named in the plan. The two hits for HELM_RELEASES_BY_STACK (public, not renamed) and tests/ui/test_ui_pod_inspector.py (it uses another function, _get_k8s_client of data_providers) are not defects.

Verification: openspec validate 2167-the-49-test-files-that-no --strict, uv run devops openspec check and uv run pytest tests/invariants/test_change_folders.py -n 0 -q (16 passed) pass. The path check finds every path real on origin/main. The only misses are the two deliberate mentions of the non-existent tests/k8s_fakes.py. I ran no code or test of the item itself, as the change touches only the plan.

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 12:57
@dan-petty
dan-petty merged commit c662aed into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the docs/2167-fix-plan branch November 1, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant