fix: Resolve CI failures for v0.7.0 release

Fix lint errors:
- Remove unused Optional import from gitleaks workflow
- Remove unused logging import from trufflehog activities

Fix documentation broken links:
- Update workspace-isolation links to use /docs/ prefix in resource-management.md
- Update workspace-isolation links to use /docs/ prefix in create-workflow.md

Fix benchmark dependency:
- Add fuzzforge-sdk installation to benchmark workflow
- SDK is required for bench_comparison.py import

All CI checks should now pass.
This commit is contained in:
tduhamel42
2025-10-16 12:55:20 +02:00
parent 28ad4468de
commit 11b3e6db6a
5 changed files with 4 additions and 4 deletions

View File

@@ -46,6 +46,7 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -e ".[dev]" pip install -e ".[dev]"
pip install pytest pytest-asyncio pytest-benchmark pytest-benchmark[histogram] pip install pytest pytest-asyncio pytest-benchmark pytest-benchmark[histogram]
pip install -e ../sdk # Install SDK for benchmarks
- name: Run benchmarks - name: Run benchmarks
working-directory: ./backend working-directory: ./backend

View File

@@ -16,7 +16,7 @@ Scans code for secrets and credentials using Gitleaks.
# Additional attribution and requirements are provided in the NOTICE file. # Additional attribution and requirements are provided in the NOTICE file.
from datetime import timedelta from datetime import timedelta
from typing import Dict, Any, Optional from typing import Dict, Any
from temporalio import workflow from temporalio import workflow
from temporalio.common import RetryPolicy from temporalio.common import RetryPolicy

View File

@@ -1,6 +1,5 @@
"""TruffleHog Detection Workflow Activities""" """TruffleHog Detection Workflow Activities"""
import logging
from pathlib import Path from pathlib import Path
from typing import Dict, Any from typing import Dict, Any
from temporalio import activity from temporalio import activity

View File

@@ -563,7 +563,7 @@ docker-compose -f docker-compose.temporal.yaml logs worker-rust | grep "Evicted
docker-compose -f docker-compose.temporal.yaml logs worker-rust | grep -E "Cache (HIT|MISS)" docker-compose -f docker-compose.temporal.yaml logs worker-rust | grep -E "Cache (HIT|MISS)"
``` ```
See the [Workspace Isolation](/concept/workspace-isolation) guide for complete details on isolation modes and when to use each. See the [Workspace Isolation](/docs/concept/workspace-isolation) guide for complete details on isolation modes and when to use each.
--- ---

View File

@@ -110,7 +110,7 @@ workspace_isolation: "isolated"
- Downloads once, copies per run - Downloads once, copies per run
- Balances performance and isolation - Balances performance and isolation
See the [Workspace Isolation](/concept/workspace-isolation) guide for details. See the [Workspace Isolation](/docs/concept/workspace-isolation) guide for details.
--- ---