mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:50:42 +00:00
ci: expand release upgrade baselines
This commit is contained in:
@@ -92,6 +92,7 @@ describe("package acceptance workflow", () => {
|
||||
expect(workflow).toContain("suite_profile:");
|
||||
expect(workflow).toContain("published_upgrade_survivor_baseline:");
|
||||
expect(workflow).toContain("published_upgrade_survivor_baselines:");
|
||||
expect(workflow).toContain("all-since-2026.4.23");
|
||||
expect(workflow).toContain("published_upgrade_survivor_scenarios:");
|
||||
expect(workflow).toContain("scripts/resolve-upgrade-survivor-baselines.mjs");
|
||||
expect(workflow).toContain("--history-count 6");
|
||||
@@ -143,6 +144,10 @@ describe("package acceptance workflow", () => {
|
||||
const releaseChecksWorkflow = readFileSync(RELEASE_CHECKS_WORKFLOW, "utf8");
|
||||
|
||||
expect(workflow).toContain("TARGET_SHA: ${{ needs.resolve_target.outputs.sha }}");
|
||||
expect(workflow).toContain("package_acceptance_package_spec:");
|
||||
expect(workflow).toContain(
|
||||
'args+=(-f package_acceptance_package_spec="$PACKAGE_ACCEPTANCE_PACKAGE_SPEC")',
|
||||
);
|
||||
expect(workflow).toContain("--json status,conclusion,url,attempt,headSha,jobs");
|
||||
expect(workflow).toContain("child run used ${head_sha}, expected ${TARGET_SHA}");
|
||||
expect(workflow).toContain(
|
||||
@@ -150,6 +155,12 @@ describe("package acceptance workflow", () => {
|
||||
);
|
||||
expect(workflow).toContain("| Child | Result | Minutes | Head SHA | Run |");
|
||||
expect(releaseChecksWorkflow).toContain("refs/heads/release-ci/[0-9a-f]{12}-[0-9]+");
|
||||
expect(releaseChecksWorkflow).toContain(
|
||||
"source: ${{ needs.resolve_target.outputs.package_acceptance_package_spec != '' && 'npm' || 'artifact' }}",
|
||||
);
|
||||
expect(releaseChecksWorkflow).toContain(
|
||||
"package_spec: ${{ needs.resolve_target.outputs.package_acceptance_package_spec || 'openclaw@beta' }}",
|
||||
);
|
||||
});
|
||||
|
||||
it("keeps exhaustive update migration as a separate manual package gate", () => {
|
||||
@@ -459,7 +470,12 @@ describe("package artifact reuse", () => {
|
||||
expect(workflow).toContain("include_release_path_suites: false");
|
||||
expect(workflow).toContain("include_release_path_suites: true");
|
||||
expect(workflow).toContain("uses: ./.github/workflows/package-acceptance.yml");
|
||||
expect(workflow).toContain("source: artifact");
|
||||
expect(workflow).toContain(
|
||||
"source: ${{ needs.resolve_target.outputs.package_acceptance_package_spec != '' && 'npm' || 'artifact' }}",
|
||||
);
|
||||
expect(workflow).toContain(
|
||||
"package_spec: ${{ needs.resolve_target.outputs.package_acceptance_package_spec || 'openclaw@beta' }}",
|
||||
);
|
||||
expect(workflow).toContain(".artifacts/docker-e2e-package/package-candidate.json");
|
||||
expect(workflow).toContain(
|
||||
"artifact_name: ${{ needs.prepare_release_package.outputs.artifact_name }}",
|
||||
@@ -471,7 +487,7 @@ describe("package artifact reuse", () => {
|
||||
expect(workflow).toContain(
|
||||
"docker_lanes: doctor-switch update-channel-switch upgrade-survivor published-upgrade-survivor plugins-offline plugin-update",
|
||||
);
|
||||
expect(workflow).toContain("published_upgrade_survivor_baselines: release-history");
|
||||
expect(workflow).toContain("published_upgrade_survivor_baselines: all-since-2026.4.23");
|
||||
expect(workflow).toContain("published_upgrade_survivor_scenarios: reported-issues");
|
||||
expect(workflow).toContain("telegram_mode: mock-openai");
|
||||
expect(workflow).toContain(
|
||||
|
||||
Reference in New Issue
Block a user