chore(debug): add visible central input and decision logs
Print run_build/run_quality/run_deploy values and gate decisions in workflow logs for runtime diagnosis when debug endpoint is unavailable. Made-with: Cursor
This commit is contained in:
@@ -82,6 +82,9 @@ jobs:
|
||||
#region agent log
|
||||
- name: Debug input forwarding for build
|
||||
run: |
|
||||
echo "DBG_CENTRAL_INPUT_RUN_BUILD='${{ inputs.run_build }}'"
|
||||
echo "DBG_CENTRAL_INPUT_RUN_QUALITY='${{ inputs.run_quality }}'"
|
||||
echo "DBG_CENTRAL_INPUT_RUN_DEPLOY='${{ inputs.run_deploy }}'"
|
||||
curl -sS -X POST "http://127.0.0.1:7352/ingest/24143b9f-f549-4429-832c-d0515ce6e2ac" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "X-Debug-Session-Id: 0ae703" \
|
||||
@@ -157,6 +160,7 @@ jobs:
|
||||
#region agent log
|
||||
- name: Debug quality decision result
|
||||
run: |
|
||||
echo "DBG_QUALITY_DECISION run_quality='${{ inputs.run_quality }}' build='${{ needs.build.result }}' sonar='${{ needs.sonar.result }}'"
|
||||
curl -sS -X POST "http://127.0.0.1:7352/ingest/24143b9f-f549-4429-832c-d0515ce6e2ac" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "X-Debug-Session-Id: 0ae703" \
|
||||
@@ -171,6 +175,7 @@ jobs:
|
||||
#region agent log
|
||||
- name: Debug deploy decision result
|
||||
run: |
|
||||
echo "DBG_DEPLOY_DECISION run_deploy='${{ inputs.run_deploy }}' build='${{ needs.build.result }}' sonar='${{ needs.sonar.result }}' deploy='${{ needs.deploy.result }}'"
|
||||
curl -sS -X POST "http://127.0.0.1:7352/ingest/24143b9f-f549-4429-832c-d0515ce6e2ac" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "X-Debug-Session-Id: 0ae703" \
|
||||
|
||||
Reference in New Issue
Block a user