fix(cicd): use correct context field names for Log Center fingerprint
All checks were successful
Build and Deploy Web / build-and-deploy (push) Successful in 3m14s

Add job_name and step_name to match Log Center's CI/CD fingerprint
generation, replacing failed_step which was not recognized.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
repair-agent 2026-02-24 13:46:11 +08:00
parent b72b376fcd
commit 13830bc8e8

View File

@ -113,11 +113,12 @@ jobs:
\"stack_trace\": [\"${ERROR_LOG}\"]
},
\"context\": {
\"job_name\": \"build-and-deploy\",
\"step_name\": \"${FAILED_STEP}\",
\"workflow\": \"${{ github.workflow }}\",
\"run_id\": \"${{ github.run_id }}\",
\"branch\": \"${{ github.ref_name }}\",
\"actor\": \"${{ github.actor }}\",
\"failed_step\": \"${FAILED_STEP}\",
\"commit\": \"${{ github.sha }}\"
}
}" || true