Skip to content

docs(openspec): remove plan #2369, its premise fails - #3029

Merged
dan-petty merged 1 commit into
mainfrom
docs/2369-fix-plan
Nov 1, 2026
Merged

dan-petty merged 1 commit into
mainfrom
docs/2369-fix-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

This change removes the plan folder openspec/changes/2369-the-startup-import-tests-start-56/. The Service staged it in pull request #2985.

The plan drops -X importtime from the startup-import probe. Its goal is half of the CPU time of tests/test_cli_startup_imports.py. The measure shows that the flag does not change the CPU time. The ratio of a probe without the flag to a probe with it is 0.97 to 1.02. So the plan cannot meet its goal.

The issue goes back to New with the evidence. A new item can re-scope it after #2164 moves this budget into a devops ci row.

Plans #2369

The plan drops -X importtime from the startup-import probe to cut the
CPU time of the test file by half. The measure shows this cannot work.

Paired CPU time of one probe, 10 runs each, with and without the flag:
--version 1.222 s and 1.205 s, --help 1.125 s and 1.160 s,
ci --help 1.479 s and 1.510 s, ai agents --help 3.359 s and 3.304 s.
The ratio is 0.97 to 1.02. A bare interpreter costs 0.03 s and
"import devops_cli.entry" costs 0.36 s. The rest is the work of the
command itself, which the budget must keep.

Issue #2164 also plans to move this budget into a devops ci row.

The ship stage returns #2369 to New with this evidence.
@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

Change

  • The change folder openspec/changes/2369-the-startup-import-tests-start-56/ is removed (5 files, 80 lines). No code, test or other change folder is touched.

Evaluation findings (PR #2985)

Verification

  • uv run devops openspec check: passed.
  • uv run pytest tests/invariants/test_change_folders.py -n 0 -q: 16 passed.
  • origin/main was merged into the branch before the first push: already up to date.

Issue action

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 12:52
@dan-petty
dan-petty merged commit 944cab7 into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the docs/2369-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