Skip to content

docs(openspec): plan #4449 Move the golden base commit check to a ci row - #5558

Merged
dan-petty merged 2 commits into
mainfrom
test/4449-check-golden-base-commits-in-a
Nov 13, 2026
Merged

dan-petty merged 2 commits into
mainfrom
test/4449-check-golden-base-commits-in-a

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #4449

The golden stage eval cases name old base commits, and a pytest test started real git for them and skipped on a shallow clone. docs/TESTING.md forbids both: a test of src/ starts no system program, and a check of committed files is a row of devops ci. The new row roadmap-stage-eval-commits, with its check module in tests/gate/, reads the cases and the git history. It fails on a base commit that is not a full hash of a commit, on a NO_COMMIT case with no note that it reads no commit, and on a shallow clone, with a message that names the missing history. Its verdict takes the git answers as arguments, so a pytest test gives canned answers and starts no program. The old test and its helper go away; the merge-commit hash test stays.

Change: openspec/changes/4449-check-golden-base-commits-in-a/

@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 13, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 13, 2026 21:58
devops-cli-service Bot and others added 2 commits November 13, 2026 22:49
Task 2.1 removes test_each_base_commit_of_the_set_is_a_full_hash_of_a_real_commit_or_the_case_reads_none, and the plan had no Weakened checks entry, so the implement step guard would stop with tests_lost. The new ci row and its invariant test keep the same checks.
@dan-petty
dan-petty force-pushed the test/4449-check-golden-base-commits-in-a branch from c0e68d3 to 960bb9b Compare November 13, 2026 22:50
@dan-petty

Copy link
Copy Markdown
Owner

Plan correction (agent, 2026-11-13): task 2.1 removes tests/roadmap/stage/test_roadmap_stage_eval_cases.py::test_each_base_commit_of_the_set_is_a_full_hash_of_a_real_commit_or_the_case_reads_none, and the plan had no ## Weakened checks entry, so the implement step guard would stop with tests_lost (the same defect as #4472, #1928 and #5272; evidence on #3320). Commit 960bb9b adds the entry: the new devops ci row roadmap-stage-eval-commits and its invariant test keep the same checks. plan_read.weakened_checks reads 1 entry, openspec validate --strict passes, and the branch is rebased on main 06bf1e6.

@dan-petty
dan-petty merged commit bfd1e2d into main Nov 13, 2026
22 checks passed
@dan-petty
dan-petty deleted the test/4449-check-golden-base-commits-in-a branch November 13, 2026 23:49
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