From edfbcd540baa8d6f025d7e250e6308f9a13df042 Mon Sep 17 00:00:00 2001 From: mac Date: Fri, 6 Nov 2026 17:22:49 +0800 Subject: [PATCH] verify: accept 105 background diagnostics and cloud stack delivery --- Backend/deploy.py | 2 +- Packaging/Release-1.18.0.md | 12 +++++ research/CloudDiagnostics1.18.0.md | 10 +++- verification/Delivery.json | 10 ++-- verification/Diagnostics1.18.0.json | 69 ++++++++++++++++++++++++++- verification/InstalledSelfTest.json | 18 +++---- verification/LocalHostExit1.18.0.json | 51 ++++++++++++++++++++ verification/Recovery1.18.0.json | 11 +++++ verification/Symbols1.18.0.json | 22 +++++++++ 9 files changed, 187 insertions(+), 18 deletions(-) create mode 100644 Packaging/Release-1.18.0.md create mode 100644 verification/LocalHostExit1.18.0.json create mode 100644 verification/Recovery1.18.0.json create mode 100644 verification/Symbols1.18.0.json diff --git a/Backend/deploy.py b/Backend/deploy.py index afd23ad..39d0c39 100644 --- a/Backend/deploy.py +++ b/Backend/deploy.py @@ -75,7 +75,7 @@ def main(): result=deploy_file(local,NAS/relative,allow_new=True) manifest=dict(bundle_id='com.dayu.color',channel='beta',version=version,build=build,package_type='pkg',install_mode='pkg_installer', size=package.stat().st_size,sha256=digest,download_url='https://dayu.media/'+str(relative),minimum_system_version='14.6', - notes='公测版:接入自动更新与可关闭的云端诊断,记录插件加载耗时及错误摘要。请保存并退出 FCP / Motion 后安装。') + notes='公测诊断增强:主 APP 关闭窗口后保持后台运行;自动发送本产品崩溃、卡顿调用栈摘要及阶段耗时,可随时关闭诊断。安装器会提示正常退出 FCP、Motion 和大鱼调色主程序,请先保存工作。') dest=NAS/UPLOAD/'beta.json';old=json.loads(dest.read_text()) if dest.exists() else None if old:assert int(old['build'])<=build, '禁止更新通道倒退' localManifest=LOCAL/UPLOAD/'beta.json';write_json(localManifest,manifest) diff --git a/Packaging/Release-1.18.0.md b/Packaging/Release-1.18.0.md new file mode 100644 index 0000000..8e16b07 --- /dev/null +++ b/Packaging/Release-1.18.0.md @@ -0,0 +1,12 @@ +大鱼调色 1.18.0(105)增强公测故障诊断,主 APP 注册成功及关闭窗口后继续在后台运行,菜单栏可重新打开、发送摘要或退出。 + +- 崩溃摘要记录故障发生时的实际版本、异常终止类别、镜像 UUID 和地址偏移,排除开发自检报告。 +- 卡顿时限频采集本产品调用栈摘要,按分钟汇总渲染、状态构建、检视器刷新和跟踪耗时,以及内存、CPU 和线程数。正常菜单与模态事件循环继续响应探针。 +- 沿用可关闭的公测诊断开关及 30 天保留,不上传素材、LUT、预设、账号或原始系统诊断文件。 +- 安装器增加常驻主 APP 的正常退出检查,更新后启动正式版本。 + +云端历史报告中,外部 1.10.0 的通知回调崩溃对应 1.11.0 起已有的修复;历史卡顿与 dyld 报告信息不足,本版本用于补足现场证据,不宣称已解决全部用户闪退或卡顿。 + +实际编译提交:`d0187695581fa3a8fe5c3cfa8a1bc6337425f5f6`。APP 与 PKG 均使用 Developer ID 签名、Apple 公证及票据验证;系统要求 macOS 14.6+,Apple Silicon。安装前保存工作,按系统提示正常退出宿主和主 APP。 + +安装包与符号附件的 SHA-256、签名、公证和实际宿主验收范围见本标签下 verification/Package.json、verification/Symbols1.18.0.json 与 verification/Diagnostics1.18.0.json。 diff --git a/research/CloudDiagnostics1.18.0.md b/research/CloudDiagnostics1.18.0.md index 20757fe..cee8230 100644 --- a/research/CloudDiagnostics1.18.0.md +++ b/research/CloudDiagnostics1.18.0.md @@ -17,10 +17,18 @@ 取消主 APP 注册后倒计时退出,关闭窗口后保留后台运行,提供重新打开与明确退出入口。补充持续扫描自身 APP/插件系统报告、崩溃实际版本与 build、异常终止类别、镜像 UUID/偏移;卡顿使用公共运行循环探针、限频调用栈摘要与资源统计;渲染与跟踪持续阶段、慢操作摘要,避免每帧磁盘和网络发送。现有诊断开关及 30 天保留不变,不上传素材、LUT、预设、账号和原始诊断文件。 -验证与交付结果待实现后追加。卡顿具体根因和 dyld 历史报告仍待新版本现场数据。 +正式路径采集验收见下方;发行状态见开发交接及版本记录。卡顿具体根因和 dyld 历史报告仍待新版本现场数据。 数据结构依据:[Apple IPS JSON 说明](https://developer.apple.com/documentation/xcode/interpreting-the-json-format-of-a-crash-report);运行循环依据:[CFRunLoop](https://developer.apple.com/documentation/corefoundation/cfrunloop)。 ## 正式路径候选 104 的验收修正 FCP 12.4 加载、播放和阶段汇总上报通过。受控主线程暂停 12 秒时,采样以 timeout_or_disabled 送达,因此候选未发布。移除 sample 的 -mayDie(避免采样前预读符号),后台符号处理上限改为 30 秒;采集本身仍为 1 秒/10 ms 间隔,保留限频、关闭诊断取消及临时文件清理。后续以 105 正式路径再次验证实际调用栈。 + +## 105 实际运行结果 + +75 项离线诊断检查、27 项后端合同检查与正式安装的 961 项原生回归通过。受控 12 秒主 APP 卡顿在 17:17:01(本地)生成 captured 调用栈,17:17:02 云端送达,明确包含 AppDelegate runDiagnosticsProbe → NSThread sleepForTimeInterval → nanosleep,标记 verification。关闭诊断超过一分钟且宿主启动/播放时没有新增上报,待发送队列清零;重新开启后两进程恢复上报。关窗后同一普通 APP 进程跨两轮分钟统计持续送达。 + +FCP 12.4 显示 1.18.0,当前 11.4 秒片段可播放到末尾,无新增宿主崩溃记录。但 3840×2160 输入在该轮 28 次渲染的平均调用耗时 601.4 ms、最大 1716.8 ms;41 次 plugin_state 平均 4.31 ms、最大 8.68 ms。证据将该样本主要耗时指向渲染而非状态构建;尚不能从聚合值确定渲染内部算法,也不能直接当作播放 FPS。保留这一待优化项,不宣称卡顿已解决。 + +用户刚才疑似闪退已与本轮正常退出操作及系统退出码 0 对齐,并经用户确认。10:30 的历史 FCP ProOSC 中止另行记录;没有证据将其归因于本轮诊断。详见 verification/LocalHostExit1.18.0.json。 diff --git a/verification/Delivery.json b/verification/Delivery.json index cca583a..8b3b062 100644 --- a/verification/Delivery.json +++ b/verification/Delivery.json @@ -2,13 +2,13 @@ "status": "verified", "path": "/Library/Plug-Ins/FxPlug/大鱼调色.app", "bundleID": "com.dayu.color", - "version": "1.17.1", - "build": "103", + "version": "1.18.0", + "build": "105", "team": "B3W25FX5H5", - "notaryID": "36ecb7e6-5cfc-4b85-8363-11272d880b18", + "notaryID": "5a98cab1-23af-4034-abc9-0c9e7b1dc77d", "notaryStatus": "Accepted", "gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID", - "sourceCommit": "3b4c612edf99c0ef2b972b7305cd7ba44244a7c6", + "sourceCommit": "d0187695581fa3a8fe5c3cfa8a1bc6337425f5f6", "templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef", "templateSHA256": "eaf60224f8d970f8841a03fe0325adc4af73d1c017375b020bcc0e256f0cd803", "installedTemplateSHA256": { @@ -65,5 +65,5 @@ "CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc" }, "shaderSHA256": "443ef7e178a5bbd6418a4d2eaac5d42f023f1a6a0a5c4ddd54c7c831af50eb6a", - "hostVerification": "verification/HostInspectorMosaic1.17.1.json" + "hostVerification": "verification/Diagnostics1.18.0.json" } diff --git a/verification/Diagnostics1.18.0.json b/verification/Diagnostics1.18.0.json index 0e26dba..6f72317 100644 --- a/verification/Diagnostics1.18.0.json +++ b/verification/Diagnostics1.18.0.json @@ -13,11 +13,76 @@ "resource category without filename", "new server allowlist" ], - "formalRuntimeValidation": "pending", + "formalRuntimeValidation": { + "hangProbe": { + "pass": true, + "occurredUTC": "2026-11-06 09:17:01", + "deliveredUTC": "2026-11-06 09:17:02", + "phase": "verification", + "sample_status": "captured", + "verifiedFrames": [ + "-[AppDelegate runDiagnosticsProbe] AppDelegate.m:163", + "+[NSThread sleepForTimeInterval:]", + "nanosleep", + "__semwait_signal" + ], + "duration": "Intentional 12-second wrapper-only main-thread stall; host untouched", + "rawSampleFile": "Removed after extraction; only stack summary sent" + }, + "ordinaryBackgroundRun": { + "pass": true, + "closedWindowLocal": "around 17:19:43", + "continuedDeliveryUTC": [ + "09:20:42", + "09:21:45" + ], + "sameProcess": true, + "probeArgumentAbsent": true, + "mainIdleResourceSample": { + "memoryMB": 96.8125, + "cpuPercent": 0.0006506293332152795, + "threads": 5 + }, + "scope": "Short local observation, not long-duration soak test" + }, + "diagnosticToggle": { + "pass": true, + "disabledWindowLocal": "17:17:47–17:19 (over 60 seconds)", + "latestCloudEventBeforeReenableUTC": "09:17:36", + "localJournalEventsWhileDisabled": 0, + "UI": "queue cleared, send button disabled; original enabled setting restored", + "pluginAtStartup": "no events emitted while disabled" + }, + "host105": { + "pass": true, + "host": "Final Cut Pro 12.4", + "pluginDisplayVersion": "1.18.0", + "installedExecutable": "/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit/Contents/MacOS/大鱼调色 XPC Service", + "playback": "Existing 11.4-second clip played to end; no new host crash observed", + "renderInput": [ + 3840, + 2160 + ], + "renderSummary": { + "count": 28, + "averageMS": 601.407418150172, + "maxMS": 1716.7992916656658 + }, + "pluginStateSummary": { + "count": 41, + "averageMS": 4.306948178720365, + "maxMS": 8.675583347212523 + }, + "finding": "Slow source rendering observed; not a frame-rate benchmark or a completed performance fix. No footage or filenames stored." + } + }, "candidate104": { "hostPlayback": "passed", "performanceSummary": "render/plugin_state/inspector_refresh reached cloud", "hangProbe": "timeout_or_disabled; not accepted for release", "correction": "sample before symbolication, 30-second background deadline" - } + }, + "installedNativeChecks": 961, + "actualCompiledSource": "d0187695581fa3a8fe5c3cfa8a1bc6337425f5f6", + "pass": true } diff --git a/verification/InstalledSelfTest.json b/verification/InstalledSelfTest.json index 3c04bea..f3af41d 100644 --- a/verification/InstalledSelfTest.json +++ b/verification/InstalledSelfTest.json @@ -12,7 +12,7 @@ "error": "未提供错误信息", "name": "runtime-directory", "pass": true, - "path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/C56E653E-BD84-4D1E-8346-229140D4F472" + "path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/D31C6795-AF34-44D5-8CC5-D08EF6E641C4" }, { "descriptors": 285, @@ -898,7 +898,7 @@ "error": "未提供错误信息", "name": "renderer-export-33cube", "pass": true, - "path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/C56E653E-BD84-4D1E-8346-229140D4F472/diagnostic-export.cube" + "path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/D31C6795-AF34-44D5-8CC5-D08EF6E641C4/diagnostic-export.cube" }, { "bytes": 1186074, @@ -918,7 +918,7 @@ }, { "heartbeats": 1, - "maximumGapMS": 86.95504162460566, + "maximumGapMS": 118.30725002801046, "name": "external-activation-main-loop-responsive", "pass": true }, @@ -1389,7 +1389,7 @@ "closePixels": 128, "name": "workspace-offscreen-compact-icons-and-close-render-pixels", "pass": true, - "path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/C56E653E-BD84-4D1E-8346-229140D4F472/workspace-topbar.png", + "path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/D31C6795-AF34-44D5-8CC5-D08EF6E641C4/workspace-topbar.png", "toolbarPixels": 3867 }, { @@ -1460,7 +1460,7 @@ }, { "name": "workspace-independent-style-fixture-inserted", - "node": "46D9AE5A-65F4-42B7-9DEA-627A58B5B8B7", + "node": "CB75309D-6F1B-4BFC-873F-5C2D7525FF7A", "pass": true, "validDocument": true }, @@ -1469,10 +1469,10 @@ "error": "none", "name": "workspace-independent-style1-writes-target-node-inside-undo", "nodePaths": { - "look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/C56E653E-BD84-4D1E-8346-229140D4F472/node.cube" + "look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/D31C6795-AF34-44D5-8CC5-D08EF6E641C4/node.cube" }, "pass": true, - "rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/C56E653E-BD84-4D1E-8346-229140D4F472/user-new.cube", + "rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/D31C6795-AF34-44D5-8CC5-D08EF6E641C4/user-new.cube", "undoStartsAfter": 3, "undoStartsBefore": 2, "written": true @@ -4414,7 +4414,7 @@ { "name": "viewer-real-osc-draws-minimal-curve-on-clear-canvas", "pass": true, - "path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/C56E653E-BD84-4D1E-8346-229140D4F472/viewer-workspace.png" + "path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/D31C6795-AF34-44D5-8CC5-D08EF6E641C4/viewer-workspace.png" }, { "name": "canvas-hsl-plot-captures-outside-and-commits-one-undo", @@ -4813,6 +4813,6 @@ "pass": true } ], - "runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/C56E653E-BD84-4D1E-8346-229140D4F472", + "runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/D31C6795-AF34-44D5-8CC5-D08EF6E641C4", "scope": "Native model and renderer integration with real Metal/IOSurface textures and fake FxPlug host selectors; no GUI or live host document." } diff --git a/verification/LocalHostExit1.18.0.json b/verification/LocalHostExit1.18.0.json new file mode 100644 index 0000000..e155c90 --- /dev/null +++ b/verification/LocalHostExit1.18.0.json @@ -0,0 +1,51 @@ +{ + "date": "2026-11-06", + "timezone": "Asia/Shanghai", + "recentUserReport": "User saw host disappear and then agreed it likely corresponded to our normal quit.", + "systemEvidence": [ + { + "time": "16:48:30", + "pid": 77285, + "termination": [ + 0, + 0, + 0 + ] + }, + { + "time": "17:03:55", + "pid": 83505, + "termination": [ + 0, + 0, + 0 + ] + }, + { + "time": "17:06:52", + "pid": 83858, + "termination": [ + 0, + 0, + 0 + ] + } + ], + "newCrashReport": false, + "conclusion": "Recent observed exits match the normal Cmd-Q verification actions; do not count as crashes.", + "olderCrash": { + "captureTime": "2026-11-06 10:30:52 +0800", + "host": "Final Cut Pro 12.4 (454072)", + "exception": "EXC_CRASH / SIGABRT", + "faultingThread": 20, + "frames": [ + "pcAbortImpl", + "-[POOnScreenControl renderWithDrawProperties:]", + "-[FFProOSC drawRect:toContext:drawProperties:]", + "-[FFPlayerVideoModule drawOSCsAtTime:inRect:drawDestination:drawProperties:isDisplaying:]" + ], + "mainThread": "-[FFInspectorModuleChannels _setupChannelInspector:] / _filtersChangedFinal removes NSScrollView", + "scope": "Host screen-control rendering aborted while inspector was rebuilding. No Dayu frames in the host report; insufficient to attribute to a specific plugin. Predates this diagnostic change." + }, + "rawReport": "Kept only in system DiagnosticReports/Retired; not uploaded or committed." +} diff --git a/verification/Recovery1.18.0.json b/verification/Recovery1.18.0.json new file mode 100644 index 0000000..20a6afd --- /dev/null +++ b/verification/Recovery1.18.0.json @@ -0,0 +1,11 @@ +{ + "sourceCommit": "d0187695581fa3a8fe5c3cfa8a1bc6337425f5f6", + "remote": "https://dayu.media/git/dayu/dayu-color.git", + "compiledSourceFilesVerified": 724, + "fsck": "passed", + "lfs": "no LFS pointers", + "submodules": "none", + "scope": "Independent remote clone, exact committed file bytes; third-party cold build not repeated", + "releaseTag": "pending", + "sourceByteComparison": "passed" +} diff --git a/verification/Symbols1.18.0.json b/verification/Symbols1.18.0.json new file mode 100644 index 0000000..68460fd --- /dev/null +++ b/verification/Symbols1.18.0.json @@ -0,0 +1,22 @@ +{ + "version": "1.18.0", + "build": 105, + "sourceCommit": "d0187695581fa3a8fe5c3cfa8a1bc6337425f5f6", + "images": [ + { + "symbol": "大鱼调色.app.dSYM", + "uuid": "F952A83C-8229-3789-9945-3936C3C617B9", + "binary": "大鱼调色.app/Contents/MacOS/大鱼调色" + }, + { + "symbol": "大鱼调色 XPC Service.pluginkit.dSYM", + "uuid": "B5B02C34-12E6-3056-9337-6CFB0929804B", + "binary": "大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit/Contents/MacOS/大鱼调色 XPC Service" + } + ], + "purpose": "Exact dSYM files for UUID/offset crash symbolication; no executable app or user reports.", + "path": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.18.0-symbols.zip", + "bytes": 3562272, + "sha256": "a5bf3a6cc836c5da0471d9a70d2eb9e81a5166c63bbfae993a910ba859936c9c", + "remoteStatus": "pending" +}