fix(cicd): use correct context field names for Log Center fingerprint
Some checks failed
Build and Deploy Backend / build-and-deploy (push) Failing after 54s

Add job_name and step_name to match Log Center's CI/CD fingerprint
generation, replacing failed_step which was not recognized. This fixes
deduplication causing new CI/CD failures to be silently dropped.

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

View File

@ -118,11 +118,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