diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index b334609..925b593 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -46,6 +46,7 @@ jobs: python -m pip install --upgrade pip pip install -e ".[dev]" pip install pytest pytest-asyncio pytest-benchmark pytest-benchmark[histogram] + pip install -e ../sdk # Install SDK for benchmarks - name: Run benchmarks working-directory: ./backend diff --git a/backend/toolbox/workflows/gitleaks_detection/workflow.py b/backend/toolbox/workflows/gitleaks_detection/workflow.py index 06c63a4..4960e16 100644 --- a/backend/toolbox/workflows/gitleaks_detection/workflow.py +++ b/backend/toolbox/workflows/gitleaks_detection/workflow.py @@ -16,7 +16,7 @@ Scans code for secrets and credentials using Gitleaks. # Additional attribution and requirements are provided in the NOTICE file. from datetime import timedelta -from typing import Dict, Any, Optional +from typing import Dict, Any from temporalio import workflow from temporalio.common import RetryPolicy diff --git a/backend/toolbox/workflows/trufflehog_detection/activities.py b/backend/toolbox/workflows/trufflehog_detection/activities.py index 26f73af..31bb92c 100644 --- a/backend/toolbox/workflows/trufflehog_detection/activities.py +++ b/backend/toolbox/workflows/trufflehog_detection/activities.py @@ -1,6 +1,5 @@ """TruffleHog Detection Workflow Activities""" -import logging from pathlib import Path from typing import Dict, Any from temporalio import activity diff --git a/docs/docs/concept/resource-management.md b/docs/docs/concept/resource-management.md index 67dee33..ab56599 100644 --- a/docs/docs/concept/resource-management.md +++ b/docs/docs/concept/resource-management.md @@ -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)" ``` -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. --- diff --git a/docs/docs/how-to/create-workflow.md b/docs/docs/how-to/create-workflow.md index 4a97c91..3a5c814 100644 --- a/docs/docs/how-to/create-workflow.md +++ b/docs/docs/how-to/create-workflow.md @@ -110,7 +110,7 @@ workspace_isolation: "isolated" - Downloads once, copies per run - 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. ---