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

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
J
Java Code Geeks
Blog — PlanetScale
Blog — PlanetScale
F
Fortinet All Blogs
腾讯CDC
大猫的无限游戏
大猫的无限游戏
Jina AI
Jina AI
WordPress大学
WordPress大学
雷峰网
雷峰网
小众软件
小众软件
D
DataBreaches.Net
V
Visual Studio Blog
博客园 - Franky
IT之家
IT之家
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog RSS Feed
博客园 - 聂微东
T
Tailwind CSS Blog
有赞技术团队
有赞技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
云风的 BLOG
云风的 BLOG

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
ci: add release QA profile evidence (#95094) · openclaw/o...
RomneyDa · 2026-06-23 · via Recent Commits to openclaw:main

@@ -29,6 +29,10 @@ function readQaProfileEvidenceWorkflow() {

2929

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

3030

}

313132+

function readReleaseChecksWorkflow() {

33+

return parse(readFileSync(".github/workflows/openclaw-release-checks.yml", "utf8"));

34+

}

35+3236

function readCriticalQualityWorkflow() {

3337

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

3438

}

@@ -608,6 +612,34 @@ describe("ci workflow guards", () => {

608612

const publishJob = maturityWorkflow.jobs.publish;

609613

const qaRunJob = qaEvidenceWorkflow.jobs.run_qa_profile;

610614615+

expect(maturityWorkflow.on.workflow_call.inputs).toMatchObject({

616+

qa_evidence_run_id: {

617+

description: "Optional workflow run id containing qa-evidence.json",

618+

required: false,

619+

default: "",

620+

type: "string",

621+

},

622+

ref: {

623+

description: "OpenClaw branch, tag, or SHA containing the maturity score source",

624+

required: true,

625+

type: "string",

626+

},

627+

expected_sha: {

628+

description: "Optional full SHA that ref must resolve to",

629+

required: false,

630+

default: "",

631+

type: "string",

632+

},

633+

});

634+

expect(maturityWorkflow.on.workflow_call.secrets.OPENAI_API_KEY.required).toBe(true);

635+

expect(

636+

maturityWorkflow.on.workflow_call.secrets.OPENCLAW_MATURITY_SCORECARD_AGENT_OPENAI_API_KEY

637+

.required,

638+

).toBe(false);

639+

expect(maturityWorkflow.on.workflow_call.secrets.GH_APP_PRIVATE_KEY.required).toBe(false);

640+

expect(maturityWorkflow.on.workflow_call.secrets.GH_APP_PRIVATE_KEY_FALLBACK.required).toBe(

641+

false,

642+

);

611643

expect(qaEvidenceWorkflow.on.workflow_dispatch.inputs).not.toHaveProperty("fail_on_qa_failure");

612644

expect(qaEvidenceWorkflow.on.workflow_call.inputs).not.toHaveProperty("fail_on_qa_failure");

613645

expect(qaEvidenceWorkflow.on.workflow_dispatch.inputs.qa_profile).not.toHaveProperty("options");

@@ -627,10 +659,18 @@ describe("ci workflow guards", () => {

627659

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

628660

expect(generateJob.with).toMatchObject({

629661

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

662+

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

630663

qa_profile: "all",

631664

});

632665

expect(generateJob.with).not.toHaveProperty("fail_on_qa_failure");

633666667+

const validateRefStep = maturityWorkflow.jobs.validate_selected_ref.steps.find(

668+

(step) => step.name === "Validate selected ref",

669+

);

670+

expect(validateRefStep.env.EXPECTED_SHA).toBe("${{ inputs.expected_sha }}");

671+

expect(validateRefStep.run).toContain("expected_sha must be a full 40-character SHA");

672+

expect(validateRefStep.run).toContain('"${selected_revision,,}" != "$expected_sha"');

673+634674

const generatedDownloadStep = publishJob.steps.find(

635675

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

636676

);

@@ -671,6 +711,49 @@ describe("ci workflow guards", () => {

671711672712

const qaFailStep = qaRunJob.steps.find((step) => step.name === "Fail if QA profile failed");

673713

expect(qaFailStep.if).toBe("always()");

714+715+

const createTokenStep = publishJob.steps.find(

716+

(step) => step.name === "Create generated docs PR app token",

717+

);

718+

const createFallbackTokenStep = publishJob.steps.find(

719+

(step) => step.name === "Create generated docs PR fallback app token",

720+

);

721+

const openDocsPrStep = publishJob.steps.find((step) => step.name === "Open generated docs PR");

722+

expect(createTokenStep.if).toBe("${{ github.event_name == 'workflow_dispatch' }}");

723+

expect(createFallbackTokenStep.if).toBe(

724+

"${{ github.event_name == 'workflow_dispatch' && steps.app-token.outcome == 'failure' }}",

725+

);

726+

expect(openDocsPrStep.if).toBe("${{ github.event_name == 'workflow_dispatch' }}");

727+

});

728+729+

it("runs maturity scorecard from release checks", () => {

730+

const releaseWorkflow = readReleaseChecksWorkflow();

731+

const job = releaseWorkflow.jobs.maturity_scorecard_release_checks;

732+

const summaryJob = releaseWorkflow.jobs.summary;

733+

const verifyStep = summaryJob.steps.find(

734+

(step) => step.name === "Verify release check results",

735+

);

736+737+

expect(releaseWorkflow.jobs).not.toHaveProperty("qa_profile_release_evidence_release_checks");

738+

expect(job.name).toBe("Render maturity scorecard release docs");

739+

expect(job.if).toBe(

740+

'contains(fromJSON(\'["all","qa"]\'), needs.resolve_target.outputs.rerun_group)',

741+

);

742+

expect(job.permissions).toMatchObject({

743+

actions: "read",

744+

contents: "read",

745+

});

746+

expect(job.uses).toBe("./.github/workflows/maturity-scorecard.yml");

747+

expect(job.with).toMatchObject({

748+

ref: "${{ needs.resolve_target.outputs.ref }}",

749+

expected_sha: "${{ needs.resolve_target.outputs.revision }}",

750+

});

751+

expect(job.with).not.toHaveProperty("qa_profile");

752+

expect(summaryJob.needs).toContain("maturity_scorecard_release_checks");

753+

expect(verifyStep.run).toContain(

754+

'"maturity_scorecard_release_checks=${{ needs.maturity_scorecard_release_checks.result }}"',

755+

);

756+

expect(verifyStep.run).not.toContain("qa_profile_release_evidence_release_checks");

674757

});

675758676759

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