Skip to content

Commit a2d29df

Browse files
committed
fix(qa): run pinned pair before advisory report
1 parent 1327574 commit a2d29df

2 files changed

Lines changed: 17 additions & 13 deletions

File tree

‎.github/workflows/qa-live-transports-convex.yml‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -373,19 +373,6 @@ jobs:
373373
--allow-failures \
374374
--output-dir "${output_dir}/runtime-suite"
375375
376-
- name: Generate live runtime token-efficiency report
377-
if: steps.run_lane.outcome == 'success'
378-
shell: bash
379-
run: |
380-
set -euo pipefail
381-
382-
pnpm openclaw qa parity-report \
383-
--repo-root . \
384-
--runtime-axis \
385-
--token-efficiency \
386-
--summary "${{ steps.run_lane.outputs.output_dir }}/runtime-suite/qa-suite-summary.json" \
387-
--output-dir "${{ steps.run_lane.outputs.output_dir }}/runtime-report"
388-
389376
- name: Run pinned GPT-5.4 gateway restart runtime pair
390377
shell: bash
391378
env:
@@ -405,6 +392,19 @@ jobs:
405392
--fast \
406393
--output-dir "${{ steps.run_lane.outputs.output_dir }}/gateway-restart-gpt-5.4-runtime-pair"
407394
395+
- name: Generate live runtime token-efficiency report
396+
if: steps.run_lane.outcome == 'success'
397+
shell: bash
398+
run: |
399+
set -euo pipefail
400+
401+
pnpm openclaw qa parity-report \
402+
--repo-root . \
403+
--runtime-axis \
404+
--token-efficiency \
405+
--summary "${{ steps.run_lane.outputs.output_dir }}/runtime-suite/qa-suite-summary.json" \
406+
--output-dir "${{ steps.run_lane.outputs.output_dir }}/runtime-report"
407+
408408
- name: Upload live runtime token-efficiency artifacts
409409
if: always() && steps.run_lane.outputs.output_dir != ''
410410
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7

‎test/scripts/package-acceptance-workflow.test.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3235,6 +3235,7 @@ describe("package artifact reuse", () => {
32353235
const job = workflowJob(QA_LIVE_TRANSPORTS_WORKFLOW, "run_live_runtime_token_efficiency");
32363236
const credentialStep = workflowStep(job, "Validate required QA credential env");
32373237
const runStep = workflowStep(job, "Run pinned GPT-5.4 gateway restart runtime pair");
3238+
const stepNames = job.steps?.map((step) => step.name) ?? [];
32383239

32393240
expect(credentialStep.run).toContain('if [[ -z "${OPENAI_API_KEY:-}" ]]');
32403241
expect(credentialStep.run).toContain("exit 1");
@@ -3247,6 +3248,9 @@ describe("package artifact reuse", () => {
32473248
"steps.run_lane.outputs.output_dir }}/gateway-restart-gpt-5.4-runtime-pair",
32483249
);
32493250
expect(runStep.run).not.toContain("--allow-failures");
3251+
expect(stepNames.indexOf("Run pinned GPT-5.4 gateway restart runtime pair")).toBeLessThan(
3252+
stepNames.indexOf("Generate live runtime token-efficiency report"),
3253+
);
32503254
});
32513255

32523256
it("requires release-check QA evidence artifacts when lanes run", () => {

0 commit comments

Comments
 (0)