ci(release): include performance run in validation manifest · openclaw/openclaw@0e73379
steipete
·
2026-05-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1051,6 +1051,9 @@ describe("package artifact reuse", () => {
|
1051 | 1051 | |
1052 | 1052 | it("summarizes queue time separately from execution time in full validation", () => { |
1053 | 1053 | const workflow = readFileSync(FULL_RELEASE_VALIDATION_WORKFLOW, "utf8"); |
| 1054 | +const parsedWorkflow = readWorkflow(FULL_RELEASE_VALIDATION_WORKFLOW); |
| 1055 | +const summaryJob = parsedWorkflow.jobs?.summary; |
| 1056 | +const manifestStep = workflowStep(summaryJob ?? {}, "Write release validation manifest"); |
1054 | 1057 | |
1055 | 1058 | expect(workflow).toContain("### Slowest jobs: ${label}"); |
1056 | 1059 | expect(workflow).toContain("### Longest queues: ${label}"); |
@@ -1065,6 +1068,8 @@ describe("package artifact reuse", () => {
|
1065 | 1068 | ); |
1066 | 1069 | expect(workflow).toContain("(.started_at | ts) - (.created_at | ts)"); |
1067 | 1070 | expect(workflow).not.toContain('gh run view "$run_id" --json createdAt,jobs'); |
| 1071 | +expect(manifestStep.env?.PERFORMANCE_RUN_ID).toBe("${{ needs.performance.outputs.run_id }}"); |
| 1072 | +expect(manifestStep.run).toContain('--arg performanceRunId "$PERFORMANCE_RUN_ID"'); |
1068 | 1073 | }); |
1069 | 1074 | |
1070 | 1075 | it("keeps release publish creation compatible with gh api and prerelease notes", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。