Merge remote-tracking branch 'web/master' into feat/pixel_art2
Project CI / Backend tests (pull_request) Successful in 3m58s
Project CI / Frontend tests (pull_request) Failing after 25s
Project CI / Repository checks (pull_request) Failing after 1m14s
Project CI / Native shell tests (pull_request) Failing after 6m6s

This commit is contained in:
2026-08-03 07:50:35 +00:00
@@ -5,7 +5,11 @@ import { join } from 'node:path';
import { describe, expect, test, vi } from 'vitest';
import { spawnChild, terminateChildTree } from '../scripts/start-dev-stack.mjs';
import {
isProcessGroupAlive,
spawnChild,
terminateChildTree,
} from '../scripts/start-dev-stack.mjs';
import {
buildTauriArguments,
runTauriDev,
@@ -200,7 +204,7 @@ describe('AI 游戏创作 Tauri dev 生命周期', () => {
});
expect(result).toBe(42);
expect(() => process.kill(-cliChild.pid, 0)).toThrow();
expect(isProcessGroupAlive(cliChild.pid)).toBe(false);
} finally {
if (Number.isInteger(cliChild?.pid)) {
try {