Repository navigation
docs(openspec): plan #4439 Make refused programs visible on every host - #6946
Merged
Merged
Conversation
dan-petty
force-pushed
the
test/4439-fail-a-scan-test-without-fake
branch
from
November 24, 2026 02:13
d714b6e to
f0f0ab1
Compare
Contributor
Author
|
The plan check of this pull request passes again on the default branch. The drift row removes the label |
dan-petty
force-pushed
the
test/4439-fail-a-scan-test-without-fake
branch
from
November 24, 2026 02:21
f0f0ab1 to
b6daeeb
Compare
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/