


























@@ -229,6 +229,96 @@ jobs:
229229retention-days: 14
230230if-no-files-found: warn
231231232+run_live_runtime_token_efficiency:
233+name: Run live runtime token-efficiency lane
234+needs: [authorize_actor, validate_selected_ref]
235+if: github.event_name == 'schedule'
236+runs-on: blacksmith-8vcpu-ubuntu-2404
237+timeout-minutes: 45
238+environment: qa-live-shared
239+env:
240+QA_PARITY_CONCURRENCY: "1"
241+OPENCLAW_QA_TRANSPORT_READY_TIMEOUT_MS: "180000"
242+OPENCLAW_QA_REDACT_PUBLIC_METADATA: "1"
243+steps:
244+ - name: Checkout selected ref
245+uses: actions/checkout@v6
246+with:
247+persist-credentials: false
248+ref: ${{ needs.validate_selected_ref.outputs.selected_revision }}
249+fetch-depth: 1
250+251+ - name: Setup Node environment
252+uses: ./.github/actions/setup-node-env
253+with:
254+node-version: ${{ env.NODE_VERSION }}
255+pnpm-version: ${{ env.PNPM_VERSION }}
256+install-bun: "true"
257+258+ - name: Validate required QA credential env
259+env:
260+OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
261+shell: bash
262+run: |
263+ set -euo pipefail
264+265+ if [[ -z "${OPENAI_API_KEY:-}" ]]; then
266+ echo "Missing required OPENAI_API_KEY." >&2
267+ exit 1
268+ fi
269+270+ - name: Build private QA runtime
271+env:
272+NODE_OPTIONS: --max-old-space-size=8192
273+run: pnpm build
274+275+ - name: Run live runtime parity lane
276+id: run_lane
277+shell: bash
278+env:
279+OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
280+OPENCLAW_LIVE_OPENAI_KEY: ${{ secrets.OPENAI_API_KEY }}
281+run: |
282+ set -euo pipefail
283+284+ output_dir=".artifacts/qa-e2e/runtime-token-efficiency-live-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
285+ echo "output_dir=${output_dir}" >> "$GITHUB_OUTPUT"
286+287+ pnpm openclaw qa suite \
288+ --repo-root . \
289+ --provider-mode live-frontier \
290+ --runtime-parity-tier standard \
291+ --runtime-parity-tier live-only \
292+ --concurrency "${QA_PARITY_CONCURRENCY}" \
293+ --model "${OPENCLAW_CI_OPENAI_MODEL}" \
294+ --alt-model "${OPENCLAW_CI_OPENAI_MODEL}" \
295+ --runtime-pair pi,codex \
296+ --fast \
297+ --allow-failures \
298+ --output-dir "${output_dir}/runtime-suite"
299+300+ - name: Generate live runtime token-efficiency report
301+if: always() && steps.run_lane.outcome != 'skipped' && steps.run_lane.outcome != 'cancelled'
302+shell: bash
303+run: |
304+ set -euo pipefail
305+306+ pnpm openclaw qa parity-report \
307+ --repo-root . \
308+ --runtime-axis \
309+ --token-efficiency \
310+ --summary "${{ steps.run_lane.outputs.output_dir }}/runtime-suite/qa-suite-summary.json" \
311+ --output-dir "${{ steps.run_lane.outputs.output_dir }}/runtime-report"
312+313+ - name: Upload live runtime token-efficiency artifacts
314+if: always()
315+uses: actions/upload-artifact@v4
316+with:
317+name: qa-live-runtime-token-efficiency-${{ github.run_id }}-${{ github.run_attempt }}
318+path: ${{ steps.run_lane.outputs.output_dir }}
319+retention-days: 14
320+if-no-files-found: warn
321+232322run_live_matrix:
233323name: Run Matrix live QA lane
234324needs: [authorize_actor, validate_selected_ref]
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。