diff --git a/.github/workflows/agent-performance-analyzer.lock.yml b/.github/workflows/agent-performance-analyzer.lock.yml index aebe97dbb8..22369ee30c 100644 --- a/.github/workflows/agent-performance-analyzer.lock.yml +++ b/.github/workflows/agent-performance-analyzer.lock.yml @@ -1265,20 +1265,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1354,13 +1340,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1372,14 +1351,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-agent-performance-analyzer-meta-orchestrator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1389,13 +1360,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1417,6 +1381,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/ai-moderator.lock.yml b/.github/workflows/ai-moderator.lock.yml index 84b2e201a0..14797f38a6 100644 --- a/.github/workflows/ai-moderator.lock.yml +++ b/.github/workflows/ai-moderator.lock.yml @@ -738,20 +738,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -826,13 +812,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -844,14 +823,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-ai-moderator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -861,13 +832,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -880,6 +844,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore check_external_user: needs: pre_activation diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index 9824cecea1..35d5989351 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -817,20 +817,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -920,13 +906,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -938,14 +917,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-archie - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -955,13 +926,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -974,6 +938,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index 374df32932..f30f8022af 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -637,20 +637,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -739,13 +725,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -757,14 +736,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-artifacts-summary - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -774,13 +745,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -793,6 +757,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index 8982bf8a62..9b5e08cef2 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -978,20 +978,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1132,13 +1118,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1150,14 +1129,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-agentic-workflow-audit-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1167,13 +1138,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1189,13 +1153,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1208,6 +1165,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/blog-auditor.lock.yml b/.github/workflows/blog-auditor.lock.yml index 807d6fb382..0cd0b6fbf1 100644 --- a/.github/workflows/blog-auditor.lock.yml +++ b/.github/workflows/blog-auditor.lock.yml @@ -850,20 +850,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1036,13 +1022,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1054,14 +1033,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-blog-auditor - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1071,13 +1042,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1090,6 +1054,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index 93e8898750..aa002d009a 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -720,20 +720,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -813,13 +799,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -831,14 +810,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-brave-web-search-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -848,13 +819,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -867,6 +831,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/breaking-change-checker.lock.yml b/.github/workflows/breaking-change-checker.lock.yml index 9ef9652413..1cb767cb04 100644 --- a/.github/workflows/breaking-change-checker.lock.yml +++ b/.github/workflows/breaking-change-checker.lock.yml @@ -753,20 +753,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -860,13 +846,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -878,14 +857,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-breaking-change-checker - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -895,13 +866,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -914,6 +878,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/campaign-generator.lock.yml b/.github/workflows/campaign-generator.lock.yml index c7bfd94427..9188a44b6a 100644 --- a/.github/workflows/campaign-generator.lock.yml +++ b/.github/workflows/campaign-generator.lock.yml @@ -678,20 +678,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -767,13 +753,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -785,14 +764,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-campaign-generator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -802,13 +773,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -821,6 +785,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/campaign-manager.lock.yml b/.github/workflows/campaign-manager.lock.yml index 1c97551eaa..df7264f555 100644 --- a/.github/workflows/campaign-manager.lock.yml +++ b/.github/workflows/campaign-manager.lock.yml @@ -1105,20 +1105,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1194,13 +1180,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1212,14 +1191,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-campaign-manager-meta-orchestrator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1229,13 +1200,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1257,6 +1221,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/changeset.lock.yml b/.github/workflows/changeset.lock.yml index 07d7e84ac6..a605ec5fde 100644 --- a/.github/workflows/changeset.lock.yml +++ b/.github/workflows/changeset.lock.yml @@ -865,20 +865,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Run Codex run: | set -o pipefail @@ -950,13 +936,6 @@ jobs: /tmp/gh-aw/mcp-config/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -968,14 +947,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_codex_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-changeset-generator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -985,13 +956,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1004,12 +968,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/ci-coach.lock.yml b/.github/workflows/ci-coach.lock.yml index cd70416379..2a94245220 100644 --- a/.github/workflows/ci-coach.lock.yml +++ b/.github/workflows/ci-coach.lock.yml @@ -1434,20 +1434,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1521,13 +1507,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1539,14 +1518,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-ci-optimization-coach - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1556,13 +1527,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1581,12 +1545,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index 1d0d2c7bac..f2093b0556 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -857,20 +857,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -947,13 +933,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -965,14 +944,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-ci-failure-doctor - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -982,13 +953,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1007,6 +971,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index 90f67dc740..6e9dd8eeb7 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -770,20 +770,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -857,13 +843,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -875,14 +854,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-cli-consistency-checker - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -892,13 +863,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -911,6 +875,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index 195bbfafc2..38511e4694 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -941,20 +941,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1095,13 +1081,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1113,14 +1092,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-cli-version-checker - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1130,13 +1101,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1155,6 +1119,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index ee1b7ee48c..75c1152d50 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -1052,20 +1052,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1249,13 +1235,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1267,14 +1246,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs--cloclo - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1284,13 +1255,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1309,12 +1273,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/commit-changes-analyzer.lock.yml b/.github/workflows/commit-changes-analyzer.lock.yml index fa0dd99ac5..05f0e4771c 100644 --- a/.github/workflows/commit-changes-analyzer.lock.yml +++ b/.github/workflows/commit-changes-analyzer.lock.yml @@ -802,20 +802,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -952,13 +938,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -970,14 +949,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-commit-changes-analyzer - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -987,13 +958,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1006,6 +970,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index 9e649481be..6021e63ff8 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -1193,20 +1193,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1368,13 +1354,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1386,14 +1365,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-copilot-agent-pr-analysis - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1403,13 +1374,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1437,6 +1401,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/copilot-pr-merged-report.lock.yml b/.github/workflows/copilot-pr-merged-report.lock.yml index 0468f0290d..c9566c4b37 100644 --- a/.github/workflows/copilot-pr-merged-report.lock.yml +++ b/.github/workflows/copilot-pr-merged-report.lock.yml @@ -824,20 +824,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -912,20 +898,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - - name: Upload SafeInputs logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safeinputs - path: /tmp/gh-aw/safe-inputs/logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -946,14 +918,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_safe_inputs_logs.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-copilot-pr-merged-report - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -963,13 +927,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -982,6 +939,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/safe-inputs/logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index 620bb55a61..2bedf26621 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -1504,20 +1504,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1594,13 +1580,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1612,14 +1591,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-copilot-pr-conversation-nlp-analysis - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1629,13 +1600,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1651,13 +1615,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1670,6 +1627,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index 661fae6b2c..85bc772081 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -1020,20 +1020,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1107,13 +1093,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1125,14 +1104,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-copilot-pr-prompt-pattern-analysis - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1142,13 +1113,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1176,6 +1140,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index 00e2794a6e..6d670fbec0 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -1947,20 +1947,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -2100,13 +2086,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -2118,14 +2097,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-copilot-session-insights - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -2135,13 +2106,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -2157,13 +2121,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -2176,6 +2133,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index 69ad981ac0..b9b9dc9119 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -897,20 +897,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -985,13 +971,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1003,14 +982,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-workflow-craft-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1020,13 +991,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1039,12 +1003,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/daily-assign-issue-to-user.lock.yml b/.github/workflows/daily-assign-issue-to-user.lock.yml index 244a2e42f0..303142ca8f 100644 --- a/.github/workflows/daily-assign-issue-to-user.lock.yml +++ b/.github/workflows/daily-assign-issue-to-user.lock.yml @@ -592,20 +592,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -681,13 +667,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -699,14 +678,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-auto-assign-issue - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -716,13 +687,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -735,6 +699,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-choice-test.lock.yml b/.github/workflows/daily-choice-test.lock.yml index 459e247709..fba6d9da00 100644 --- a/.github/workflows/daily-choice-test.lock.yml +++ b/.github/workflows/daily-choice-test.lock.yml @@ -516,20 +516,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -659,13 +645,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -677,14 +656,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-choice-type-test - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -694,13 +665,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -713,6 +677,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-cli-performance.lock.yml b/.github/workflows/daily-cli-performance.lock.yml index dcd1c1915c..ba32dc2459 100644 --- a/.github/workflows/daily-cli-performance.lock.yml +++ b/.github/workflows/daily-cli-performance.lock.yml @@ -1215,20 +1215,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1316,13 +1302,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1334,14 +1313,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-cli-performance-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1351,13 +1322,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1379,6 +1343,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index d30f0ce2f7..59f6c11e98 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -1456,20 +1456,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1609,13 +1595,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1627,14 +1606,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-code-metrics-and-trend-tracking-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1644,13 +1615,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1666,13 +1630,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1685,6 +1642,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-copilot-token-report.lock.yml b/.github/workflows/daily-copilot-token-report.lock.yml index 20559d8ccc..084bca6210 100644 --- a/.github/workflows/daily-copilot-token-report.lock.yml +++ b/.github/workflows/daily-copilot-token-report.lock.yml @@ -1611,20 +1611,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1701,13 +1687,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1719,14 +1698,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-copilot-token-consumption-report - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1736,13 +1707,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1758,13 +1722,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1777,6 +1734,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index fbe1f7aa27..30bf4f6e74 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -756,20 +756,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -932,13 +918,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -950,14 +929,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-documentation-updater - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -967,13 +938,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -992,12 +956,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/daily-fact.lock.yml b/.github/workflows/daily-fact.lock.yml index bb8b161a6a..5fc6c989af 100644 --- a/.github/workflows/daily-fact.lock.yml +++ b/.github/workflows/daily-fact.lock.yml @@ -569,20 +569,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Run Codex run: | set -o pipefail @@ -654,13 +640,6 @@ jobs: /tmp/gh-aw/mcp-config/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -672,14 +651,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_codex_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-fact-about-gh-aw - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -689,13 +660,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -708,6 +672,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index 2ea787c649..dfcbe0b876 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -1482,20 +1482,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1572,13 +1558,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1590,14 +1569,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-file-diet - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1607,13 +1578,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1629,13 +1593,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1648,6 +1605,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index 31a739f948..595b8f22e9 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -1063,20 +1063,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1153,13 +1139,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1171,14 +1150,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-firewall-logs-collector-and-reporter - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1188,13 +1159,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1210,13 +1174,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1229,6 +1186,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-issues-report.lock.yml b/.github/workflows/daily-issues-report.lock.yml index 6431540f08..9107fe7eb7 100644 --- a/.github/workflows/daily-issues-report.lock.yml +++ b/.github/workflows/daily-issues-report.lock.yml @@ -1653,20 +1653,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Run Codex run: | set -o pipefail @@ -1742,13 +1728,6 @@ jobs: /tmp/gh-aw/mcp-config/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1760,14 +1739,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_codex_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-issues-report-generator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1777,26 +1748,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1809,6 +1766,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-malicious-code-scan.lock.yml b/.github/workflows/daily-malicious-code-scan.lock.yml index dfa975f854..e728a697dc 100644 --- a/.github/workflows/daily-malicious-code-scan.lock.yml +++ b/.github/workflows/daily-malicious-code-scan.lock.yml @@ -890,20 +890,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -991,13 +977,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1009,14 +988,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-malicious-code-scan-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1026,13 +997,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1045,6 +1009,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-multi-device-docs-tester.lock.yml b/.github/workflows/daily-multi-device-docs-tester.lock.yml index a65894676c..5781c3b732 100644 --- a/.github/workflows/daily-multi-device-docs-tester.lock.yml +++ b/.github/workflows/daily-multi-device-docs-tester.lock.yml @@ -731,20 +731,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -923,13 +909,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -941,14 +920,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-multi-device-docs-tester - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -958,20 +929,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -984,6 +941,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index b2623f6b98..46213dbe1d 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -1435,20 +1435,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1527,13 +1513,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1545,14 +1524,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-news - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1562,13 +1533,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1584,13 +1548,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1603,6 +1560,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-performance-summary.lock.yml b/.github/workflows/daily-performance-summary.lock.yml index a63f99327c..7c717b93da 100644 --- a/.github/workflows/daily-performance-summary.lock.yml +++ b/.github/workflows/daily-performance-summary.lock.yml @@ -1592,20 +1592,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Run Codex run: | set -o pipefail @@ -1682,20 +1668,6 @@ jobs: /tmp/gh-aw/mcp-config/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - - name: Upload SafeInputs logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safeinputs - path: /tmp/gh-aw/safe-inputs/logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1716,14 +1688,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_safe_inputs_logs.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-project-performance-summary-generator-using-safe-inputs- - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1733,26 +1697,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1765,6 +1715,21 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/safe-inputs/logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index 03e487e50b..9e0b6478f0 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -1277,20 +1277,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1367,13 +1353,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1385,14 +1364,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-the-daily-repository-chronicle - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1402,26 +1373,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1434,6 +1391,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-team-status.lock.yml b/.github/workflows/daily-team-status.lock.yml index e08328dc53..e39b4e7ff7 100644 --- a/.github/workflows/daily-team-status.lock.yml +++ b/.github/workflows/daily-team-status.lock.yml @@ -676,20 +676,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -765,13 +751,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -783,14 +762,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-team-status - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -800,13 +771,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -819,6 +783,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/daily-workflow-updater.lock.yml b/.github/workflows/daily-workflow-updater.lock.yml index 5f458a694f..9c0eded848 100644 --- a/.github/workflows/daily-workflow-updater.lock.yml +++ b/.github/workflows/daily-workflow-updater.lock.yml @@ -715,20 +715,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -830,13 +816,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -848,14 +827,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-daily-workflow-updater - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -865,13 +836,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -884,12 +848,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/deep-report.lock.yml b/.github/workflows/deep-report.lock.yml index ec98f7be80..2bd54b005d 100644 --- a/.github/workflows/deep-report.lock.yml +++ b/.github/workflows/deep-report.lock.yml @@ -1144,20 +1144,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Run Codex run: | set -o pipefail @@ -1233,13 +1219,6 @@ jobs: /tmp/gh-aw/mcp-config/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1251,14 +1230,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_codex_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-deepreport-intelligence-gathering-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1268,13 +1239,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1290,13 +1254,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1309,6 +1266,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index f149451d46..27cdb582ac 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -1050,20 +1050,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1137,13 +1123,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1155,14 +1134,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-dependabot-dependency-checker - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1172,13 +1143,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1191,6 +1155,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index 70468cdfb7..656da8f87a 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -818,20 +818,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -921,13 +907,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -939,14 +918,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-dev-hawk - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -956,13 +927,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -975,6 +939,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/dev.lock.yml b/.github/workflows/dev.lock.yml index 82d46d1cab..444d2e519f 100644 --- a/.github/workflows/dev.lock.yml +++ b/.github/workflows/dev.lock.yml @@ -536,20 +536,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -626,13 +612,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -644,14 +623,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-dev - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -661,13 +632,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -680,6 +644,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index 2eb63d0fe3..7d4cb092c6 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -1288,20 +1288,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1465,13 +1451,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1483,14 +1462,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-developer-documentation-consolidator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1500,13 +1471,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1525,12 +1489,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index 2c15e9088e..00ec1d884a 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -642,20 +642,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -729,13 +715,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -747,14 +726,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-dictation-prompt-generator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -764,13 +735,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -783,12 +747,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/docs-noob-tester.lock.yml b/.github/workflows/docs-noob-tester.lock.yml index 05720bd49c..a8c38280fe 100644 --- a/.github/workflows/docs-noob-tester.lock.yml +++ b/.github/workflows/docs-noob-tester.lock.yml @@ -772,20 +772,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -862,13 +848,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -880,14 +859,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-documentation-noob-tester - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -897,20 +868,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -923,6 +880,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/docs-quality-maintenance-project67.campaign.lock.yml b/.github/workflows/docs-quality-maintenance-project67.campaign.lock.yml index eb33d3421a..6fabdd56c4 100644 --- a/.github/workflows/docs-quality-maintenance-project67.campaign.lock.yml +++ b/.github/workflows/docs-quality-maintenance-project67.campaign.lock.yml @@ -1111,20 +1111,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1198,13 +1184,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1216,14 +1195,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-documentation-quality-maintenance-campaign-project-67- - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1233,13 +1204,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (campaigns) if: always() @@ -1261,6 +1225,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index 1f3827e4cf..47ec400eec 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -811,20 +811,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Run Codex run: | set -o pipefail @@ -897,13 +883,6 @@ jobs: /tmp/gh-aw/mcp-config/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -915,14 +894,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_codex_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-duplicate-code-detector - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -932,13 +903,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -951,6 +915,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/example-custom-error-patterns.lock.yml b/.github/workflows/example-custom-error-patterns.lock.yml index 82fe56cc69..ddba9be096 100644 --- a/.github/workflows/example-custom-error-patterns.lock.yml +++ b/.github/workflows/example-custom-error-patterns.lock.yml @@ -355,20 +355,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -414,13 +400,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -432,14 +411,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-example-custom-error-patterns - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -449,13 +420,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -468,6 +432,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore pre_activation: runs-on: ubuntu-slim diff --git a/.github/workflows/example-permissions-warning.lock.yml b/.github/workflows/example-permissions-warning.lock.yml index 020496719e..156e6074e1 100644 --- a/.github/workflows/example-permissions-warning.lock.yml +++ b/.github/workflows/example-permissions-warning.lock.yml @@ -356,20 +356,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -415,13 +401,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -433,14 +412,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-example-properly-provisioned-permissions - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -450,13 +421,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -469,4 +433,17 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore diff --git a/.github/workflows/example-workflow-analyzer.lock.yml b/.github/workflows/example-workflow-analyzer.lock.yml index b6a8c540ef..2ea3dbcd90 100644 --- a/.github/workflows/example-workflow-analyzer.lock.yml +++ b/.github/workflows/example-workflow-analyzer.lock.yml @@ -590,20 +590,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -733,13 +719,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -751,14 +730,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-weekly-workflow-analysis - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -768,13 +739,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -787,6 +751,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/firewall-escape.lock.yml b/.github/workflows/firewall-escape.lock.yml index 4805b832df..df97def336 100644 --- a/.github/workflows/firewall-escape.lock.yml +++ b/.github/workflows/firewall-escape.lock.yml @@ -567,20 +567,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -625,13 +611,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -643,14 +622,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-the-great-escapi - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -660,13 +631,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -679,6 +643,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore post-issue: needs: agent diff --git a/.github/workflows/firewall.lock.yml b/.github/workflows/firewall.lock.yml index fb7e2e2fc8..6f1c8f5da1 100644 --- a/.github/workflows/firewall.lock.yml +++ b/.github/workflows/firewall.lock.yml @@ -401,20 +401,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -461,13 +447,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -479,14 +458,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-firewall-test-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -496,13 +467,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -515,4 +479,17 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore diff --git a/.github/workflows/github-mcp-structural-analysis.lock.yml b/.github/workflows/github-mcp-structural-analysis.lock.yml index f50dac268c..9f3aa4c216 100644 --- a/.github/workflows/github-mcp-structural-analysis.lock.yml +++ b/.github/workflows/github-mcp-structural-analysis.lock.yml @@ -1263,20 +1263,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1416,13 +1402,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1434,14 +1413,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-github-mcp-structural-analysis - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1451,26 +1422,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1483,6 +1440,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index 0637342b36..62cc14201f 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -1133,20 +1133,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1305,13 +1291,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1323,14 +1302,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-github-mcp-remote-server-tools-report-generator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1340,13 +1311,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1365,12 +1329,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 1dcb5a8042..6b0657673f 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -1256,20 +1256,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1370,13 +1356,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1388,14 +1367,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-glossary-maintainer - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1405,13 +1376,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1430,12 +1394,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/go-fan.lock.yml b/.github/workflows/go-fan.lock.yml index a40db6a92e..e6bd3a60fb 100644 --- a/.github/workflows/go-fan.lock.yml +++ b/.github/workflows/go-fan.lock.yml @@ -913,20 +913,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1084,13 +1070,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1102,14 +1081,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-go-fan - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1119,13 +1090,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1144,6 +1108,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/go-file-size-reduction-project64.campaign.lock.yml b/.github/workflows/go-file-size-reduction-project64.campaign.lock.yml index b74b824690..73bc7899e9 100644 --- a/.github/workflows/go-file-size-reduction-project64.campaign.lock.yml +++ b/.github/workflows/go-file-size-reduction-project64.campaign.lock.yml @@ -1083,20 +1083,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1170,13 +1156,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1188,14 +1167,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-go-file-size-reduction-campaign-project-64- - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1205,13 +1176,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (campaigns) if: always() @@ -1233,6 +1197,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index dd9f204250..0ec790ecd6 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -851,20 +851,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1031,13 +1017,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1049,14 +1028,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-go-logger-enhancement - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1066,13 +1037,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1091,12 +1055,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index b9fffb05e7..94275fb89c 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -725,20 +725,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -869,13 +855,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -887,14 +866,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-go-pattern-detector - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -904,13 +875,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -923,6 +887,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore ast_grep: needs: activation diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index d52762ab6d..8d1ed96c87 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -830,20 +830,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -920,13 +906,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -938,14 +917,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-grumpy-code-reviewer- - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -955,13 +926,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -980,6 +944,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/hourly-ci-cleaner.lock.yml b/.github/workflows/hourly-ci-cleaner.lock.yml index a2cf0dda30..01ada5aa27 100644 --- a/.github/workflows/hourly-ci-cleaner.lock.yml +++ b/.github/workflows/hourly-ci-cleaner.lock.yml @@ -952,20 +952,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1039,13 +1025,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1057,14 +1036,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-ci-cleaner - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1074,13 +1045,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1093,12 +1057,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore check_ci_status: diff --git a/.github/workflows/human-ai-collaboration.lock.yml b/.github/workflows/human-ai-collaboration.lock.yml index a28bf4e093..4380d7bdf8 100644 --- a/.github/workflows/human-ai-collaboration.lock.yml +++ b/.github/workflows/human-ai-collaboration.lock.yml @@ -1069,20 +1069,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1158,13 +1144,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1176,14 +1155,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-human-ai-collaboration-campaign - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1193,13 +1164,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1221,6 +1185,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/incident-response.lock.yml b/.github/workflows/incident-response.lock.yml index 61ce8ddea4..c6fb9168dd 100644 --- a/.github/workflows/incident-response.lock.yml +++ b/.github/workflows/incident-response.lock.yml @@ -1188,20 +1188,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1298,13 +1284,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1316,14 +1295,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-campaign-incident-response - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1333,13 +1304,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1361,12 +1325,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index ed7d2a359c..99fed9f6ff 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -735,20 +735,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -911,13 +897,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -929,14 +908,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-instructions-janitor - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -946,13 +917,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -971,12 +935,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/intelligence.lock.yml b/.github/workflows/intelligence.lock.yml index f704fce86a..4bcab500c3 100644 --- a/.github/workflows/intelligence.lock.yml +++ b/.github/workflows/intelligence.lock.yml @@ -1723,20 +1723,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1813,13 +1799,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1831,14 +1810,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-campaign-intelligence-system - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1848,13 +1819,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1870,13 +1834,6 @@ jobs: with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1889,6 +1846,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/issue-arborist.lock.yml b/.github/workflows/issue-arborist.lock.yml index 7ed47c1ebf..b0f6871753 100644 --- a/.github/workflows/issue-arborist.lock.yml +++ b/.github/workflows/issue-arborist.lock.yml @@ -880,20 +880,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Run Codex run: | set -o pipefail @@ -966,13 +952,6 @@ jobs: /tmp/gh-aw/mcp-config/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -984,14 +963,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_codex_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-issue-arborist - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1001,13 +972,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1020,6 +984,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/issue-classifier.lock.yml b/.github/workflows/issue-classifier.lock.yml index 6322766746..b4a3a2584f 100644 --- a/.github/workflows/issue-classifier.lock.yml +++ b/.github/workflows/issue-classifier.lock.yml @@ -589,20 +589,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Run AI Inference uses: actions/ai-inference@334892bb203895caaed82ec52d23c1ed9385151e # v2.0.4 env: @@ -660,13 +646,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -678,13 +657,18 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_custom_log.cjs'); await main(); - - name: Upload Agent Stdio + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index 9ddb65588f..e361d4c50f 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -784,20 +784,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -873,13 +859,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -891,14 +870,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-issue-monster - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -908,13 +879,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -927,6 +891,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/issue-template-optimizer.lock.yml b/.github/workflows/issue-template-optimizer.lock.yml index 0b7206c76d..80eac7237c 100644 --- a/.github/workflows/issue-template-optimizer.lock.yml +++ b/.github/workflows/issue-template-optimizer.lock.yml @@ -877,20 +877,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -964,13 +950,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -982,14 +961,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-issue-template-optimizer - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -999,13 +970,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1024,12 +988,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/issue-triage-agent.lock.yml b/.github/workflows/issue-triage-agent.lock.yml index c7870debb1..1456af0d6d 100644 --- a/.github/workflows/issue-triage-agent.lock.yml +++ b/.github/workflows/issue-triage-agent.lock.yml @@ -570,20 +570,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -659,13 +645,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -677,14 +656,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-issue-triage-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -694,13 +665,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -713,6 +677,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/jsweep.lock.yml b/.github/workflows/jsweep.lock.yml index b78db54a6b..3fb0b2a2f8 100644 --- a/.github/workflows/jsweep.lock.yml +++ b/.github/workflows/jsweep.lock.yml @@ -880,20 +880,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -998,13 +984,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1016,14 +995,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-jsweep-javascript-unbloater - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1033,13 +1004,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1058,12 +1022,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/layout-spec-maintainer.lock.yml b/.github/workflows/layout-spec-maintainer.lock.yml index abe625a2c9..1a3c78a8e3 100644 --- a/.github/workflows/layout-spec-maintainer.lock.yml +++ b/.github/workflows/layout-spec-maintainer.lock.yml @@ -829,20 +829,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -945,13 +931,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -963,14 +942,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-layout-specification-maintainer - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -980,13 +951,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -999,12 +963,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index d0f64c3210..1020c81809 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -926,20 +926,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1087,13 +1073,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1105,14 +1084,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-lockfile-statistics-analysis-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1122,13 +1093,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1147,6 +1111,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index 7ee3b26202..404b22808d 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -1089,20 +1089,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1273,13 +1259,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1291,14 +1270,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-mcp-inspector-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1308,13 +1279,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1333,6 +1297,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index 42c9205829..3cad3982fd 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -893,20 +893,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1020,13 +1006,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1038,14 +1017,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-mergefest - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1055,13 +1026,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1074,12 +1038,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/metrics-collector.lock.yml b/.github/workflows/metrics-collector.lock.yml index b74db102df..e5948aa93c 100644 --- a/.github/workflows/metrics-collector.lock.yml +++ b/.github/workflows/metrics-collector.lock.yml @@ -666,20 +666,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -725,13 +711,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -743,14 +722,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-metrics-collector-infrastructure-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -760,13 +731,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -788,6 +752,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore pre_activation: runs-on: ubuntu-slim diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index 2337eb139c..9bd84afeeb 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -563,20 +563,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -658,13 +644,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -676,14 +655,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-issue-summary-to-notion - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -693,13 +664,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -712,6 +676,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/org-health-report.lock.yml b/.github/workflows/org-health-report.lock.yml index 0b4b765cb1..0a38db71f7 100644 --- a/.github/workflows/org-health-report.lock.yml +++ b/.github/workflows/org-health-report.lock.yml @@ -1434,20 +1434,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1524,13 +1510,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1542,14 +1521,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-organization-health-report - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1559,26 +1530,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1591,6 +1548,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/org-wide-rollout.lock.yml b/.github/workflows/org-wide-rollout.lock.yml index ffd2638917..c204f01252 100644 --- a/.github/workflows/org-wide-rollout.lock.yml +++ b/.github/workflows/org-wide-rollout.lock.yml @@ -1216,20 +1216,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1326,13 +1312,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1344,14 +1323,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-campaign-org-wide-rollout - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1361,13 +1332,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1389,12 +1353,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 84e1e66ea7..2cbe9f9c0f 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -819,20 +819,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -911,13 +897,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -929,14 +908,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-resource-summarizer-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -946,13 +917,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -971,6 +935,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index fc0eee8033..8d2ce47981 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -868,20 +868,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -958,13 +944,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -976,14 +955,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-plan-command - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -993,13 +964,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1012,6 +976,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/playground-org-project-update-issue.lock.yml b/.github/workflows/playground-org-project-update-issue.lock.yml index 1189c42ef6..ab5cdd5c17 100644 --- a/.github/workflows/playground-org-project-update-issue.lock.yml +++ b/.github/workflows/playground-org-project-update-issue.lock.yml @@ -583,20 +583,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -673,13 +659,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -691,14 +670,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-playground-org-project-update-issue - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -708,13 +679,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -727,6 +691,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/playground-snapshots-refresh.lock.yml b/.github/workflows/playground-snapshots-refresh.lock.yml index 607b826491..88af4d74b4 100644 --- a/.github/workflows/playground-snapshots-refresh.lock.yml +++ b/.github/workflows/playground-snapshots-refresh.lock.yml @@ -590,20 +590,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -703,13 +689,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -721,14 +700,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-refresh-playground-snapshots - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -738,13 +709,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -757,12 +721,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index 1b4a8f9fe3..a6aa7cd9fb 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -1220,20 +1220,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1334,13 +1320,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1352,14 +1331,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-poem-bot-a-creative-agentic-workflow - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1369,13 +1340,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1383,13 +1347,6 @@ jobs: name: cache-memory path: /tmp/gh-aw/cache-memory retention-days: 30 - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1402,12 +1359,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/portfolio-analyst.lock.yml b/.github/workflows/portfolio-analyst.lock.yml index 786a6b1e21..e4b3edfd87 100644 --- a/.github/workflows/portfolio-analyst.lock.yml +++ b/.github/workflows/portfolio-analyst.lock.yml @@ -1392,20 +1392,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1482,13 +1468,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1500,14 +1479,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-automated-portfolio-analyst - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1517,26 +1488,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1549,6 +1506,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index 5a060ce64b..4a2fd14370 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -1144,20 +1144,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1234,13 +1220,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1252,14 +1231,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-pr-nitpick-reviewer- - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1269,13 +1240,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1294,6 +1258,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index 9fdc71426a..5eeaababd1 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -1358,20 +1358,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1508,13 +1494,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1526,14 +1505,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-copilot-agent-prompt-clustering-analysis - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1543,13 +1514,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1568,6 +1532,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index c810252969..48a79c0eeb 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -1683,20 +1683,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1773,13 +1759,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1791,14 +1770,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-python-data-visualization-generator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1808,26 +1779,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1840,6 +1797,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index c6169b1427..a666fb6a53 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -1162,20 +1162,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1259,13 +1245,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1277,14 +1256,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-q - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1294,13 +1265,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1319,12 +1283,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index d501230e77..c6edbfffdd 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -710,20 +710,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -797,13 +783,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -815,14 +794,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-release - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -832,13 +803,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -851,6 +815,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index 0cc9bf5919..fa83ef8b32 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -676,20 +676,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -763,13 +749,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -781,14 +760,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-repository-tree-map-generator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -798,13 +769,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -817,6 +781,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index 3419985188..1491f209de 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -1186,20 +1186,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1273,13 +1259,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1291,14 +1270,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-repository-quality-improvement-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1308,13 +1279,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact (focus-areas) uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1333,6 +1297,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index 940da605be..f97ab10077 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -627,20 +627,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -720,13 +706,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -738,14 +717,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-basic-research-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -755,13 +726,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -774,6 +738,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index d8434645ae..46eb7dcf64 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -1049,20 +1049,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1213,13 +1199,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1231,14 +1210,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-safe-output-health-monitor - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1248,13 +1219,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1273,6 +1237,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index 1d4ed23ad6..f76480163e 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -909,20 +909,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1062,13 +1048,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1080,14 +1059,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-schema-consistency-checker - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1097,13 +1068,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1122,6 +1086,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index f14ba0596c..e5ff766dd7 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -979,20 +979,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1159,13 +1145,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1177,14 +1156,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-scout - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1194,13 +1165,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1219,6 +1183,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/security-compliance.lock.yml b/.github/workflows/security-compliance.lock.yml index a5c7ebdbac..493ec3c1b0 100644 --- a/.github/workflows/security-compliance.lock.yml +++ b/.github/workflows/security-compliance.lock.yml @@ -889,20 +889,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -978,13 +964,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -996,14 +975,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-security-compliance-campaign - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1013,13 +984,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1041,6 +1005,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/security-fix-pr.lock.yml b/.github/workflows/security-fix-pr.lock.yml index 0759566aa1..585340b34c 100644 --- a/.github/workflows/security-fix-pr.lock.yml +++ b/.github/workflows/security-fix-pr.lock.yml @@ -747,20 +747,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -900,13 +886,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -918,14 +897,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-security-fix-pr - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -935,13 +906,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -960,12 +924,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index 4205632b1b..3fba49e714 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -1056,20 +1056,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1224,13 +1210,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1242,14 +1221,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-semantic-function-refactoring - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1259,13 +1230,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1278,6 +1242,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/slide-deck-maintainer.lock.yml b/.github/workflows/slide-deck-maintainer.lock.yml index 4a6ab73961..05d7565093 100644 --- a/.github/workflows/slide-deck-maintainer.lock.yml +++ b/.github/workflows/slide-deck-maintainer.lock.yml @@ -859,20 +859,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -983,13 +969,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1001,14 +980,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-slide-deck-maintainer - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1018,13 +989,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1043,12 +1007,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index 8ac6ccfb11..c1eed487a2 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -894,20 +894,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1069,13 +1055,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1087,14 +1066,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-smoke-claude - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1104,13 +1075,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1129,6 +1093,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/smoke-codex-firewall.lock.yml b/.github/workflows/smoke-codex-firewall.lock.yml index c3ee42a482..76d265591f 100644 --- a/.github/workflows/smoke-codex-firewall.lock.yml +++ b/.github/workflows/smoke-codex-firewall.lock.yml @@ -710,20 +710,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Run Codex run: | set -o pipefail @@ -796,13 +782,6 @@ jobs: /tmp/gh-aw/mcp-config/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -814,14 +793,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_codex_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-smoke-codex-firewall - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -831,13 +802,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -850,6 +814,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index 895d7c52ad..5206113237 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -797,20 +797,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Run Codex run: | set -o pipefail @@ -883,13 +869,6 @@ jobs: /tmp/gh-aw/mcp-config/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -901,14 +880,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_codex_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-smoke-codex - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -918,13 +889,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -943,6 +907,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/smoke-copilot-no-firewall.lock.yml b/.github/workflows/smoke-copilot-no-firewall.lock.yml index 4bb1e31707..4e13abe36c 100644 --- a/.github/workflows/smoke-copilot-no-firewall.lock.yml +++ b/.github/workflows/smoke-copilot-no-firewall.lock.yml @@ -829,20 +829,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -921,20 +907,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - - name: Upload SafeInputs logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safeinputs - path: /tmp/gh-aw/safe-inputs/logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -955,13 +927,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_safe_inputs_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -974,6 +939,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/safe-inputs/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/smoke-copilot-playwright.lock.yml b/.github/workflows/smoke-copilot-playwright.lock.yml index 66deef87fa..e3f4a56219 100644 --- a/.github/workflows/smoke-copilot-playwright.lock.yml +++ b/.github/workflows/smoke-copilot-playwright.lock.yml @@ -902,20 +902,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -992,20 +978,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - - name: Upload SafeInputs logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safeinputs - path: /tmp/gh-aw/safe-inputs/logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1026,14 +998,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_safe_inputs_logs.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-smoke-copilot-playwright - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1043,13 +1007,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1080,6 +1037,20 @@ jobs: path: /tmp/gh-aw/playwright-debug-logs/ retention-days: 7 + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/safe-inputs/logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/smoke-copilot-safe-inputs.lock.yml b/.github/workflows/smoke-copilot-safe-inputs.lock.yml index a49a011e9e..e72452149b 100644 --- a/.github/workflows/smoke-copilot-safe-inputs.lock.yml +++ b/.github/workflows/smoke-copilot-safe-inputs.lock.yml @@ -654,20 +654,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -742,20 +728,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - - name: Upload SafeInputs logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safeinputs - path: /tmp/gh-aw/safe-inputs/logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -776,14 +748,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_safe_inputs_logs.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-smoke-copilot-safe-inputs - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -793,13 +757,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -812,6 +769,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/safe-inputs/logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index 006df083a7..78cf1f9e26 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -749,20 +749,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -836,13 +822,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -854,14 +833,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-smoke-copilot - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -871,13 +842,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -896,6 +860,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/smoke-detector.lock.yml b/.github/workflows/smoke-detector.lock.yml index 004148ec71..7d9ad04381 100644 --- a/.github/workflows/smoke-detector.lock.yml +++ b/.github/workflows/smoke-detector.lock.yml @@ -987,20 +987,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1134,13 +1120,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1152,14 +1131,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-smoke-detector-smoke-test-failure-investigator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1169,13 +1140,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1194,6 +1158,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/smoke-srt-custom-config.lock.yml b/.github/workflows/smoke-srt-custom-config.lock.yml index be19760046..ee0524706c 100644 --- a/.github/workflows/smoke-srt-custom-config.lock.yml +++ b/.github/workflows/smoke-srt-custom-config.lock.yml @@ -364,20 +364,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -686,13 +672,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -704,13 +683,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -723,4 +695,16 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore diff --git a/.github/workflows/smoke-srt.lock.yml b/.github/workflows/smoke-srt.lock.yml index 028feb0fb2..92153f223a 100644 --- a/.github/workflows/smoke-srt.lock.yml +++ b/.github/workflows/smoke-srt.lock.yml @@ -512,20 +512,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -814,13 +800,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -832,13 +811,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -851,6 +823,18 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/spec-kit-execute.lock.yml b/.github/workflows/spec-kit-execute.lock.yml index b7b8a6e4d3..32199152dd 100644 --- a/.github/workflows/spec-kit-execute.lock.yml +++ b/.github/workflows/spec-kit-execute.lock.yml @@ -995,20 +995,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1118,13 +1104,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1136,14 +1115,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-spec-kit-execute - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1153,13 +1124,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1187,12 +1151,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/spec-kit-executor.lock.yml b/.github/workflows/spec-kit-executor.lock.yml index 83fd862cff..ca70811155 100644 --- a/.github/workflows/spec-kit-executor.lock.yml +++ b/.github/workflows/spec-kit-executor.lock.yml @@ -842,20 +842,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -965,13 +951,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -983,14 +962,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-spec-kit-executor - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1000,13 +971,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1034,12 +998,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/speckit-dispatcher.lock.yml b/.github/workflows/speckit-dispatcher.lock.yml index 31c0504331..10d24bd1cd 100644 --- a/.github/workflows/speckit-dispatcher.lock.yml +++ b/.github/workflows/speckit-dispatcher.lock.yml @@ -1085,20 +1085,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1196,13 +1182,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1214,14 +1193,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-spec-kit-command-dispatcher - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1231,13 +1202,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1250,6 +1214,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/stale-repo-identifier.lock.yml b/.github/workflows/stale-repo-identifier.lock.yml index b678497367..baeb416791 100644 --- a/.github/workflows/stale-repo-identifier.lock.yml +++ b/.github/workflows/stale-repo-identifier.lock.yml @@ -1405,20 +1405,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1495,13 +1481,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1513,14 +1492,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-stale-repository-identifier - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1530,26 +1501,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1562,6 +1519,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index 252aa7e0ee..ba5b279a29 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -973,20 +973,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1121,13 +1107,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1139,14 +1118,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-static-analysis-report - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1156,13 +1127,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -1181,6 +1145,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/sub-issue-closer.lock.yml b/.github/workflows/sub-issue-closer.lock.yml index 5835d45e9c..0320951aca 100644 --- a/.github/workflows/sub-issue-closer.lock.yml +++ b/.github/workflows/sub-issue-closer.lock.yml @@ -716,20 +716,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -805,13 +791,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -823,14 +802,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-sub-issue-closer - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -840,13 +811,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -859,6 +823,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index f677c6fd76..1ea4b5d3c9 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -773,20 +773,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -860,13 +846,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -878,14 +857,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-super-linter-report - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -895,13 +866,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() @@ -920,6 +884,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index aab4426bbb..43c76035c0 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -1097,20 +1097,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1191,13 +1177,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1209,14 +1188,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-technical-doc-writer - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1226,26 +1197,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1258,12 +1215,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/terminal-stylist.lock.yml b/.github/workflows/terminal-stylist.lock.yml index 348a6255fd..2fb7119ab0 100644 --- a/.github/workflows/terminal-stylist.lock.yml +++ b/.github/workflows/terminal-stylist.lock.yml @@ -700,20 +700,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -787,13 +773,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -805,14 +784,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-terminal-stylist - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -822,13 +793,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -841,6 +805,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 0fab471108..18bf003db3 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -735,20 +735,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -848,13 +834,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -866,14 +845,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-tidy - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -883,13 +854,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -902,12 +866,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index c02edf2ef9..72c9930dbb 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -1054,20 +1054,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1222,13 +1208,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1240,14 +1219,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-typist-go-type-analysis - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1257,13 +1228,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1276,6 +1240,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index 0e939b0fef..248eb5c609 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -987,20 +987,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute Claude Code CLI id: agentic_execution # Allowed tools (sorted): @@ -1200,13 +1186,6 @@ jobs: name: agent-output path: ${{ env.GH_AW_AGENT_OUTPUT }} if-no-files-found: warn - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1218,14 +1197,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_claude_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-documentation-unbloat - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1235,26 +1206,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1267,12 +1224,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); - - name: Upload git patch + - name: Upload agent artifacts if: always() + continue-on-error: true uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 with: - name: aw.patch - path: /tmp/gh-aw/aw.patch + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + /tmp/gh-aw/aw.patch if-no-files-found: ignore conclusion: diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index 0f071376b8..b25465af4e 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -867,20 +867,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -970,13 +956,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -988,14 +967,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-video-analysis-agent - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1005,13 +976,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1024,6 +988,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index dcf1489fc1..330d2f6a07 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -1208,20 +1208,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1298,13 +1284,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1316,14 +1295,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-weekly-issue-summary - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1333,26 +1304,12 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Upload cache-memory data as artifact uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: always() with: name: cache-memory path: /tmp/gh-aw/cache-memory - - name: Upload safe outputs assets - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: safe-outputs-assets - path: /tmp/gh-aw/safeoutputs/assets/ - if-no-files-found: ignore - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1365,6 +1322,20 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + /tmp/gh-aw/safeoutputs/assets/ + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/workflow-generator.lock.yml b/.github/workflows/workflow-generator.lock.yml index bb76ebda31..f9f8bb985a 100644 --- a/.github/workflows/workflow-generator.lock.yml +++ b/.github/workflows/workflow-generator.lock.yml @@ -694,20 +694,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -783,13 +769,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -801,14 +780,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-workflow-generator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -818,13 +789,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn - name: Validate agent logs for errors if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -837,6 +801,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/.github/workflows/workflow-health-manager.lock.yml b/.github/workflows/workflow-health-manager.lock.yml index 6ce6809459..7a717e2ca2 100644 --- a/.github/workflows/workflow-health-manager.lock.yml +++ b/.github/workflows/workflow-health-manager.lock.yml @@ -1128,20 +1128,6 @@ jobs: env: GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt run: bash /tmp/gh-aw/actions/print_prompt_summary.sh - - name: Upload prompt - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: prompt - path: /tmp/gh-aw/aw-prompts/prompt.txt - if-no-files-found: warn - - name: Upload agentic run info - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: aw-info - path: /tmp/gh-aw/aw_info.json - if-no-files-found: warn - name: Execute GitHub Copilot CLI id: agentic_execution # Copilot CLI tool arguments (sorted): @@ -1215,13 +1201,6 @@ jobs: /tmp/gh-aw/sandbox/agent/logs/ /tmp/gh-aw/redacted-urls.log if-no-files-found: ignore - - name: Upload MCP logs - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: mcp-logs - path: /tmp/gh-aw/mcp-logs/ - if-no-files-found: ignore - name: Parse agent logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1233,14 +1212,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_copilot_log.cjs'); await main(); - - name: Upload Firewall Logs - if: always() - continue-on-error: true - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: firewall-logs-workflow-health-manager-meta-orchestrator - path: /tmp/gh-aw/sandbox/firewall/logs/ - if-no-files-found: ignore - name: Parse firewall logs for step summary if: always() uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -1250,13 +1221,6 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/parse_firewall_logs.cjs'); await main(); - - name: Upload Agent Stdio - if: always() - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - with: - name: agent-stdio.log - path: /tmp/gh-aw/agent-stdio.log - if-no-files-found: warn # Upload repo memory as artifacts for push job - name: Upload repo-memory artifact (default) if: always() @@ -1278,6 +1242,19 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/tmp/gh-aw/actions/validate_errors.cjs'); await main(); + - name: Upload agent artifacts + if: always() + continue-on-error: true + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + with: + name: agent-artifacts + path: | + /tmp/gh-aw/aw-prompts/prompt.txt + /tmp/gh-aw/aw_info.json + /tmp/gh-aw/mcp-logs/ + /tmp/gh-aw/sandbox/firewall/logs/ + /tmp/gh-aw/agent-stdio.log + if-no-files-found: ignore conclusion: needs: diff --git a/pkg/cli/logs_download.go b/pkg/cli/logs_download.go index 33b4203670..52725addd7 100644 --- a/pkg/cli/logs_download.go +++ b/pkg/cli/logs_download.go @@ -106,6 +106,94 @@ func flattenSingleFileArtifacts(outputDir string, verbose bool) error { return nil } +// flattenUnifiedArtifact flattens the unified agent-artifacts directory structure +// The unified artifact contains files with full paths like /tmp/gh-aw/*, which when downloaded +// creates a nested structure: agent-artifacts/tmp/gh-aw/... +// This function moves those files to the root output directory and removes the nested structure +func flattenUnifiedArtifact(outputDir string, verbose bool) error { + agentArtifactsDir := filepath.Join(outputDir, "agent-artifacts") + + // Check if agent-artifacts directory exists + if _, err := os.Stat(agentArtifactsDir); os.IsNotExist(err) { + // No unified artifact, nothing to flatten + return nil + } + + logsDownloadLog.Printf("Flattening unified agent-artifacts directory: %s", agentArtifactsDir) + + // Look for tmp/gh-aw/ subdirectory structure + tmpGhAwPath := filepath.Join(agentArtifactsDir, "tmp", "gh-aw") + if _, err := os.Stat(tmpGhAwPath); os.IsNotExist(err) { + // No nested structure to flatten + logsDownloadLog.Printf("No tmp/gh-aw structure found in agent-artifacts, skipping flatten") + return nil + } + + // Walk through tmp/gh-aw and move all files to root output directory + err := filepath.Walk(tmpGhAwPath, func(path string, info os.FileInfo, err error) error { + if err != nil { + return err + } + + // Skip the root directory itself + if path == tmpGhAwPath { + return nil + } + + // Calculate relative path from tmp/gh-aw + relPath, err := filepath.Rel(tmpGhAwPath, path) + if err != nil { + return fmt.Errorf("failed to get relative path for %s: %w", path, err) + } + + destPath := filepath.Join(outputDir, relPath) + + if info.IsDir() { + // Create directory in destination + if err := os.MkdirAll(destPath, 0755); err != nil { + return fmt.Errorf("failed to create directory %s: %w", destPath, err) + } + logsDownloadLog.Printf("Created directory: %s", destPath) + } else { + // Move file to destination + // Ensure parent directory exists + if err := os.MkdirAll(filepath.Dir(destPath), 0755); err != nil { + return fmt.Errorf("failed to create parent directory for %s: %w", destPath, err) + } + + if err := os.Rename(path, destPath); err != nil { + return fmt.Errorf("failed to move file %s to %s: %w", path, destPath, err) + } + logsDownloadLog.Printf("Moved file: %s → %s", path, destPath) + if verbose { + fmt.Fprintln(os.Stderr, console.FormatVerboseMessage(fmt.Sprintf("Flattened: %s → %s", relPath, relPath))) + } + } + + return nil + }) + + if err != nil { + return fmt.Errorf("failed to flatten unified artifact: %w", err) + } + + // Remove the now-empty agent-artifacts directory structure + if err := os.RemoveAll(agentArtifactsDir); err != nil { + logsDownloadLog.Printf("Failed to remove agent-artifacts directory %s: %v", agentArtifactsDir, err) + if verbose { + fmt.Fprintln(os.Stderr, console.FormatWarningMessage(fmt.Sprintf("Failed to remove agent-artifacts directory: %v", err))) + } + // Don't fail the entire operation if cleanup fails + } else { + logsDownloadLog.Printf("Removed agent-artifacts directory: %s", agentArtifactsDir) + if verbose { + fmt.Fprintln(os.Stderr, console.FormatVerboseMessage("Flattened unified agent-artifacts and removed nested structure")) + } + } + + return nil +} + // downloadWorkflowRunLogs downloads and unzips workflow run logs using GitHub API func downloadWorkflowRunLogs(runID int64, outputDir string, verbose bool) error { logsDownloadLog.Printf("Downloading workflow run logs: run_id=%d, output_dir=%s", runID, outputDir) @@ -337,6 +425,11 @@ func downloadRunArtifacts(runID int64, outputDir string, verbose bool) error { return fmt.Errorf("failed to flatten artifacts: %w", err) } + // Flatten unified agent-artifacts directory structure + if err := flattenUnifiedArtifact(outputDir, verbose); err != nil { + return fmt.Errorf("failed to flatten unified artifact: %w", err) + } + // Download and unzip workflow run logs if err := downloadWorkflowRunLogs(runID, outputDir, verbose); err != nil { // Log the error but don't fail the entire download process diff --git a/pkg/cli/logs_flatten_test.go b/pkg/cli/logs_flatten_test.go index 919ee07528..af31c0c400 100644 --- a/pkg/cli/logs_flatten_test.go +++ b/pkg/cli/logs_flatten_test.go @@ -319,3 +319,134 @@ func TestAuditCanFindFlattenedArtifacts(t *testing.T) { t.Error("aw_info.json content is corrupted after flattening") } } + +func TestFlattenUnifiedArtifact(t *testing.T) { +tests := []struct { +name string +setup func(string) error +expectedFiles []string +expectedDirs []string +unexpectedFiles []string +unexpectedDirs []string +}{ +{ +name: "unified artifact with nested structure gets flattened", +setup: func(dir string) error { +// Create the structure: agent-artifacts/tmp/gh-aw/... +nestedPath := filepath.Join(dir, "agent-artifacts", "tmp", "gh-aw") +if err := os.MkdirAll(nestedPath, 0755); err != nil { +return err +} + +// Create test files +if err := os.WriteFile(filepath.Join(nestedPath, "aw_info.json"), []byte("test"), 0644); err != nil { +return err +} + +// Create subdirectories with files +promptDir := filepath.Join(nestedPath, "aw-prompts") +if err := os.MkdirAll(promptDir, 0755); err != nil { +return err +} +if err := os.WriteFile(filepath.Join(promptDir, "prompt.txt"), []byte("test"), 0644); err != nil { +return err +} + +mcpLogsDir := filepath.Join(nestedPath, "mcp-logs") +if err := os.MkdirAll(mcpLogsDir, 0755); err != nil { +return err +} +return os.WriteFile(filepath.Join(mcpLogsDir, "log.txt"), []byte("test"), 0644) +}, +expectedFiles: []string{ +"aw_info.json", +"aw-prompts/prompt.txt", +"mcp-logs/log.txt", +}, +expectedDirs: []string{ +"aw-prompts", +"mcp-logs", +}, +unexpectedDirs: []string{"agent-artifacts", "tmp", "gh-aw"}, +unexpectedFiles: []string{ +"agent-artifacts/tmp/gh-aw/aw_info.json", +"tmp/gh-aw/aw_info.json", +}, +}, +{ +name: "no agent-artifacts directory - no-op", +setup: func(dir string) error { +// Create a regular file structure without agent-artifacts +return os.WriteFile(filepath.Join(dir, "regular.txt"), []byte("test"), 0644) +}, +expectedFiles: []string{"regular.txt"}, +}, +{ +name: "agent-artifacts without tmp/gh-aw structure - no-op", +setup: func(dir string) error { +// Create agent-artifacts but without the expected nested structure +artifactDir := filepath.Join(dir, "agent-artifacts") +if err := os.MkdirAll(artifactDir, 0755); err != nil { +return err +} +return os.WriteFile(filepath.Join(artifactDir, "file.txt"), []byte("test"), 0644) +}, +expectedDirs: []string{"agent-artifacts"}, +expectedFiles: []string{"agent-artifacts/file.txt"}, +}, +} + +for _, tt := range tests { +t.Run(tt.name, func(t *testing.T) { +tmpDir := testutil.TempDir(t, "test-flatten-unified-*") + +// Setup test structure +if err := tt.setup(tmpDir); err != nil { +t.Fatalf("Setup failed: %v", err) +} + +// Run flattening +if err := flattenUnifiedArtifact(tmpDir, true); err != nil { +t.Fatalf("flattenUnifiedArtifact failed: %v", err) +} + +// Verify expected files exist +for _, file := range tt.expectedFiles { +path := filepath.Join(tmpDir, file) +info, err := os.Stat(path) +if err != nil { +t.Errorf("Expected file %s does not exist: %v", file, err) +} else if info.IsDir() { +t.Errorf("Expected %s to be a file, but it's a directory", file) +} +} + +// Verify expected directories exist +for _, dir := range tt.expectedDirs { +path := filepath.Join(tmpDir, dir) +info, err := os.Stat(path) +if err != nil { +t.Errorf("Expected directory %s does not exist: %v", dir, err) +} else if !info.IsDir() { +t.Errorf("Expected %s to be a directory", dir) +} +} + +// Verify unexpected files don't exist +for _, file := range tt.unexpectedFiles { +path := filepath.Join(tmpDir, file) +if _, err := os.Stat(path); err == nil { +t.Errorf("Unexpected file %s exists", file) +} +} + +// Verify unexpected directories don't exist +for _, dir := range tt.unexpectedDirs { +path := filepath.Join(tmpDir, dir) +if _, err := os.Stat(path); err == nil { +t.Errorf("Unexpected directory %s exists", dir) +} +} +}) +} +} diff --git a/pkg/workflow/aw_info_tmp_test.go b/pkg/workflow/aw_info_tmp_test.go index fb3686881c..cbc327ed81 100644 --- a/pkg/workflow/aw_info_tmp_test.go +++ b/pkg/workflow/aw_info_tmp_test.go @@ -60,9 +60,9 @@ This workflow tests that aw_info.json is generated in /tmp directory. t.Error("Expected writeFileSync to use tmpPath variable in generated workflow") } - // Test 2: Verify upload artifact path points to /tmp/gh-aw/aw_info.json - if !strings.Contains(lockStr, "path: /tmp/gh-aw/aw_info.json") { - t.Error("Expected upload artifact path to be '/tmp/gh-aw/aw_info.json' in generated workflow") + // Test 2: Verify upload artifact includes /tmp/gh-aw/aw_info.json path + if !strings.Contains(lockStr, "/tmp/gh-aw/aw_info.json") { + t.Error("Expected unified artifact upload to include '/tmp/gh-aw/aw_info.json' path in generated workflow") } // Test 3: Verify the old hardcoded path is not present diff --git a/pkg/workflow/cache_memory_threat_detection_test.go b/pkg/workflow/cache_memory_threat_detection_test.go index 761776f1af..392e49e187 100644 --- a/pkg/workflow/cache_memory_threat_detection_test.go +++ b/pkg/workflow/cache_memory_threat_detection_test.go @@ -140,7 +140,6 @@ Test workflow with multiple cache-memory and threat detection enabled.`, notExpectedInLock: []string{ // Should NOT use regular actions/cache "- name: Cache memory file share data (default)", - "- name: Cache memory file share data (session)", }, }, { diff --git a/pkg/workflow/compiler_artifacts_test.go b/pkg/workflow/compiler_artifacts_test.go index ddd644d040..95c5adc98b 100644 --- a/pkg/workflow/compiler_artifacts_test.go +++ b/pkg/workflow/compiler_artifacts_test.go @@ -241,7 +241,7 @@ strict: false # Test Prompt Upload -This workflow should generate a step to upload the prompt as an artifact. +This workflow should generate a unified artifact upload step that includes the prompt. ` testFile := filepath.Join(tmpDir, "test-workflow.md") @@ -263,9 +263,9 @@ This workflow should generate a step to upload the prompt as an artifact. lockYAML := string(lockContent) - // Verify that the prompt upload step is present - if !strings.Contains(lockYAML, "- name: Upload prompt") { - t.Error("Expected 'Upload prompt' step to be in generated workflow") + // Verify that the unified artifact upload step is present + if !strings.Contains(lockYAML, "- name: Upload agent artifacts") { + t.Error("Expected 'Upload agent artifacts' step to be in generated workflow") } // Verify the upload step uses the correct action @@ -273,28 +273,28 @@ This workflow should generate a step to upload the prompt as an artifact. t.Error("Expected 'actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4' action to be used") } - // Verify the upload step has the correct artifact name - if !strings.Contains(lockYAML, "name: prompt") { - t.Error("Expected artifact name to be 'prompt'") + // Verify the unified artifact name + if !strings.Contains(lockYAML, "name: agent-artifacts") { + t.Error("Expected artifact name to be 'agent-artifacts'") } - // Verify the upload step has the correct path - if !strings.Contains(lockYAML, "path: /tmp/gh-aw/aw-prompts/prompt.txt") { - t.Error("Expected artifact path to be '/tmp/gh-aw/aw-prompts/prompt.txt'") + // Verify the prompt path is included in the unified upload + if !strings.Contains(lockYAML, "/tmp/gh-aw/aw-prompts/prompt.txt") { + t.Error("Expected prompt path '/tmp/gh-aw/aw-prompts/prompt.txt' to be in unified upload") } - // Verify the upload step has the if-no-files-found configuration - if !strings.Contains(lockYAML, "if-no-files-found: warn") { - t.Error("Expected 'if-no-files-found: warn' in upload step") + // Verify the upload step has the if-no-files-found configuration set to ignore + if !strings.Contains(lockYAML, "if-no-files-found: ignore") { + t.Error("Expected 'if-no-files-found: ignore' in upload step") } // Verify the upload step runs always (with if: always()) - uploadStepIndex := strings.Index(lockYAML, "- name: Upload prompt") + uploadStepIndex := strings.Index(lockYAML, "- name: Upload agent artifacts") if uploadStepIndex == -1 { - t.Fatal("Upload prompt step not found") + t.Fatal("Upload agent artifacts step not found") } - // Check for "if: always()" in the section after the upload prompt step name + // Check for "if: always()" in the section after the upload step name afterUploadStep := lockYAML[uploadStepIndex:] nextStepIndex := strings.Index(afterUploadStep[20:], "- name:") if nextStepIndex == -1 { @@ -303,8 +303,13 @@ This workflow should generate a step to upload the prompt as an artifact. uploadStepSection := afterUploadStep[:20+nextStepIndex] if !strings.Contains(uploadStepSection, "if: always()") { - t.Error("Expected 'if: always()' in upload prompt step") + t.Error("Expected 'if: always()' in upload agent artifacts step") } - t.Log("Prompt upload artifact step verified successfully") + // Verify continue-on-error is set + if !strings.Contains(uploadStepSection, "continue-on-error: true") { + t.Error("Expected 'continue-on-error: true' in upload agent artifacts step") + } + + t.Log("Unified artifact upload step verified successfully (includes prompt)") } diff --git a/pkg/workflow/compiler_yaml_artifacts.go b/pkg/workflow/compiler_yaml_artifacts.go index 52d31766e8..665b252979 100644 --- a/pkg/workflow/compiler_yaml_artifacts.go +++ b/pkg/workflow/compiler_yaml_artifacts.go @@ -96,3 +96,32 @@ func (c *Compiler) generateGitPatchUploadStep(yaml *strings.Builder) { yaml.WriteString(" path: /tmp/gh-aw/aw.patch\n") yaml.WriteString(" if-no-files-found: ignore\n") } + +// generateUnifiedArtifactUpload generates a single step that uploads all agent job artifacts +// This consolidates multiple individual upload steps into one, improving workflow readability +// and reliability. The step always runs (even on cancellation) and ignores missing files. +func (c *Compiler) generateUnifiedArtifactUpload(yaml *strings.Builder, paths []string) { + if len(paths) == 0 { + compilerYamlArtifactsLog.Print("No paths to upload, skipping unified artifact upload") + return + } + + compilerYamlArtifactsLog.Printf("Generating unified artifact upload with %d paths", len(paths)) + + yaml.WriteString(" - name: Upload agent artifacts\n") + yaml.WriteString(" if: always()\n") + yaml.WriteString(" continue-on-error: true\n") + fmt.Fprintf(yaml, " uses: %s\n", GetActionPin("actions/upload-artifact")) + yaml.WriteString(" with:\n") + yaml.WriteString(" name: agent-artifacts\n") + + // Write paths as multi-line YAML string + yaml.WriteString(" path: |\n") + for _, path := range paths { + fmt.Fprintf(yaml, " %s\n", path) + } + + yaml.WriteString(" if-no-files-found: ignore\n") + + compilerYamlArtifactsLog.Printf("Generated unified artifact upload step with %d paths", len(paths)) +} diff --git a/pkg/workflow/compiler_yaml_main_job.go b/pkg/workflow/compiler_yaml_main_job.go index 4252333363..22a5523d10 100644 --- a/pkg/workflow/compiler_yaml_main_job.go +++ b/pkg/workflow/compiler_yaml_main_job.go @@ -161,19 +161,13 @@ func (c *Compiler) generateMainJobSteps(yaml *strings.Builder, data *WorkflowDat // Add prompt creation step c.generatePrompt(yaml, data) - // Upload prompt to artifact - if err := c.generateUploadPrompt(yaml); err != nil { - return err - } + // Collect artifact paths for unified upload at the end + var artifactPaths []string + artifactPaths = append(artifactPaths, "/tmp/gh-aw/aw-prompts/prompt.txt") + artifactPaths = append(artifactPaths, "/tmp/gh-aw/aw_info.json") - logFile := "agent-stdio" logFileFull := "/tmp/gh-aw/agent-stdio.log" - // Upload info to artifact - if err := c.generateUploadAwInfo(yaml); err != nil { - return err - } - // Add AI execution step using the agentic engine c.generateEngineExecutionSteps(yaml, data, engine, logFileFull) @@ -232,16 +226,12 @@ func (c *Compiler) generateMainJobSteps(yaml *strings.Builder, data *WorkflowDat c.generateExtractAccessLogs(yaml, data.Tools) c.generateUploadAccessLogs(yaml, data.Tools) - // upload MCP logs (if any MCP tools were used) - if err := c.generateUploadMCPLogs(yaml); err != nil { - return err - } + // Collect MCP logs path if any MCP tools were used + artifactPaths = append(artifactPaths, "/tmp/gh-aw/mcp-logs/") - // upload SafeInputs logs (if safe-inputs is enabled) + // Collect SafeInputs logs path if safe-inputs is enabled if IsSafeInputsEnabled(data.SafeInputs, data) { - if err := c.generateUploadSafeInputsLogs(yaml); err != nil { - return err - } + artifactPaths = append(artifactPaths, "/tmp/gh-aw/safe-inputs/logs/") } // parse agent logs for GITHUB_STEP_SUMMARY @@ -252,38 +242,41 @@ func (c *Compiler) generateMainJobSteps(yaml *strings.Builder, data *WorkflowDat c.generateSafeInputsLogParsing(yaml) } - // Add Squid logs upload and parsing steps for Copilot and Codex engines (collection happens before secret redaction) - if copilotEngine, ok := engine.(*CopilotEngine); ok { - squidSteps := copilotEngine.GetSquidLogsSteps(data) - for _, step := range squidSteps { - for _, line := range step { + // Add firewall log parsing steps (but not upload - collected for unified upload) + // For Copilot, Codex, and Claude engines + if _, ok := engine.(*CopilotEngine); ok { + if isFirewallEnabled(data) { + firewallLogParsing := generateFirewallLogParsingStep(data.Name) + for _, line := range firewallLogParsing { yaml.WriteString(line + "\n") } + // Collect firewall logs path for unified upload + artifactPaths = append(artifactPaths, "/tmp/gh-aw/sandbox/firewall/logs/") } } - if codexEngine, ok := engine.(*CodexEngine); ok { - squidSteps := codexEngine.GetSquidLogsSteps(data) - for _, step := range squidSteps { - for _, line := range step { + if _, ok := engine.(*CodexEngine); ok { + if isFirewallEnabled(data) { + firewallLogParsing := generateFirewallLogParsingStep(data.Name) + for _, line := range firewallLogParsing { yaml.WriteString(line + "\n") } + // Collect firewall logs path for unified upload + artifactPaths = append(artifactPaths, "/tmp/gh-aw/sandbox/firewall/logs/") } } - // Add Squid logs upload and parsing steps for Claude engine (collection happens before secret redaction) - if claudeEngine, ok := engine.(*ClaudeEngine); ok { - squidSteps := claudeEngine.GetSquidLogsSteps(data) - for _, step := range squidSteps { - for _, line := range step { + if _, ok := engine.(*ClaudeEngine); ok { + if isFirewallEnabled(data) { + firewallLogParsing := generateFirewallLogParsingStep(data.Name) + for _, line := range firewallLogParsing { yaml.WriteString(line + "\n") } + // Collect firewall logs path for unified upload + artifactPaths = append(artifactPaths, "/tmp/gh-aw/sandbox/firewall/logs/") } } - // upload agent logs - var _ = logFile - if err := c.generateUploadAgentLogs(yaml, logFileFull); err != nil { - return err - } + // Collect agent stdio logs path for unified upload + artifactPaths = append(artifactPaths, logFileFull) // Add post-execution cleanup step for Copilot engine if copilotEngine, ok := engine.(*CopilotEngine); ok { @@ -300,27 +293,28 @@ func (c *Compiler) generateMainJobSteps(yaml *strings.Builder, data *WorkflowDat // This ensures artifacts are uploaded after the agent has finished modifying the cache generateCacheMemoryArtifactUpload(yaml, data) - // upload assets if upload-asset is configured + // Collect safe-outputs assets path if upload-asset is configured if data.SafeOutputs != nil && data.SafeOutputs.UploadAssets != nil { - if err := c.generateUploadAssets(yaml); err != nil { - return err - } + artifactPaths = append(artifactPaths, "/tmp/gh-aw/safeoutputs/assets/") } // Add error validation for AI execution logs c.generateErrorValidation(yaml, engine, data) + // Collect git patch path if safe-outputs with PR operations is configured // NOTE: Git patch generation has been moved to the safe-outputs MCP server // The patch is now generated when create_pull_request or push_to_pull_request_branch // tools are called, providing immediate error feedback if no changes are present. - // We still upload the patch artifact for processing jobs to download. if data.SafeOutputs != nil && (data.SafeOutputs.CreatePullRequests != nil || data.SafeOutputs.PushToPullRequestBranch != nil) { - c.generateGitPatchUploadStep(yaml) + artifactPaths = append(artifactPaths, "/tmp/gh-aw/aw.patch") } // Add post-steps (if any) after AI execution c.generatePostSteps(yaml, data) + // Generate single unified artifact upload with all collected paths + c.generateUnifiedArtifactUpload(yaml, artifactPaths) + // Validate step ordering - this is a compiler check to ensure security if err := c.stepOrderTracker.ValidateStepOrdering(); err != nil { // This is a compiler bug if validation fails diff --git a/pkg/workflow/git_patch_test.go b/pkg/workflow/git_patch_test.go index 5b5470d827..e07d52c5a9 100644 --- a/pkg/workflow/git_patch_test.go +++ b/pkg/workflow/git_patch_test.go @@ -94,47 +94,44 @@ Please do the following tasks: t.Error("Did not expect 'git format-patch' command in main job (now handled by MCP server)") } - // Verify git patch upload step still exists (for backward compatibility with processing jobs) + // Verify git patch upload is now part of the unified artifact upload // This step uploads the patch artifact that was generated by the MCP server - if !strings.Contains(lockContent, "- name: Upload git patch") { - t.Error("Expected 'Upload git patch' step to be in generated workflow") + if !strings.Contains(lockContent, "- name: Upload agent artifacts") { + t.Error("Expected 'Upload agent artifacts' step to be in generated workflow") } // Verify the upload step uses actions/upload-artifact if !strings.Contains(lockContent, "uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4") { - t.Error("Expected upload-artifact action to be used for git patch upload step") + t.Error("Expected upload-artifact action to be used for unified artifact upload step") } - // Verify the artifact upload configuration - if !strings.Contains(lockContent, "name: aw.patch") { - t.Error("Expected artifact name 'aw.patch' in upload step") - } - - if !strings.Contains(lockContent, "path: /tmp/gh-aw/aw.patch") { - t.Error("Expected artifact path '/tmp/gh-aw/aw.patch' in upload step") + // Verify the patch path is included in the unified upload + if !strings.Contains(lockContent, "/tmp/gh-aw/aw.patch") { + t.Error("Expected artifact path '/tmp/gh-aw/aw.patch' in unified upload") } + // Verify the upload step has ignore for missing files if !strings.Contains(lockContent, "if-no-files-found: ignore") { t.Error("Expected 'if-no-files-found: ignore' in upload step") } - // Verify the upload step runs with conditional logic for file existence - uploadPatchIndex := strings.Index(lockContent, "- name: Upload git patch") - if uploadPatchIndex == -1 { - t.Fatal("Upload git patch step not found") + // Verify the upload step runs with if: always() + uploadArtifactsIndex := strings.Index(lockContent, "- name: Upload agent artifacts") + if uploadArtifactsIndex == -1 { + t.Fatal("Upload agent artifacts step not found") } - // Find the next step after upload patch step - nextUploadStart := uploadPatchIndex + len("- name: Upload git patch") + // Find the next step after upload artifacts step + nextUploadStart := uploadArtifactsIndex + len("- name: Upload agent artifacts") uploadStepEnd := strings.Index(lockContent[nextUploadStart:], "- name:") if uploadStepEnd == -1 { uploadStepEnd = len(lockContent) - nextUploadStart } - uploadPatchStep := lockContent[uploadPatchIndex : nextUploadStart+uploadStepEnd] + uploadArtifactsStep := lockContent[uploadArtifactsIndex : nextUploadStart+uploadStepEnd] - if !strings.Contains(uploadPatchStep, "if: always()") { - t.Error("Expected upload git patch step to have 'if: always()' condition") + if !strings.Contains(uploadArtifactsStep, "if: always()") { + t.Error("Expected unified artifact upload step to have 'if: always()' condition") } - t.Logf("Successfully verified git patch workflow (patch now generated in MCP server)") + t.Logf("Successfully verified git patch workflow (patch now generated in MCP server and uploaded in unified artifact upload)") } diff --git a/pkg/workflow/mcp_logs_upload_test.go b/pkg/workflow/mcp_logs_upload_test.go index 17af54ed68..3821755d2b 100644 --- a/pkg/workflow/mcp_logs_upload_test.go +++ b/pkg/workflow/mcp_logs_upload_test.go @@ -59,48 +59,45 @@ Please navigate to example.com and take a screenshot. t.Error("Expected Playwright MCP configuration to include official Docker image 'mcr.microsoft.com/playwright/mcp'") } - // Verify MCP logs upload step exists - if !strings.Contains(lockContentStr, "- name: Upload MCP logs") { - t.Error("Expected 'Upload MCP logs' step to be in generated workflow") + // Verify MCP logs are uploaded via the unified artifact upload + if !strings.Contains(lockContentStr, "- name: Upload agent artifacts") { + t.Error("Expected 'Upload agent artifacts' step to be in generated workflow") } // Verify the upload step uses actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 if !strings.Contains(lockContentStr, "uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4") { - t.Error("Expected upload-artifact action to be used for MCP logs upload step") + t.Error("Expected upload-artifact action to be used for artifact upload step") } - // Verify the artifact upload configuration - if !strings.Contains(lockContentStr, "name: mcp-logs") { - t.Error("Expected artifact name 'mcp-logs' in upload step") - } - - if !strings.Contains(lockContentStr, "path: /tmp/gh-aw/mcp-logs/") { - t.Error("Expected artifact path '/tmp/gh-aw/mcp-logs/' in upload step") + // Verify the MCP logs path is included in the unified upload + if !strings.Contains(lockContentStr, "/tmp/gh-aw/mcp-logs/") { + t.Error("Expected artifact path '/tmp/gh-aw/mcp-logs/' in unified upload") } + // Verify the upload step has 'if-no-files-found: ignore' condition if !strings.Contains(lockContentStr, "if-no-files-found: ignore") { t.Error("Expected 'if-no-files-found: ignore' in upload step") } // Verify the upload step has 'if: always()' condition - uploadMCPLogsIndex := strings.Index(lockContentStr, "- name: Upload MCP logs") - if uploadMCPLogsIndex == -1 { - t.Fatal("Upload MCP logs step not found") + uploadArtifactsIndex := strings.Index(lockContentStr, "- name: Upload agent artifacts") + if uploadArtifactsIndex == -1 { + t.Fatal("Upload agent artifacts step not found") } - // Find the next step after upload MCP logs step - nextUploadStart := uploadMCPLogsIndex + len("- name: Upload MCP logs") + // Find the next step after upload agent artifacts step + nextUploadStart := uploadArtifactsIndex + len("- name: Upload agent artifacts") uploadStepEnd := strings.Index(lockContentStr[nextUploadStart:], "- name:") if uploadStepEnd == -1 { uploadStepEnd = len(lockContentStr) - nextUploadStart } - uploadMCPLogsStep := lockContentStr[uploadMCPLogsIndex : nextUploadStart+uploadStepEnd] + uploadArtifactsStep := lockContentStr[uploadArtifactsIndex : nextUploadStart+uploadStepEnd] - if !strings.Contains(uploadMCPLogsStep, "if: always()") { - t.Error("Expected upload MCP logs step to have 'if: always()' condition") + if !strings.Contains(uploadArtifactsStep, "if: always()") { + t.Error("Expected upload agent artifacts step to have 'if: always()' condition") } - // Verify step ordering: MCP logs upload should be after agentic execution but before agent logs upload + // Verify step ordering: unified artifact upload should be after agentic execution agenticIndex := strings.Index(lockContentStr, "Execute Claude Code") if agenticIndex == -1 { // Try alternative agentic step names @@ -110,15 +107,9 @@ Please navigate to example.com and take a screenshot. } } - uploadAgentLogsIndex := strings.Index(lockContentStr, "Upload Agent Stdio") - - if agenticIndex != -1 && uploadMCPLogsIndex != -1 && uploadAgentLogsIndex != -1 { - if uploadMCPLogsIndex <= agenticIndex { - t.Error("MCP logs upload step should appear after agentic execution step") - } - - if uploadMCPLogsIndex >= uploadAgentLogsIndex { - t.Error("MCP logs upload step should appear before Agent Stdio upload step") + if agenticIndex != -1 && uploadArtifactsIndex != -1 { + if uploadArtifactsIndex <= agenticIndex { + t.Error("Unified artifact upload step should appear after agentic execution step") } } } @@ -166,25 +157,21 @@ This workflow does not use Playwright but should still have MCP logs upload. lockContentStr := string(lockContent) - // Verify MCP logs upload step EXISTS even when no Playwright is used (always emit) - if !strings.Contains(lockContentStr, "- name: Upload MCP logs") { - t.Error("Expected 'Upload MCP logs' step to be present even when Playwright is not used") + // Verify MCP logs path EXISTS in unified artifact upload even when no Playwright is used + if !strings.Contains(lockContentStr, "- name: Upload agent artifacts") { + t.Error("Expected 'Upload agent artifacts' step to be present") } - if !strings.Contains(lockContentStr, "name: mcp-logs") { - t.Error("Expected 'mcp-logs' artifact even when Playwright is not used") + if !strings.Contains(lockContentStr, "/tmp/gh-aw/mcp-logs/") { + t.Error("Expected MCP logs path in unified artifact upload even when Playwright is not used") } // Verify the upload step uses actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 if !strings.Contains(lockContentStr, "uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4") { - t.Error("Expected upload-artifact action to be used for MCP logs upload step") - } - - // Verify the artifact upload configuration - if !strings.Contains(lockContentStr, "path: /tmp/gh-aw/mcp-logs/") { - t.Error("Expected artifact path '/tmp/gh-aw/mcp-logs/' in upload step") + t.Error("Expected upload-artifact action to be used for artifact upload step") } + // Verify the upload step has 'if-no-files-found: ignore' condition if !strings.Contains(lockContentStr, "if-no-files-found: ignore") { t.Error("Expected 'if-no-files-found: ignore' in upload step") } diff --git a/pkg/workflow/step_order_validation_integration_test.go b/pkg/workflow/step_order_validation_integration_test.go index 4d553620d2..85d8efcdaf 100644 --- a/pkg/workflow/step_order_validation_integration_test.go +++ b/pkg/workflow/step_order_validation_integration_test.go @@ -55,7 +55,7 @@ This workflow has a secret reference and safe-outputs. // Find the positions of key steps redactPos := strings.Index(contentStr, "name: Redact secrets in logs") uploadSafeOutputsPos := strings.Index(contentStr, "name: Upload Safe Outputs") - uploadAgentLogsPos := strings.Index(contentStr, "name: Upload Agent Stdio") + uploadAgentArtifactsPos := strings.Index(contentStr, "name: Upload agent artifacts") // Verify that redact step comes before upload steps if redactPos < 0 { @@ -66,11 +66,11 @@ This workflow has a secret reference and safe-outputs. t.Error("Secret redaction step should come BEFORE Upload Safe Outputs") } - if uploadAgentLogsPos > 0 && redactPos > uploadAgentLogsPos { - t.Error("Secret redaction step should come BEFORE Upload Agent Stdio") + if uploadAgentArtifactsPos > 0 && redactPos > uploadAgentArtifactsPos { + t.Error("Secret redaction step should come BEFORE Upload agent artifacts") } - if redactPos > uploadSafeOutputsPos || redactPos > uploadAgentLogsPos { + if redactPos > uploadSafeOutputsPos || redactPos > uploadAgentArtifactsPos { t.Error("Secret redaction must happen before artifact uploads") } }