Files
pruefwerk/compliance-agent/tests
Sharang ParnerkarandClaude Opus 5.5 cc911f052e
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 5m55s
feat(ci): JavaScript/TypeScript and Python fixtures for the nightly (#310)
Twelve package-manager variants, each uploaded as a source archive with a
vulnerable pinned dependency, a SAST sink, committed (fake) credentials,
OAuth and PII patterns, and ruff violations for Python: npm lockfile v3,
yarn classic and berry, pnpm, Bun's text and binary lockfiles, npm with no
lockfile, requirements.txt, poetry, pipenv, uv, and a bare pyproject.toml.

Fixes the fixtures turned up:

- A manifest with no lockfile gave a silently empty SBOM: Syft reads
  lockfiles, not manifests. The SBOM stage now records a skipped
  `sbom_dependencies` stage naming the manifest and what to commit,
  checked after lockfile generation so a generated lockfile counts.
- Bun projects got npm's versions. Neither Bun lockfile counted as a
  lockfile, so npm re-resolved the project and the SBOM reported its
  fresh resolution as the shipped versions. Bun lockfiles (and
  npm-shrinkwrap.json) now count; a project locked only by the binary
  bun.lockb, which Syft cannot read, says so and names the text bun.lock.
- The code graph was never asserted. The harness now reads its node
  count, and targets can set a `min_graph_nodes` floor.

The npm no-lockfile fixture pins only dependency-free packages, so npm's
resolution is the same every night. That resolution follows registry
configuration from the scanned repository, which is #330.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-09-23 10:08:51 +02:00
..