4747 uses : astral-sh/setup-uv@v3
4848 with :
4949 version : " latest"
50- enable-cache : true
51- cache-dependency-glob : " **/pyproject.toml"
50+ enable-cache : false # Disable cache to ensure fresh test runs
5251
5352 - name : Set up Python
5453 run : uv python install
5857 uv venv
5958 # Install dependencies without installing the package itself (to avoid dev dependency issues)
6059 uv pip install langchain langgraph langchain-anthropic fastapi "uvicorn[standard]" pydantic launchdarkly-server-sdk launchdarkly-server-sdk-ai numpy openai faiss-cpu PyMuPDF tiktoken streamlit requests python-dotenv PyYAML langchain-openai langchain-mcp-adapters beautifulsoup4 mcp semanticscholar rank-bm25 langchain-mistralai httpx boto3 langchain-aws
61- uv pip install git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@feature/user-friendly-setup
60+ uv pip install --no-cache git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@main
6261
6362 - name : Validate required secrets
6463 run : |
@@ -153,8 +152,7 @@ jobs:
153152 uses : astral-sh/setup-uv@v3
154153 with :
155154 version : " latest"
156- enable-cache : true
157- cache-dependency-glob : " **/pyproject.toml"
155+ enable-cache : false # Disable cache to ensure fresh test runs
158156
159157 - name : Set up Python
160158 run : uv python install
@@ -164,7 +162,7 @@ jobs:
164162 uv venv
165163 # Install dependencies without installing the package itself (to avoid dev dependency issues)
166164 uv pip install langchain langgraph langchain-anthropic fastapi "uvicorn[standard]" pydantic launchdarkly-server-sdk launchdarkly-server-sdk-ai numpy openai faiss-cpu PyMuPDF tiktoken streamlit requests python-dotenv PyYAML langchain-openai langchain-mcp-adapters beautifulsoup4 mcp semanticscholar rank-bm25 langchain-mistralai httpx boto3 langchain-aws
167- uv pip install git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@feature/user-friendly-setup
165+ uv pip install --no-cache git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@main
168166
169167 - name : Validate required secrets
170168 run : |
@@ -285,6 +283,17 @@ jobs:
285283 echo "API server URL: http://localhost:8000"
286284 echo "Test data file: test_data/ai_config_evaluation.yaml"
287285
286+ # PROOF OF EXECUTION: Show current timestamp
287+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
288+ echo "🕐 TEST EXECUTION START TIME: $(date -u '+%Y-%m-%d %H:%M:%S UTC')"
289+ echo "🔍 Workflow Run ID: ${{ github.run_id }}"
290+ echo "📝 Commit SHA: ${{ github.sha }}"
291+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
292+
293+ # Delete any cached logs/reports from previous runs
294+ rm -rf logs/judge_evaluations/*.log logs/judge_evaluations/*.jsonl test-report.json
295+ echo "🧹 Cleared old test artifacts to ensure fresh run"
296+
288297 # Run tests with HTTP evaluator (calls API endpoint to test full system)
289298 .venv/bin/ld-aic test \
290299 --config-keys "supervisor-agent,support-agent,security-agent" \
@@ -298,6 +307,13 @@ jobs:
298307
299308 TEST_EXIT_CODE=$?
300309
310+ # PROOF OF EXECUTION: Show completion timestamp and verify new logs were created
311+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
312+ echo "🕐 TEST EXECUTION END TIME: $(date -u '+%Y-%m-%d %H:%M:%S UTC')"
313+ echo "📊 Verifying new test artifacts were created:"
314+ ls -lh test-report.json logs/judge_evaluations/ 2>/dev/null || echo "⚠️ Warning: Expected test artifacts not found!"
315+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
316+
301317 exit $TEST_EXIT_CODE
302318
303319 - name : Stop API server
@@ -371,8 +387,7 @@ jobs:
371387 uses : astral-sh/setup-uv@v3
372388 with :
373389 version : " latest"
374- enable-cache : true
375- cache-dependency-glob : " **/pyproject.toml"
390+ enable-cache : false # Disable cache to ensure fresh test runs
376391
377392 - name : Set up Python
378393 run : uv python install
@@ -382,7 +397,7 @@ jobs:
382397 uv venv
383398 # Install dependencies without installing the package itself (to avoid dev dependency issues)
384399 uv pip install langchain langgraph langchain-anthropic fastapi "uvicorn[standard]" pydantic launchdarkly-server-sdk launchdarkly-server-sdk-ai numpy openai faiss-cpu PyMuPDF tiktoken streamlit requests python-dotenv PyYAML langchain-openai langchain-mcp-adapters beautifulsoup4 mcp semanticscholar rank-bm25 langchain-mistralai httpx boto3 langchain-aws
385- uv pip install git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@feature/user-friendly-setup
400+ uv pip install --no-cache git+https://x-access-token:${{ secrets.GH_PAT }}@github.com/launchdarkly-labs/scarlett_ai_configs_ci_cd-.git@main
386401
387402 - name : Validate required secrets
388403 run : |
0 commit comments