Skip to content

docs(openspec): plan #4439 Make refused programs visible on every host - #6946

Merged
dan-petty merged 1 commit into
mainfrom
test/4439-fail-a-scan-test-without-fake
Nov 24, 2026
Merged

dan-petty merged 1 commit into
mainfrom
test/4439-fail-a-scan-test-without-fake

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plan #4439. The test floor refuses a real gh or security scanner only when the host has the program on PATH. A scan test with no scanner_fake therefore passes on the GitHub runner and fails in the devcontainer. The floor writes an executable stand-in for each name that tests/support/refused_programs.py returns, under the run's temporary directory, first on PATH. shutil.which then finds the program on every host, and the floor's subprocess.Popen refusal fails the test before the merge. scanner_fake keeps its PATH replacement, so a scripted run is unchanged, and a test that sets its own PATH still sees a program as missing. Tests cover the floor lookup and a scan that runs with no scanner_fake. No spec delta: tests and docs only.

Plans #4439

Change: openspec/changes/4439-fail-a-scan-test-without-fake/

@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 24, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 24, 2026 01:53
@dan-petty
dan-petty force-pushed the test/4439-fail-a-scan-test-without-fake branch from d714b6e to f0f0ab1 Compare November 24, 2026 02:13
@devops-cli-service devops-cli-service Bot added the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 24, 2026
@devops-cli-service

devops-cli-service Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

The plan check of this pull request passes again on the default branch. The drift row removes the label verdict/fix-plan only when it added the label and the last plan comment lists no open finding.

@dan-petty
dan-petty force-pushed the test/4439-fail-a-scan-test-without-fake branch from f0f0ab1 to b6daeeb Compare November 24, 2026 02:21
@dan-petty dan-petty removed the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 24, 2026
@dan-petty
dan-petty merged commit 6f1fa66 into main Nov 24, 2026
26 checks passed
@dan-petty
dan-petty deleted the test/4439-fail-a-scan-test-without-fake branch November 24, 2026 02:54
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