Files
curios/curios/test-crash/curio.json
T

70 lines
1.3 KiB
JSON

{
"schemaVersion": 1,
"id": "dev.trove.qa.crash",
"name": "故障 · 崩溃与恢复",
"description": "手动令自己的后端以 42 退出,检查隔离、重试与熔断。",
"version": "1.0.0",
"engine": {
"trove": ">=0.1.0 <1.0.0"
},
"ui": {
"entry": "dist/ui/index.html",
"window": {
"title": "故障 · 崩溃与恢复",
"width": 960,
"height": 760,
"minWidth": 600,
"minHeight": 400,
"resizable": true
}
},
"backend": {
"entry": "backend/probe",
"args": [
"--allow-crash"
],
"env": {
"QA_LABEL": "test-crash"
},
"lifecycle": "on-demand",
"transport": "unix",
"startWithUi": true,
"startupTimeoutMs": 5000,
"shutdownGraceMs": 500,
"idleTimeoutMs": 0
},
"services": {
"requires": [
{
"id": "host.runtime",
"version": "^1.0.0"
},
{
"id": "host.services",
"version": "^1.0.0"
},
{
"id": "host.storage",
"version": "^1.0.0"
},
{
"id": "host.fs",
"version": "^1.0.0"
}
]
},
"build": {
"command": [
"node",
"../../tools/build.mjs",
"test-crash"
]
},
"package": {
"files": [
"dist/ui",
"backend"
]
}
}