From 910c843122ed91681291b1594b4c30c80e517798 Mon Sep 17 00:00:00 2001 From: Vlad Mocanu Date: Thu, 26 Feb 2026 08:43:49 +0200 Subject: [PATCH] chore: remove debug-event job, merge into failure step The separate debug-event job ran on every event, wasting a runner. Merged the event payload dump into the existing "Debug on failure" step so it only runs when the claude job actually fails. Co-Authored-By: Claude Opus 4.6 --- .forgejo/workflows/claude.yml | 40 ++++++++++------------------------- 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/.forgejo/workflows/claude.yml b/.forgejo/workflows/claude.yml index 7d9c368..bc2c277 100644 --- a/.forgejo/workflows/claude.yml +++ b/.forgejo/workflows/claude.yml @@ -14,35 +14,6 @@ concurrency: group: claude-${{ github.event.issue.number || github.event.pull_request.number }}-${{ github.run_id }} jobs: - # Temporary debug job to inspect Forgejo event payloads (PRD #6 E2E testing) - debug-event: - runs-on: grunt - steps: - - name: Dump event context - run: | - echo "=== Event Context ===" - echo "github.event_name: ${{ github.event_name }}" - echo "github.event.action: ${{ github.event.action }}" - echo "" - echo "=== Comment fields ===" - echo "github.event.comment.body: ${{ github.event.comment.body }}" - echo "github.event.comment.id: ${{ github.event.comment.id }}" - echo "" - echo "=== Review fields ===" - echo "github.event.review.body: ${{ github.event.review.body }}" - echo "github.event.review.id: ${{ github.event.review.id }}" - echo "" - echo "=== GITHUB_EVENT_NAME env: $GITHUB_EVENT_NAME ===" - echo "=== GITHUB_EVENT_PATH: $GITHUB_EVENT_PATH ===" - echo "" - echo "=== Event Payload ===" - if [ -f "$GITHUB_EVENT_PATH" ]; then - cat "$GITHUB_EVENT_PATH" - else - echo "GITHUB_EVENT_PATH file not found!" - env | grep -i event || true - fi - claude: if: | (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || @@ -85,6 +56,17 @@ jobs: echo "Event: ${{ github.event_name }} / ${{ github.event.action }}" echo "Actor: ${{ github.actor }}" echo "" + echo "=== Event Payload ===" + echo "comment.body: ${{ github.event.comment.body }}" + echo "comment.id: ${{ github.event.comment.id }}" + echo "review.body: ${{ github.event.review.body }}" + echo "review.id: ${{ github.event.review.id }}" + echo "" + if [ -f "$GITHUB_EVENT_PATH" ]; then + echo "--- GITHUB_EVENT_PATH ---" + cat "$GITHUB_EVENT_PATH" + fi + echo "" EXEC_FILE="${{ steps.claude.outputs.execution_file }}" if [ -f "$EXEC_FILE" ]; then echo "--- Execution file contents ---"