Skip to content

test(security): record the scanner runs again inside pytest (#5083) - #7596

Merged
dan-petty merged 3 commits into
mainfrom
test/5083-pytest-scanner-record
Nov 28, 2026
Merged

dan-petty merged 3 commits into
mainfrom
test/5083-pytest-scanner-record

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Move scanner, Docker Engine, Valkey, and git fixture recording into pytest -m record tests and remove python -c instructions across recorders and documentation. Sanitize machine scratch paths in recorded_runs.json, commit missing fixture input trees (pluto, kubeconform, tflint), and register the record marker as deselected by default.

Closes #5083

Change: openspec/changes/archive/2026-11-28-5083-pytest-scanner-record/

@dan-petty dan-petty added type/test Type test: a new or changed test scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault labels Nov 28, 2026
@dan-petty
dan-petty force-pushed the test/5083-pytest-scanner-record branch from 6f762c1 to b6fc6a3 Compare November 28, 2026 15:08
@dan-petty
dan-petty marked this pull request as ready for review November 28, 2026 15:16
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: b6fc6a350ccef0d3e2692b7e13de225befc87102

Check Conclusion Link
Upload Scan SARIF success run
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Trivy success run
Service Image Tests (shard 1 of 6) success run
Service Image Tests (shard 2 of 6) success run
Service Image Tests (shard 5 of 6) success run
Service Image Tests (shard 4 of 6) success run
Service Image Tests (shard 6 of 6) success run
Service Image Tests (shard 3 of 6) success run
Changed-Test Independence success run
CodeQL success run
Plan Check skipped run
Dependency Freshness skipped run
Test Job Duration skipped run
Tests on Main skipped run
Tests & Coverage (shard 5 of 6) success run
Semantic PR title success run
Tests & Coverage (shard 2 of 6) success run
Changed-Test Independence (run 1 of 3) success run
Tests & Coverage (shard 1 of 6) success run
Static Analysis success run
Changed-Test Independence (run 2 of 3) success run
Tests & Coverage (shard 6 of 6) success run
Design Tokens success run
Tests & Coverage (shard 4 of 6) success run
Runner Image success run
DevContainer Image success run
Changed-Test Independence (run 3 of 3) success run
Tests & Coverage (shard 3 of 6) success run
Docs Site Build success run
Service Image Build success run
Service Image success run
Analyze (actions) success run
Analyze (python) success run

Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Test Job Duration
Skipped check: Tests on Main

@dan-petty
dan-petty merged commit 0731f78 into main Nov 28, 2026
37 checks passed
@dan-petty
dan-petty deleted the test/5083-pytest-scanner-record branch November 28, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault type/test Type test: a new or changed test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(security): record the scanner runs again inside pytest

1 participant