Skip to content

Cache dependency security scans and record timeouts#11

Merged
bsbodden merged 1 commit into
mainfrom
issue-6-dependency-scan-cache-timeout
May 17, 2026
Merged

Cache dependency security scans and record timeouts#11
bsbodden merged 1 commit into
mainfrom
issue-6-dependency-scan-cache-timeout

Conversation

@bsbodden

Copy link
Copy Markdown
Member

Summary

  • Add dependency-file scan caching keyed by path and modification time
  • Add configurable per-file scan timeout handling
  • Record scan timeout/errors separately from vulnerability counts

Closes #6

Tests

  • uv run pytest tests/test_dependency_security.py -q
  • uv run ruff check src/mfcqi/metrics/dependency_security.py tests/test_dependency_security.py

@bsbodden bsbodden force-pushed the issue-6-dependency-scan-cache-timeout branch 2 times, most recently from c975e81 to bdff0e8 Compare May 16, 2026 22:34
@github-actions

Copy link
Copy Markdown
Contributor

✅ MFCQI Score: 0.87 → (±0.000)

➡️ Previous: 0.87

Code quality meets the minimum threshold (0.70).

@bsbodden bsbodden force-pushed the issue-6-dependency-scan-cache-timeout branch from bdff0e8 to 1963c5b Compare May 16, 2026 22:38
@github-actions

Copy link
Copy Markdown
Contributor

✅ MFCQI Score: 0.87 → (±0.000)

➡️ Previous: 0.87

Code quality meets the minimum threshold (0.70).

@github-actions

Copy link
Copy Markdown
Contributor

✅ Code Quality Report

Metric Score Status
MFCQI Score 0.8710134303164616 ✅ Good
Test Coverage 82% ✅ Good
Security Issues 0 ✅ Clean

Quality Gates

  • MFCQI Score: ✅ Minimum 0.75 (Current: 0.8710134303164616)
  • Test Coverage: ✅ Minimum 80% (Current: 82%)
  • Security: ✅ Zero vulnerabilities (Current: 0)

🎉 All quality gates passed! This PR maintains high code quality standards.

📊 View detailed MFCQI breakdown

Run mfcqi analyze src/mfcqi locally to see detailed metrics breakdown.

@bsbodden bsbodden force-pushed the issue-6-dependency-scan-cache-timeout branch from 1963c5b to 19d07e7 Compare May 17, 2026 00:29
@github-actions

Copy link
Copy Markdown
Contributor

✅ MFCQI Score: 0.87 → (±0.000)

➡️ Previous: 0.87

Code quality meets the minimum threshold (0.70).

@github-actions

Copy link
Copy Markdown
Contributor

✅ Code Quality Report

Metric Score Status
MFCQI Score 0.8712723491166509 ✅ Good
Test Coverage 81% ✅ Good
Security Issues 0 ✅ Clean

Quality Gates

  • MFCQI Score: ✅ Minimum 0.75 (Current: 0.8712723491166509)
  • Test Coverage: ✅ Minimum 80% (Current: 81%)
  • Security: ✅ Zero vulnerabilities (Current: 0)

🎉 All quality gates passed! This PR maintains high code quality standards.

📊 View detailed MFCQI breakdown

Run mfcqi analyze src/mfcqi locally to see detailed metrics breakdown.

@bsbodden bsbodden merged commit 8830fee into main May 17, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add timeout or caching controls for dependency security scans

1 participant