diff --git a/docs/status/WBV2-P1425-001-web-operator-dispatch.md b/docs/status/WBV2-P1425-001-web-operator-dispatch.md index a401dcd31..79bbfdc07 100644 --- a/docs/status/WBV2-P1425-001-web-operator-dispatch.md +++ b/docs/status/WBV2-P1425-001-web-operator-dispatch.md @@ -370,6 +370,19 @@ - 未验证:Outliner 多选自动化的“设定父级”未成功触发(菜单项 disabled), 无法判定是自动化路径还是产品缺口;留待下一批。 +## 动画时间线与推送状态(2026-11-14) + +- 时间线:`播放` 2.5 s 后 frame 1→3,暂停正常,`下一帧` 可用; + 证据 `tools/web/complete/probe-timeline.mjs`。 +- 本地提交:`4eb08faf3`(275 files,含引擎、源码、WASM、手册与三域证据)。 +- 推送被凭据阻塞:`git push origin main` 返回 + `could not read Username for 'https://gitea.meswork.com'`;本机无 + credential helper、无 `~/.git-credentials`、ssh-agent 无身份、无 Gitea token。 + 需用户在有凭据的终端执行一次 `git push origin main`,或提供 token/SSH key。 +- 未纳入提交的大体积本地产物:`blender-5.2.0/tests/files`(777 MB)、 + `tests/golden` 其余约 21 GB 证据、`web/app/dist-snapshot`(487 MB)、 + `COURSE-FULL-001/video`(110 MB)。 + ## 下一动作 1. 用户验证 `?ui=web` 导出面板的 USD/Alembic 下载与产物内容。 diff --git a/tests/golden/WBV2-P1425-001/continuation-20261113-web-export.json b/tests/golden/WBV2-P1425-001/continuation-20261113-web-export.json index b9d440682..dc17388e9 100644 --- a/tests/golden/WBV2-P1425-001/continuation-20261113-web-export.json +++ b/tests/golden/WBV2-P1425-001/continuation-20261113-web-export.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, "task": "WBV2-P1425-001", - "updatedAt": "2026-11-13T23:42:00+08:00", + "updatedAt": "2026-11-14T06:18:00+08:00", "status": "in_progress", "focus": "COMPLETE-TUTORIAL-001 backend export gap (USD/Alembic)", "breakpoint": "blender-5.2.0/source/blender/web_engine/CMakeLists.txt (USD wiring); WASM 6ee2b261", @@ -29,7 +29,7 @@ "Confirm whether the one-time TfNotice duplicate Python type Coding Error has side effects on second imports.", "Alembic was verified only through the focused worker probe, not the export panel." ], - "nextAction": "Continue with transform/parenting and remaining three-domain cases; keep queue in_progress and no git operations.", + "nextAction": "Resume after the user pushes (or provides credentials); continue three-domain cases locally meanwhile.", "wasmSha256": "6ee2b2612a0ae667cd83df7177cf695ca8681ae83818c95799bb416435945c4e", "acceptance": "NOT_CLAIMED", "probe": { @@ -126,5 +126,28 @@ "parentingProbe": { "status": "inconclusive", "note": "Outliner 设定父级 stayed disabled; automation may not have multi-selected rows; no product conclusion" + }, + "timelineProbe": { + "play": "frame 1→3 after 2.5 s, pause ok; 下一帧 enabled", + "script": "tools/web/complete/probe-timeline.mjs", + "acceptance": "NOT_CLAIMED" + }, + "pushState": { + "localCommit": "4eb08faf3", + "status": "blocked_no_credentials", + "error": "could not read Username for 'https://gitea.meswork.com'", + "checks": [ + "no credential.helper", + "no ~/.git-credentials", + "ssh-agent has no identities", + "no Gitea token/CLI config" + ], + "action": "user runs git push origin main from an authenticated terminal", + "excludedLargeArtifacts": [ + "blender-5.2.0/tests/files 777MB", + "tests/golden remaining ~21GB", + "web/app/dist-snapshot 487MB", + "COURSE-FULL-001/video 110MB" + ] } } diff --git a/tools/web/complete/probe-timeline.mjs b/tools/web/complete/probe-timeline.mjs new file mode 100644 index 000000000..e69e4e3b8 --- /dev/null +++ b/tools/web/complete/probe-timeline.mjs @@ -0,0 +1,43 @@ +#!/usr/bin/env node +/** + * Focused case: Timeline play/pause and frame stepping in the ?ui=web entry. + * + * node tools/web/complete/probe-timeline.mjs --base-url http://127.0.0.1:5176 + */ +import { ASSETS, parseArgs, launchBrowser, newPage, openFile, waitScene } from "../course/lib/lesson-recorder.mjs"; + +const args = parseArgs(); +const BASE = args.baseUrl || "http://127.0.0.1:5176"; +const browser = await launchBrowser(args.gpu); +const { context, page, consoleErrors } = await newPage(browser, { baseUrl: BASE }); +page.setDefaultTimeout(60_000); +const log = (...parts) => console.log(new Date().toISOString().slice(11, 19), ...parts); +const state = async () => page.evaluate(() => ({ + frame: document.querySelector('input[aria-label="当前帧"]')?.value ?? null, + max: document.querySelector('input[aria-label="当前帧"]')?.max ?? null, + status: document.querySelector('[data-testid="engine-status"]')?.textContent ?? "", + alerts: Array.from(document.querySelectorAll('[role="alert"]')).map((node) => node.textContent).slice(0, 3), + playDisabled: document.querySelector('button[aria-label="播放"]')?.hasAttribute('disabled') ?? null, +})); +try { + await openFile(page, ASSETS.studio); + await waitScene(page, { objects: 6, timeout: 240_000 }); + log("start", JSON.stringify(await state())); + await page.getByRole("button", { name: "下一帧", exact: true }).click(); + await page.waitForTimeout(800); + log("step", JSON.stringify(await state())); + await page.locator('button[aria-label="播放"]').first().click(); + await page.waitForTimeout(2500); + const during = await state(); + await page.locator('button[aria-label="播放"]').first().click(); + await page.waitForTimeout(800); + log("play", JSON.stringify(during)); + log("paused", JSON.stringify(await state())); +} catch (error) { + log("probe error", error instanceof Error ? error.message : String(error)); + log("state", JSON.stringify(await state().catch(() => null))); +} finally { + log("consoleErrors", JSON.stringify(consoleErrors.slice(-10))); + await context.close(); + await browser.close(); +}