Repository navigation
Closed
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/securitySecurity linters (trivy, bandit, gitleaks, kubeconform) and Vaultsource/agentFiled by an agenttype/testType test: a new or changed testvalue/mediumValue Medium
Description
Problem or Motivation
Part 3 of #1332. The OSV, Shodan, threat-intel and Vault HTTP tests, the Cloudflare Radar Valkey client, the secret tests and the span-masking tests of #1332 need fakes that are not on main yet: the HTTP and DNS seam (#1314), the Valkey seam (#1317), the keyring seam (#1318) and the OTLP exporter seam (#1319).
Proposed Solution & Architectural Design
When those seams merge:
DependencyRemediator, the vulnerability lookups and the Vault broker take their HTTP client from refactor(cli): Unify HTTP and DNS seams with shared fakes #1314's seam, and their tests use its fake. No test patchesvault_lease._postor the broker.- The Cloudflare Radar client's default Valkey client comes from refactor(ai): Valkey, Qdrant and the embedder each have one seam, with shared fakes and contract suites #1317's seam, and its tests use its fake.
- Secrets come from refactor(security): one keyring seam owns the keyring and the Secret Service lock check, with a shared keyring fake and its contract suite #1318's keyring fake through the
SecretProviderseam. - The span-masking checks read exported spans from refactor(telemetry): OTLP export goes through one exporter seam, and tests read exported spans and metrics from a shared fake #1319's OTLP fake, opted into per test.
Target Subsystem
src/devops_cli/security/ and the secret, vulnerability-lookup and sandbox-protection tests.
Existing Tool Considered
The seams and fakes are #1314, #1317, #1318 and #1319. This item builds no seam.
Acceptance criteria
- The criteria of test(security): scanner, secret and crypto tests run on the executor, process, http and keyring fakes, and scanners stop looking for mocks #1332 for HTTP, Valkey, keyring and spans hold.
- The tests run offline.
Related
Parent: #1332. Waits for #1314, #1317, #1318 and #1319.
Source: #1332
Alternatives check of 2026-11-04: not-applicable.
Class: test, no search.
Tool: none found.
Proposed design
Problem statement
a
Acceptance criteria
Existing Tool Considered
b
Key questions
None.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/securitySecurity linters (trivy, bandit, gitleaks, kubeconform) and Vaultsource/agentFiled by an agenttype/testType test: a new or changed testvalue/mediumValue Medium
Activity
dan-petty commentedon Oct 28, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
The title and body describe rewriting security tests to use existing fakes instead of monkey-patching.It is a planned part of #1332 but is blocked on four seam items merging first.It removes fragile patches from tests and makes them run offline, improving reliability for all contributors.It rewires several test modules to consume four existing fakes, with no new seam or logic to build.Both are parts of #1332 that move security tests onto shared fakes, but 2543 targets process, clock and session fakes while this candidate targets HTTP, Valkey, keyring and OTLP fakes.refactor(security): the scanners stop looking for mocks, and their te…
devops-cli-service commentedon Oct 29, 2026
Refine cannot set this item to Ready at 0f7bc26 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
devops-cli-service commentedon Nov 4, 2026
Alternatives check: not-applicable
Class: test. The check makes no search and no model call for an item of this class.
Tool: none found
Checked on 2026-11-04. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 5, 2026
Refine cannot set this item to Ready at d254410 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
[-]test(security): the HTTP, Valkey, secret and span tests of the security package run on the HTTP, Valkey, keyring and OTLP fakes[/-][+]test(security): Run security tests on HTTP, Valkey, keyring and OTLP fakes[/+]dan-petty commentedon Nov 6, 2026
The job shortened the title of this item. The summary had 111 characters, and the limit is 60. The type and the scope stay.
test(security): the HTTP, Valkey, secret and span tests of the security package run on the HTTP, Valkey, keyring and OTLP fakestest(security): Run security tests on HTTP, Valkey, keyring and OTLP fakes