8c93bde5f6
- core: registerLayout/Widget/Action(泛型)/Schema + 校验闸门 - definePage: 页面只管业务,结构来自注册表 - presets: admin / app-shell 预设布局(vr add 物化) - cli: vr list/add/update 防覆盖 - examples/qa-orchestrator: 实战编排验证(workspace:* 依赖)
14 lines
373 B
TypeScript
14 lines
373 B
TypeScript
/**
|
|
* stop-run —— 停止运行中的套件 action
|
|
*/
|
|
import { registerAction } from 'vibe-registry'
|
|
|
|
export const stopRunAction = registerAction({
|
|
kind: 'action',
|
|
id: 'stop-run',
|
|
description: '停止正在运行的测试套件',
|
|
handler: async (payload: { runId: string }, _ctx) => {
|
|
return { stopped: true, runId: payload.runId, at: Date.now() }
|
|
},
|
|
})
|