@@ -1181,7 +1181,7 @@ jobs:
|
1181 | 1181 | runtime_tool_coverage_release_checks: |
1182 | 1182 | name: Enforce QA Lab runtime tool coverage |
1183 | 1183 | needs: [resolve_target, qa_lab_runtime_parity_release_checks] |
1184 | | -if: always() && contains(fromJSON('["all","qa","qa-parity"]'), needs.resolve_target.outputs.rerun_group) |
| 1184 | +if: contains(fromJSON('["all","qa","qa-parity"]'), needs.resolve_target.outputs.rerun_group) |
1185 | 1185 | runs-on: ubuntu-24.04 |
1186 | 1186 | timeout-minutes: 15 |
1187 | 1187 | permissions: |
@@ -1204,13 +1204,35 @@ jobs:
|
1204 | 1204 | node-version: ${{ env.NODE_VERSION }} |
1205 | 1205 | install-bun: "true" |
1206 | 1206 | |
| 1207 | + - name: Download runtime parity status |
| 1208 | +uses: actions/download-artifact@v8 |
| 1209 | +with: |
| 1210 | +name: release-check-status-qa-runtime-parity-${{ needs.resolve_target.outputs.revision }} |
| 1211 | +path: .artifacts/release-check-status/ |
| 1212 | + |
| 1213 | + - name: Verify runtime parity producer status |
| 1214 | +id: verify_runtime_parity_status |
| 1215 | +shell: bash |
| 1216 | +run: | |
| 1217 | + set -euo pipefail |
| 1218 | + status_path=".artifacts/release-check-status/qa_lab_runtime_parity_release_checks.env" |
| 1219 | + status="$(sed -n 's/^status=//p' "$status_path" | tail -n 1)" |
| 1220 | + if [[ "$status" != "success" ]]; then |
| 1221 | + echo "Runtime parity producer status is ${status:-missing}; skipping coverage artifact consumer." |
| 1222 | + echo "ready=false" >> "$GITHUB_OUTPUT" |
| 1223 | + exit 0 |
| 1224 | + fi |
| 1225 | + echo "ready=true" >> "$GITHUB_OUTPUT" |
| 1226 | + |
1207 | 1227 | - name: Download runtime parity artifacts |
| 1228 | +if: steps.verify_runtime_parity_status.outputs.ready == 'true' |
1208 | 1229 | uses: actions/download-artifact@v8 |
1209 | 1230 | with: |
1210 | 1231 | name: release-qa-runtime-parity-${{ needs.resolve_target.outputs.revision }} |
1211 | 1232 | path: .artifacts/qa-e2e/ |
1212 | 1233 | |
1213 | 1234 | - name: Enforce standard runtime tool coverage |
| 1235 | +if: steps.verify_runtime_parity_status.outputs.ready == 'true' |
1214 | 1236 | run: | |
1215 | 1237 | set -euo pipefail |
1216 | 1238 | pnpm openclaw qa coverage \ |
|