
























@@ -110,6 +110,8 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
110110it("wires the full plugin prerelease plan into the mega CI workflow", () => {
111111const workflow = readCiWorkflow();
112112const preflight = workflow.jobs.preflight;
113+const extensionShard = workflow.jobs["checks-node-extensions-shard"];
114+const extensionSuite = workflow.jobs["checks-node-extensions"];
113115const staticShard = workflow.jobs["plugin-prerelease-static-shard"];
114116const dockerSuite = workflow.jobs["plugin-prerelease-docker-suite"];
115117const suite = workflow.jobs["plugin-prerelease-suite"];
@@ -127,6 +129,7 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
127129plugin_prerelease_static_matrix:
128130"${{ steps.manifest.outputs.plugin_prerelease_static_matrix }}",
129131run_plugin_prerelease_suite: "${{ steps.manifest.outputs.run_plugin_prerelease_suite }}",
132+run_checks_node_extensions: "${{ steps.manifest.outputs.run_checks_node_extensions }}",
130133});
131134expect(staticShard).toMatchObject({
132135name: "${{ matrix.check_name }}",
@@ -147,6 +150,7 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
147150expect(manifestScript).toContain(
148151"let runPluginPrereleaseSuite =\n isFullReleaseValidationCiRun && runNodeFull && isCanonicalRepository;",
149152);
153+expect(manifestScript).toContain("run_checks_node_extensions: runReleaseOnlyPluginSuites");
150154expect(normalCiScript).toContain(
151155'dispatch_and_wait ci.yml -f target_ref="$TARGET_SHA" -f full_release_validation=true',
152156);
@@ -159,6 +163,10 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
159163expect(staticShard.strategy.matrix).toBe(
160164"${{ fromJson(needs.preflight.outputs.plugin_prerelease_static_matrix) }}",
161165);
166+expect(extensionShard.if).toBe("needs.preflight.outputs.run_checks_node_extensions == 'true'");
167+expect(extensionSuite.if).toBe(
168+"${{ !cancelled() && always() && needs.preflight.outputs.run_checks_node_extensions == 'true' }}",
169+);
162170expect(
163171staticShard.steps.find((step) => step.name === "Run plugin prerelease static shard").run,
164172).toContain('bash -c "$PLUGIN_PRERELEASE_COMMAND"');
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。