ElyMark: the print page is staged off the window thread (M-14)

paper::stage takes the background executor and inlines images, reads
the style sheet and writes the page there. A gpui test checks nothing
is written before the executor runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-10 14:14:56 -04:00
1 parent ca5ac5bb45
commit 6247771f24
5 files changed
+62 -15

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
FAIL
apps/ely-mark/src/export.rs:287 — 缺少 M-14 的后台暂存回归测试。具体失败场景:把此处 `background_spawn(...).await` 改回前台直接执行,图片内嵌、样式读取及暂存页写入重新阻塞界面,现有测试仍全绿。本轮在隔离副本中编译并运行该变异:Windows 的 22 项适用测试、WSL 的全部 24 项测试均通过;现有 `mark-output.sh` 只检查输出及打印作业,没有线程或界面响应断言。额外的 GPUI 暂存片段探针在当前代码上通过六种成功、失败场景,在该变异上明确报出 `staging ran on foreground`,证明现有测试漏掉了本项针对的行为(UX-05、PERF-02)。修复方向:补充执行实际暂存调度路径的 GPUI 回归测试,验证耗时准备在后台执行、结果交回前台处理,撤掉后台调度时必须失败。证据:`.work/M-14-r1/{windows,linux}-foreground-mutant-tests.log`、`{windows,linux}-staging-{current,foreground-mutant}-tests.log`。探针副本及其独立构建目录已删除;未运行 macOS 窗口测试。
+1
View File
@@ -0,0 +1 @@
PASS