chore: checkpoint web Blender migration source, tools and docs
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-10 11:18:01 +08:00
parent 122142c26c
commit f3e21c6b98
6887 changed files with 257154 additions and 12294 deletions

View File

@@ -0,0 +1,23 @@
import fs from "node:fs";
import path from "node:path";
import { test } from "@playwright/test";
import { observeNative } from "../fixtures/native-ui-workflow";
const root = path.resolve(import.meta.dirname, "../../..");
test("trace compressed blend open", async ({ page }) => {
test.setTimeout(180_000);
const consoleLines: string[] = [];
page.on("console", (message) => consoleLines.push(`${message.type()}: ${message.text()}`.slice(0, 400)));
page.on("pageerror", (error) => consoleLines.push(`pageerror: ${error.message}`.slice(0, 400)));
await observeNative(page);
await page.goto("/");
await page.getByTestId("blend-file-input").setInputFiles(path.join(root, "blender-5.2.0/tests/files/sequence_editing/sequence.blend"));
await page.waitForTimeout(30000);
const out = await page.evaluate(() => ({
status: document.querySelector('[data-testid="engine-status"]')?.textContent ?? "",
projectId: (document.querySelector("main.blender-app") as HTMLElement | null)?.dataset.projectId ?? "",
responses: ((window as any).__nativeWorkflowResponses ?? []).map((r: any) => ({ ok: r.ok, kind: r.kind, code: r.error?.code, message: String(r.error?.message ?? "").slice(0, 300) })).slice(-6),
}));
fs.writeFileSync("/tmp/seq-open-trace.json", JSON.stringify({ ...(out as object), consoleLines: consoleLines.slice(-25) }, null, 2));
});