Repository navigation
feat(workbench): connect application services to preview - #282
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
应用预览现在能把用户确认发送的启动要求,关联到现有 Command Runtime 的原 Thread / Run / Job、stdout/stderr 和候选本机地址。用户可选择地址进入既有托管浏览器,并分别收起面板、关闭浏览器或停止选中的命令;失败、退出和无法确认的历史运行记录保持真实状态。
新增任务范围内的读取与精确清理接口、Go 生成的 OpenAPI / TypeScript 合同,以及 ADR 0166 和使用说明。启动继续走普通任务执行与既有批准、权限、工作区和运行时门禁;没有新增命令启动端点、进程管理器或数据库迁移。
Fixes #274
Validation
326e84e8的完整 CI 全部 22 项通过,包含 Go、8 个 Store 分片、权限 race、前端、三平台 LSP、真实 Edge UI、Rust、依赖审计与 Windows/macOS 桌面验证。npm test: 171 个文件、1557 项测试通过;npm run typecheck、npm run build、npm run check:api通过。desktop,wv2runtime.error下的 Desktop / Web 嵌入检查、受影响 28 个 Go 包的go vet、文档合同、协议与 Surface registry 检查通过。go test ./.../go vet ./...或 CLI smoke;本次运行受影响检查,仓库既有 CI 按分类器执行。本地 application 完整包累计达到 15 分钟时限,未记为通过;当时测试只运行了 9 秒,单独复验 10.67 秒通过。新增服务功能的定向普通与 race 检查均通过;最终提交的仓库完整 CI 已全部通过。
原生服务集成运行于 Windows 临时工作区,使用真实 Command Runtime 子进程。浏览器预览合同另由既有 HTTP 和组件测试验证;以上不宣称完成真实模型或实际浏览器端到端验收。
Surface governance
Audit
新增读取只返回有界脱敏投影;列表不读取全部输出,单 Job 输出最多 64KiB,最多 8 个未经验证的 loopback 候选。停止要求控制凭证、原 Thread / Run / Job 和精确进程 owner,不使用持久化 PID 重新取得权限,也不取消整个任务。浏览器继续使用其原 Run 的既有 Full 激活及浏览器权限。