Skip to content

Protect research recovery and wire remote job metrics - #340

Merged
hkwuks merged 3 commits into
1692775560:devfrom
hkwuks:fix/research-recovery-and-windows
Dec 2, 2026
Merged

hkwuks merged 3 commits into
1692775560:devfrom
hkwuks:fix/research-recovery-and-windows

Conversation

@hkwuks

@hkwuks hkwuks commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

改动内容

检查清单

  • 范围聚焦:改动限于上述五条 Issue。
  • 纯逻辑分离:沿用现有服务边界和 Remote 接口。
  • 测试:新增失败写入、恢复凭据、脱敏和作业入口回归。文件权限相关断言按平台能力运行。
  • 安全红线自查:在原有路径边界和工作目录校验后执行文件及 SSH 操作。
  • 涉及 UI:本地浏览器回归通过,已目检远程任务表单截图。
  • 门禁全绿:本地构建、类型检查、测试和风格检查通过。
  • 文档随代码走:同步 Remote 契约。
  • 合并方式知悉:以 merge commit 合并。
  • 涉及 @Remote 新增:本 PR 无新增方法。

测试证据

  • Windows / Node 24.15.0 / pnpm 11.18.0。
  • pnpm test --maxWorkers 3:1,743 项通过、21 项跳过、零失败。
  • 构建、类型检查、风格检查和 git diff --check 通过。ESLint 零错误,保留 4 条既有告警。
  • GitHub 托管 Linux、Windows 和 Playwright 检查均通过(提交 3968bfa)。
  • 本地 Playwright 验证工作目录、项目提示和无效目录拒绝。
  • SSH 和 LaTeX 使用本地进程替身。论文快照的失败补偿依赖恢复进程仍在运行。

截图

在 Playwright 截图报告 打开远程工作目录用例的 jobs-workdir 附件。

Roll back partial paper restores, retain SSH credentials for local Wiki recovery, and redact command fields from shared snapshots. Run jobs in their declared directory and cover the affected paths in Windows CI.
@hkwuks
hkwuks marked this pull request as ready for review December 2, 2026 12:23
@hkwuks
hkwuks merged commit 03e75cb into 1692775560:dev Dec 2, 2026
3 checks passed
This was referenced Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant