惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
阮一峰的网络日志
阮一峰的网络日志
罗磊的独立博客
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
博客园 - 司徒正美
S
SegmentFault 最新的问题
Jina AI
Jina AI
美团技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
WordPress大学
WordPress大学
爱范儿
爱范儿
博客园 - Franky
量子位
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(ci): honor reusable QA evidence failure policy · open...
vincentkoc · 2026-06-23 · via Recent Commits to openclaw:main

@@ -19,6 +19,14 @@ function readRealBehaviorProofWorkflow() {

1919

return parse(readFileSync(".github/workflows/real-behavior-proof.yml", "utf8"));

2020

}

212122+

function readMaturityScorecardWorkflow() {

23+

return parse(readFileSync(".github/workflows/maturity-scorecard.yml", "utf8"));

24+

}

25+26+

function readQaProfileEvidenceWorkflow() {

27+

return parse(readFileSync(".github/workflows/qa-profile-evidence.yml", "utf8"));

28+

}

29+2230

function readCriticalQualityWorkflow() {

2331

return readFileSync(".github/workflows/codeql-critical-quality.yml", "utf8");

2432

}

@@ -563,6 +571,75 @@ describe("ci workflow guards", () => {

563571

});

564572

});

565573574+

it("keeps maturity scorecard generated QA evidence handoff strict", () => {

575+

const maturityWorkflow = readMaturityScorecardWorkflow();

576+

const qaEvidenceWorkflow = readQaProfileEvidenceWorkflow();

577+

const generateJob = maturityWorkflow.jobs.generate_qa_evidence;

578+

const publishJob = maturityWorkflow.jobs.publish;

579+

const qaRunJob = qaEvidenceWorkflow.jobs.run_qa_profile;

580+581+

expect(qaEvidenceWorkflow.on.workflow_dispatch.inputs.fail_on_qa_failure).toEqual({

582+

description: "Fail the workflow when the QA profile command exits non-zero",

583+

required: false,

584+

default: true,

585+

type: "boolean",

586+

});

587+

expect(qaEvidenceWorkflow.on.workflow_call.inputs.fail_on_qa_failure).toMatchObject({

588+

default: false,

589+

type: "boolean",

590+

});

591+

expect(generateJob.if).toBe("${{ inputs.qa_evidence_run_id == '' }}");

592+

expect(generateJob.uses).toBe("./.github/workflows/qa-profile-evidence.yml");

593+

expect(generateJob.with).toMatchObject({

594+

ref: "${{ needs.validate_selected_ref.outputs.selected_revision }}",

595+

qa_profile: "release",

596+

fail_on_qa_failure: false,

597+

});

598+599+

const generatedDownloadStep = publishJob.steps.find(

600+

(step) => step.name === "Download generated QA evidence artifact",

601+

);

602+

expect(generatedDownloadStep.if).toBe("${{ inputs.qa_evidence_run_id == '' }}");

603+

expect(generatedDownloadStep.env.GENERATED_ARTIFACT_NAME).toBe(

604+

"${{ needs.generate_qa_evidence.outputs.artifact_name }}",

605+

);

606+

expect(generatedDownloadStep.run).toContain('gh run download "$GITHUB_RUN_ID"');

607+

expect(generatedDownloadStep.run).toContain('--name "$GENERATED_ARTIFACT_NAME"');

608+

expect(generatedDownloadStep.run).not.toContain("--pattern");

609+610+

const requireEvidenceStep = publishJob.steps.find(

611+

(step) => step.name === "Require one QA evidence file",

612+

);

613+

expect(requireEvidenceStep.run).toContain("Expected exactly one qa-evidence.json file");

614+615+

const validateManifestStep = publishJob.steps.find(

616+

(step) => step.name === "Validate QA evidence manifest",

617+

);

618+

expect(validateManifestStep.run).toContain("qa-profile-evidence-manifest.json");

619+

expect(validateManifestStep.run).toContain("manifest.targetSha !== targetSha");

620+621+

expect(qaRunJob.outputs.artifact_name).toBe("${{ steps.evidence.outputs.artifact_name }}");

622+

const qaEvidenceStep = qaRunJob.steps.find(

623+

(step) => step.name === "Validate QA profile evidence",

624+

);

625+

expect(qaEvidenceStep.env.ARTIFACT_NAME).toBe(

626+

"qa-profile-evidence-${{ steps.profile.outputs.profile }}-${{ needs.validate_selected_ref.outputs.selected_revision }}",

627+

);

628+

expect(qaEvidenceStep.run).toContain("qa-profile-evidence-manifest.json");

629+630+

const qaUploadStep = qaRunJob.steps.find((step) => step.name === "Upload QA profile evidence");

631+

expect(qaUploadStep.with).toMatchObject({

632+

name: "qa-profile-evidence-${{ steps.profile.outputs.profile }}-${{ needs.validate_selected_ref.outputs.selected_revision }}",

633+

path: "${{ steps.run_profile.outputs.output_dir }}",

634+

"if-no-files-found": "error",

635+

});

636+637+

const qaFailStep = qaRunJob.steps.find(

638+

(step) => step.name === "Fail if configured QA gate failed",

639+

);

640+

expect(qaFailStep.if).toBe("always() && inputs.fail_on_qa_failure");

641+

});

642+566643

it("keeps workflow guards in fast CI-routing checks", () => {

567644

const workflow = readCiWorkflow();

568645

const fastCoreJob = workflow.jobs["checks-fast-core"];